diff options
author | 2024-12-13 12:51:31 +0000 | |
---|---|---|
committer | 2024-12-13 13:03:03 +0000 | |
commit | a841e8f0b63e838ca4104e00f3c4eaab96d000ac (patch) | |
tree | 286d6430e3f84c8ed64fb179b58edefdd6ae88b2 | |
parent | 3670b0cb73000acdfe0fa64eef037fabd7146c4d (diff) |
Introduce RELEASE_EXTERNAL_TC3_DEBUG flag
It's used to enable assertions and change log verbosity in
libtextclassifier package, which are currently controlled using the
debuggable know in the package blueprint.
The value is set to false on user and true on userdebug/eng builds,
maintaining the existing behavior. Therefore this is intended to be
a non-functional change.
BUG: b/373580227
Test: lunch tangorpro-trunk_staging-{user/userdebug/eng} and check the
contents of out/soong/release-config/build_flags_product.json
Change-Id: I46df139b15694c49dbeb1698dc6c7a00d0342bc7
-rw-r--r-- | flag_declarations/RELEASE_EXTERNAL_TC3_DEBUG.textproto | 9 | ||||
-rw-r--r-- | flag_values/eng/RELEASE_EXTERNAL_TC3_DEBUG.textproto | 4 | ||||
-rw-r--r-- | flag_values/userdebug/RELEASE_EXTERNAL_TC3_DEBUG.textproto | 4 |
3 files changed, 17 insertions, 0 deletions
diff --git a/flag_declarations/RELEASE_EXTERNAL_TC3_DEBUG.textproto b/flag_declarations/RELEASE_EXTERNAL_TC3_DEBUG.textproto new file mode 100644 index 00000000..5b5949ce --- /dev/null +++ b/flag_declarations/RELEASE_EXTERNAL_TC3_DEBUG.textproto @@ -0,0 +1,9 @@ +name: "RELEASE_EXTERNAL_TC3_DEBUG" +namespace: "android_UNKNOWN" +value: { + bool_value: false +} +description: "Enables assertions and verbose logging in libtextclassifier." +workflow: MANUAL +containers: "product" +containers: "system" diff --git a/flag_values/eng/RELEASE_EXTERNAL_TC3_DEBUG.textproto b/flag_values/eng/RELEASE_EXTERNAL_TC3_DEBUG.textproto new file mode 100644 index 00000000..48b7445d --- /dev/null +++ b/flag_values/eng/RELEASE_EXTERNAL_TC3_DEBUG.textproto @@ -0,0 +1,4 @@ +name: "RELEASE_EXTERNAL_TC3_DEBUG" +value: { + bool_value: true +} diff --git a/flag_values/userdebug/RELEASE_EXTERNAL_TC3_DEBUG.textproto b/flag_values/userdebug/RELEASE_EXTERNAL_TC3_DEBUG.textproto new file mode 100644 index 00000000..48b7445d --- /dev/null +++ b/flag_values/userdebug/RELEASE_EXTERNAL_TC3_DEBUG.textproto @@ -0,0 +1,4 @@ +name: "RELEASE_EXTERNAL_TC3_DEBUG" +value: { + bool_value: true +} |