summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Venkatraman2017-01-25 12:52:17 -0600
committerMark Salyzyn2017-01-25 14:50:29 -0600
commit651f8383e66a32741d78f485c714ced345db7b3d (patch)
tree2eda81a4f89865afc14f265126884905c91f2d44 /libcutils/Android.bp
parent4d61417997a46592449d84ec2900c338ae5680d6 (diff)
downloadplatform-system-core-651f8383e66a32741d78f485c714ced345db7b3d.tar.gz
platform-system-core-651f8383e66a32741d78f485c714ced345db7b3d.tar.xz
platform-system-core-651f8383e66a32741d78f485c714ced345db7b3d.zip
Revert "Revert "Exporting C headers from system/core""
This reverts commit a3f2be2b73cebb057218db2a19e8fad04ecb88f6. Test: compile Change-Id: I04b3a8e47e1fa3eb9d80c14ae3a90c68a780e858
Diffstat (limited to 'libcutils/Android.bp')
-rw-r--r--libcutils/Android.bp21
1 files changed, 21 insertions, 0 deletions
diff --git a/libcutils/Android.bp b/libcutils/Android.bp
index b96e3ae24..f6c0f0e01 100644
--- a/libcutils/Android.bp
+++ b/libcutils/Android.bp
@@ -30,6 +30,23 @@ libcutils_nonwindows_sources = [
30 "str_parms.c", 30 "str_parms.c",
31] 31]
32 32
33cc_library_headers {
34 name: "libcutils_vndk_headers",
35 host_supported: true,
36 export_include_dirs: ["include_vndk"],
37}
38
39cc_library_headers {
40 name: "libcutils_headers",
41 host_supported: true,
42 export_include_dirs: ["include"],
43 target: {
44 windows: {
45 enabled: true,
46 },
47 },
48}
49
33cc_library { 50cc_library {
34 name: "libcutils", 51 name: "libcutils",
35 host_supported: true, 52 host_supported: true,
@@ -51,6 +68,7 @@ cc_library {
51 "threads.c", 68 "threads.c",
52 ], 69 ],
53 70
71
54 target: { 72 target: {
55 host: { 73 host: {
56 srcs: ["dlmalloc_stubs.c"], 74 srcs: ["dlmalloc_stubs.c"],
@@ -117,6 +135,9 @@ cc_library {
117 }, 135 },
118 136
119 shared_libs: ["liblog"], 137 shared_libs: ["liblog"],
138 header_libs: ["libcutils_headers"],
139 export_header_lib_headers: ["libcutils_headers"],
140
120 product_variables: { 141 product_variables: {
121 cpusets: { 142 cpusets: {
122 cflags: ["-DUSE_CPUSETS"], 143 cflags: ["-DUSE_CPUSETS"],