summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorLuca Stefani <luca.stefani.ge1@gmail.com>2020-03-13 11:32:29 +0100
committerLuK1337 <priv.luk@gmail.com>2020-09-29 11:31:37 +0200
commitff924af79c461768b2425db7b65981d29b27dfaf (patch)
treeafdbe5f831d8a8cd985f2015cfc0c3abf3f6efcf /Android.bp
parent6c21a928581d59134f81b2ee2135c4078fe86434 (diff)
update_engine: Run backuptool only in debuggable buildsr11.0
Change-Id: If4da655396546ac3c13b9eb556055caa58bafcf0
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index a15335be..89bbd0f3 100644
--- a/Android.bp
+++ b/Android.bp
@@ -135,6 +135,13 @@ cc_defaults {
"libprocessgroup",
"libselinux",
],
+ product_variables: {
+ debuggable: {
+ cflags: [
+ "-DRUN_BACKUPTOOL",
+ ],
+ },
+ },
}
cc_library_static {