summaryrefslogtreecommitdiff
path: root/android/variable.go
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2021-08-30 18:43:19 +0900
committer Jiyong Park <jiyong@google.com> 2021-08-31 08:32:44 +0900
commit16e77a9b303a71018eb6630f12f1414cd6ad615c (patch)
tree78833a0c0eb8707a4ca3613d82e215c8d69dd9ac /android/variable.go
parentb37a92ccc82f327e1f8ed686c0a16d5ac9c828ee (diff)
cmdline property in bootimg can be customized for debuggable builds
This change adds product_variables.debuggable.cmdline so that the kernel cmdline arguments can be augmented for the debuggable builds. To support that the type of the property has changed to string array. Bug: 181936135 Test: inspect build.ninja Change-Id: I81b3ead5187ccb378efabb87d1d15fbdb59d8e2f
Diffstat (limited to 'android/variable.go')
-rw-r--r--android/variable.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go
index 5cf9aa8e8..9d7c1e624 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -108,6 +108,8 @@ type variableProperties struct {
Static_libs []string
Whole_static_libs []string
Shared_libs []string
+
+ Cmdline []string
}
// eng is true for -eng builds, and can be used to turn on additionaly heavyweight debugging