aboutsummaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorJeff Gaston <jeffrygaston@google.com>2017-11-20 14:31:11 -0800
committerJeff Gaston <jeffrygaston@google.com>2017-11-20 16:28:53 -0800
commitf5f6e49478ae61ab1e335fcf1407931772ac909a (patch)
tree0555a6c8c5fda0b50080f625e6b94005f5fc3b98 /Android.bp
parent6693613f1176b71b273be4328c5b245883bc9f8e (diff)
downloadbuild_soong-f5f6e49478ae61ab1e335fcf1407931772ac909a.tar.gz
build_soong-f5f6e49478ae61ab1e335fcf1407931772ac909a.tar.bz2
build_soong-f5f6e49478ae61ab1e335fcf1407931772ac909a.zip
Prohibit accidental renames of product config json fields
Can be caused by `json:"omitempty"` instead of `json:",omitempty"` Bug: 69076024 Test: m -j # which runs unit tests Change-Id: I92e3193d00a740c72d36a56748e0b0a8ad1d772e
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index b57b0cc9..e89f9083 100644
--- a/Android.bp
+++ b/Android.bp
@@ -64,6 +64,7 @@ bootstrap_go_package {
"android/env.go",
],
testSrcs: [
+ "android/config_test.go",
"android/expand_test.go",
"android/paths_test.go",
"android/prebuilt_test.go",