Inherit art_defaults in some recently added native libraries.
It's useful to have a place to add flags that should cover all ART
code, so keep it that way as far as possible.
Test: m
Bug: 178236337
Bug: 177273468
Change-Id: I66796e89f054705c4af5fab867a3b8b715a83937
diff --git a/libartservice/Android.bp b/libartservice/Android.bp
index 1ccd99a..66fb146 100644
--- a/libartservice/Android.bp
+++ b/libartservice/Android.bp
@@ -26,6 +26,7 @@
// Language library.
name: "libartservice",
+ defaults: ["art_defaults"],
host_supported: true,
srcs: [
"service/native/service.cc",
@@ -35,12 +36,10 @@
"com.android.art",
"com.android.art.debug",
],
- min_sdk_version: "S",
shared_libs: [
"libbase",
],
export_shared_lib_headers: ["libbase"],
- cflags: ["-Werror"],
}
java_library {