aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-08-05 11:58:18 -0700
committerElliott Hughes <enh@google.com>2019-08-05 11:58:18 -0700
commit7f8ace6c2276094bb7bd2e50fb66dec8bc1b8ad2 (patch)
tree6a630a4f934305b1480be6510dd12a02c4b63b86
parentd4628f1401069daf81c3a1e7d7622a43572f60dd (diff)
downloadcpu_features-7f8ace6c2276094bb7bd2e50fb66dec8bc1b8ad2.tar.gz
Export the include/ directory so callers can see the headers.
Noticed while writing a test program. Also don't add the internal directory to the include path --- references to that already say `#include "internal/..."`. Test: builds Change-Id: Idee6642897cf56a64d34bf1ff64668136451934e
-rw-r--r--Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 79a3a29..ea14659 100644
--- a/Android.bp
+++ b/Android.bp
@@ -6,7 +6,6 @@ cc_defaults {
host_supported: true,
local_include_dirs: [
"include",
- "include/internal",
],
cflags: [
// Reserve 1024 bytes on the stack when reading from `/proc/cpuinfo`.
@@ -52,6 +51,7 @@ cc_library {
defaults: [
"cpu_features-defaults",
],
+ export_include_dirs: ["include"],
whole_static_libs: [
"libcpu_features-utils",
],