summaryrefslogtreecommitdiff
path: root/debuggerd/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'debuggerd/Android.bp')
-rw-r--r--debuggerd/Android.bp6
1 files changed, 6 insertions, 0 deletions
diff --git a/debuggerd/Android.bp b/debuggerd/Android.bp
index b6e08fd94..5b9936748 100644
--- a/debuggerd/Android.bp
+++ b/debuggerd/Android.bp
@@ -13,9 +13,15 @@ cc_defaults {
"-Wno-nullability-completeness",
"-Os",
"-fno-finite-loops",
+ "-DANDROID_DEBUGGABLE=0",
],
local_include_dirs: ["include"],
+ product_variables: {
+ debuggable: {
+ cflags: ["-UANDROID_DEBUGGABLE", "-DANDROID_DEBUGGABLE=1"],
+ }
+ },
}
cc_library_headers {