xref: /aosp_15_r20/external/pigweed/pw_chre/BUILD.bazel (revision 61c4878ac05f98d0ceed94b57d316916de578985)
1# Copyright 2023 The Pigweed Authors
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may not
4# use this file except in compliance with the License. You may obtain a copy of
5# the License at
6#
7#     https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations under
13# the License.
14
15package(default_visibility = ["//visibility:public"])
16
17licenses(["notice"])
18
19# TODO: b/298660977 - Add bazel support for CHRE.
20filegroup(
21    name = "chre",
22    srcs = [
23        "chre.cc",
24        "chre_api_re.cc",
25        "chre_empty_host_link.cc",
26        "context.cc",
27        "docs.rst",
28        "example_init.cc",
29        "host_link.cc",
30        "include",
31        "include/chre/target_platform/atomic_base.h",
32        "include/chre/target_platform/atomic_base_impl.h",
33        "include/chre/target_platform/condition_variable_base.h",
34        "include/chre/target_platform/condition_variable_impl.h",
35        "include/chre/target_platform/fatal_error.h",
36        "include/chre/target_platform/host_link_base.h",
37        "include/chre/target_platform/log.h",
38        "include/chre/target_platform/memory_impl.h",
39        "include/chre/target_platform/mutex_base.h",
40        "include/chre/target_platform/mutex_base_impl.h",
41        "include/chre/target_platform/platform_nanoapp_base.h",
42        "include/chre/target_platform/platform_sensor_base.h",
43        "include/chre/target_platform/platform_sensor_manager_base.h",
44        "include/chre/target_platform/platform_sensor_type_helpers_base.h",
45        "include/chre/target_platform/power_control_manager_base.h",
46        "include/chre/target_platform/static_nanoapp_init.h",
47        "include/chre/target_platform/system_timer_base.h",
48        "memory.cc",
49        "memory_manager.cc",
50        "platform_debug_dump_manager.cc",
51        "platform_nanoapp.cc",
52        "platform_pal.cc",
53        "power_control_manager.cc",
54        "public",
55        "public/pw_chre/chre.h",
56        "public/pw_chre/host_link.h",
57        "static_nanoapps.cc",
58        "system_time.cc",
59        "system_timer.cc",
60    ],
61)
62
63filegroup(
64    name = "doxygen",
65    srcs = [
66        "public/pw_chre/chre.h",
67        "public/pw_chre/host_link.h",
68    ],
69)
70