summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Johansson <bjoernj@google.com>2018-09-06 15:12:42 -0700
committerBjoern Johansson <bjoernj@google.com>2018-09-06 15:12:42 -0700
commit355b598179da0bb0908bee3568f8ad66c984c385 (patch)
treee91a6eb116ee75da16f0486fffae3058e9fdeb15
parent6ef3b9b3299bef6f3cc57c5d0933f846ee98f277 (diff)
downloadandroid_device_generic_goldfish-355b598179da0bb0908bee3568f8ad66c984c385.tar.gz
android_device_generic_goldfish-355b598179da0bb0908bee3568f8ad66c984c385.tar.bz2
android_device_generic_goldfish-355b598179da0bb0908bee3568f8ad66c984c385.zip
Create header library for goldfish includes
In order to be able to use the goldfish includes such as the qemu pipe includes in a project that uses soong the includes must be in a header library. Soong only allows include paths that are contained in subdirectories of the project directory. Since these headers are outside of all other projects it needs to be inclued as a dependency instead. BUG: 114288761 Test: Compile test project with Android.bp file Change-Id: I3ccb2befc986b7bf1f2f6dff3a5812c861618a77
-rw-r--r--include/Android.bp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/Android.bp b/include/Android.bp
new file mode 100644
index 0000000..2f09676
--- /dev/null
+++ b/include/Android.bp
@@ -0,0 +1,5 @@
+cc_library_headers {
+ name: "goldfish_headers",
+ vendor_available: true,
+ export_include_dirs: ["."],
+}