summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Risan <risan@google.com> 2018-11-02 04:51:14 +0900
committer Risan <risan@google.com> 2018-11-03 01:28:26 +0000
commitd57852cbb5eff2678820ee85ba76642569c6a79c (patch)
tree8d08d56c5b2f6975f2f1fa910d3ef807b3f3cb18
parent900902132eca5fa885834f801e9e6dd9625a35dd (diff)
ARC++ swap for QuotaUtils
Bug: 110380029 Test: compile with ARC++ prototype Change-Id: I67efa68c356f30955e499421c691acac8de20159 Merged-In: I67efa68c356f30955e499421c691acac8de20159
-rw-r--r--cmds/installd/Android.bp50
1 files changed, 50 insertions, 0 deletions
diff --git a/cmds/installd/Android.bp b/cmds/installd/Android.bp
index 3c42ede116..2e9701f8b0 100644
--- a/cmds/installd/Android.bp
+++ b/cmds/installd/Android.bp
@@ -34,6 +34,21 @@ cc_defaults {
"libutils",
],
+ product_variables: {
+ arc: {
+ exclude_srcs: [
+ "QuotaUtils.cpp",
+ ],
+ static_libs: [
+ "libarcdiskquota",
+ "arc_services_aidl",
+ ],
+ cflags: [
+ "-DUSE_ARC",
+ ],
+ },
+ },
+
clang: true,
tidy: true,
@@ -60,6 +75,26 @@ cc_library_static {
aidl: {
export_aidl_headers: true,
},
+
+ product_variables: {
+ arc: {
+ exclude_srcs: [
+ "QuotaUtils.cpp",
+ ],
+ static_libs: [
+ "libarcdiskquota",
+ "arc_services_aidl",
+ ],
+ cflags: [
+ "-DUSE_ARC",
+ ],
+ },
+ },
+}
+
+cc_library_headers {
+ name: "libinstalld_headers",
+ export_include_dirs: ["."],
}
//
@@ -74,6 +109,21 @@ cc_binary {
static_libs: ["libdiskusage"],
init_rc: ["installd.rc"],
+
+ product_variables: {
+ arc: {
+ exclude_srcs: [
+ "QuotaUtils.cpp",
+ ],
+ static_libs: [
+ "libarcdiskquota",
+ "arc_services_aidl",
+ ],
+ cflags: [
+ "-DUSE_ARC",
+ ],
+ },
+ },
}
// OTA chroot tool