commit | c62249565809d2cd5cc5a273a67d500823ee716e | [log] [tgz] |
---|---|---|
author | David Gross <[email protected]> | Fri Sep 22 12:29:04 2017 -0700 |
committer | David Gross <[email protected]> | Mon Sep 25 09:46:26 2017 -0700 |
tree | 52384e93c4ffb09b7e781d25db756e5e1a5e9e8f | |
parent | c8ecd4f19f7b851f7676f40b9357b5ac747b651a [diff] [blame] |
Move some debugging capabilities under #ifdef NN_DEBUGGABLE. This makes them available under eng and userdebug but not user. Bug: 63905942 Test: mm (userdebug and user) Change-Id: I196c5df77290ed44a040e935adbf567f818e979d
diff --git a/Android.bp b/Android.bp index 5a6c263..50849f5 100644 --- a/Android.bp +++ b/Android.bp
@@ -27,6 +27,11 @@ "-Wextra", "-Werror", ], + product_variables: { + debuggable: { // eng and userdebug builds + cflags: ["-DNN_DEBUGGABLE"], + }, + }, } cc_library_headers {