summaryrefslogtreecommitdiffstats
path: root/udrv
diff options
context:
space:
mode:
authorJack He <siyuanh@google.com>2016-12-07 18:25:17 -0800
committerJack He <siyuanh@google.com>2017-01-18 21:45:34 +0000
commite2eeff4f7f149c59ea8cb67392f287317f40f9bd (patch)
tree27b74f463c1b6e2647e98fef18242a0f62720df3 /udrv
parent7b70d1e42072e5d4cf2020b24dc3f8cf791e9a56 (diff)
downloadandroid_system_bt-e2eeff4f7f149c59ea8cb67392f287317f40f9bd.tar.gz
android_system_bt-e2eeff4f7f149c59ea8cb67392f287317f40f9bd.tar.bz2
android_system_bt-e2eeff4f7f149c59ea8cb67392f287317f40f9bd.zip
Convert build system to soong using Android.bp
* Convert top level Android.mk into build templates in build/Android.bp and build/fluoride.go * Initial conversion is done by "androidmk Android.mk > Android.bp" * Android.bp does not allow source inclusion from external directories and therefore they have to be made in to cc_library_static in their respective sub-directories and linked using whole_static_libs in the modules where they are used * As Android.bp does not allow multiple modules of the same name, same-name mudules for different target are merged into one definition with target specific setup * Generated proto header path has to be changed in osi/src/metrics.cc as Android.bp only generate header path relative to the Android.bp file instead of top-level directory such as system/bt * Android.bp does not support resource copying yet and hence conf files are left un-touched. * Android.bp does support conditional module declaration and therefore test-vendor libs are left untouched except for unit tests * The goal of this CL is to direct (almost) translate Android.mk to Android.bp first with Android.bp specific optimizations coming later Bug: 32958753 Test: Code compilation, manual testing by test team Change-Id: I5249e1f2135c4121205619b1d735ce448feb7499
Diffstat (limited to 'udrv')
-rw-r--r--udrv/Android.bp20
1 files changed, 20 insertions, 0 deletions
diff --git a/udrv/Android.bp b/udrv/Android.bp
new file mode 100644
index 000000000..b1530f757
--- /dev/null
+++ b/udrv/Android.bp
@@ -0,0 +1,20 @@
+cc_library_static {
+ name: "libudrv-uipc",
+ defaults: ["fluoride_defaults"],
+ srcs: [
+ "ulinux/uipc.cc",
+ ],
+ include_dirs: [
+ "system/bt",
+ "system/bt/include",
+ "system/bt/audio_a2dp_hw",
+ "system/bt/utils/include",
+ "system/bt/stack/include",
+ ],
+ local_include_dirs: [
+ "include",
+ ],
+ shared_libs: [
+ "liblog",
+ ],
+}