summaryrefslogtreecommitdiff
path: root/libs/androidfw/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/androidfw/Android.bp')
-rw-r--r--libs/androidfw/Android.bp11
1 files changed, 10 insertions, 1 deletions
diff --git a/libs/androidfw/Android.bp b/libs/androidfw/Android.bp
index 15ef58ecf3bd..1bc15d72bacc 100644
--- a/libs/androidfw/Android.bp
+++ b/libs/androidfw/Android.bp
@@ -44,6 +44,9 @@ cc_defaults {
"-Werror",
"-Wunreachable-code",
],
+ header_libs: [
+ "native_headers",
+ ],
target: {
windows: {
// The Windows compiler warns incorrectly for value initialization with {}.
@@ -212,6 +215,7 @@ cc_test {
"tests/AttributeResolution_test.cpp",
"tests/BigBuffer_test.cpp",
"tests/ByteBucketArray_test.cpp",
+ "tests/CombinedIterator_test.cpp",
"tests/Config_test.cpp",
"tests/ConfigDescription_test.cpp",
"tests/ConfigLocale_test.cpp",
@@ -269,6 +273,7 @@ cc_test {
cc_benchmark {
name: "libandroidfw_benchmarks",
defaults: ["libandroidfw_defaults"],
+ test_config: "tests/AndroidTest_Benchmarks.xml",
srcs: [
// Helpers/infra for benchmarking.
"tests/BenchMain.cpp",
@@ -284,7 +289,11 @@ cc_benchmark {
"tests/Theme_bench.cpp",
],
shared_libs: common_test_libs,
- data: ["tests/data/**/*.apk"],
+ data: [
+ "tests/data/**/*.apk",
+ ":FrameworkResourcesSparseTestApp",
+ ":FrameworkResourcesNotSparseTestApp",
+ ],
}
cc_library {