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