Files
hardware_interfaces/threadnetwork/aidl/default/Android.bp
Zhanglong Xia 24e527475f Add Thread network HAL
Bug: b/203492431
Test: Build and run the VTS test and run otbr-agent on Android emulator.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b82b0478059dd6203f43d5917558e34fd4ed44d5)
Merged-In: If58b5a8c75e40376ae6c6e93554afe750496308b
Change-Id: If58b5a8c75e40376ae6c6e93554afe750496308b
2023-06-14 22:24:24 +08:00

57 lines
1.3 KiB
Plaintext

//
// Copyright (c) 2022 Google LLC.
// All rights reserved.
//
// This document is the property of Google LLC, Inc. It is
// considered proprietary and confidential information.
//
// This document may not be reproduced or transmitted in any form,
// in whole or in part, without the express written permission of
// Google LLC.
cc_defaults {
name: "threadnetwork_service_default",
vintf_fragments: ["threadnetwork-default.xml"],
vendor: true,
relative_install_path: "hw",
shared_libs: [
"android.hardware.threadnetwork-V1-ndk",
"libbase",
"libbinder_ndk",
"libcutils",
"liblog",
"libutils",
],
cppflags: [
"-Wno-non-virtual-dtor",
],
static_libs: [
"openthread-common",
"openthread-hdlc",
"openthread-platform",
"openthread-posix",
"openthread-url",
],
srcs: [
"main.cpp",
"service.cpp",
"thread_chip.cpp",
"utils.cpp",
],
}
cc_binary {
name: "android.hardware.threadnetwork-service.sim",
defaults: ["threadnetwork_service_default"],
init_rc: ["android.hardware.threadnetwork-service.sim.rc"],
}
cc_binary {
name: "android.hardware.threadnetwork-service",
defaults: ["threadnetwork_service_default"],
}