aboutsummaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-01-24 14:58:11 -0800
committerColin Cross <ccross@android.com>2019-01-25 21:26:53 +0000
commitcb9880786d611ebb44f28752c383b11c3c686b9c (patch)
tree49b3b7814c5f6402d4d0793a1a2727769808d095 /Android.bp
parentea5c1f453cf797c90ccfae10d6f4af08263e1d6f (diff)
downloadbuild_soong-cb9880786d611ebb44f28752c383b11c3c686b9c.tar.gz
build_soong-cb9880786d611ebb44f28752c383b11c3c686b9c.tar.bz2
build_soong-cb9880786d611ebb44f28752c383b11c3c686b9c.zip
Optimize filterArchStruct when nothing is filtered
Runtime-created struct types have limit on the name of the type, which is the full text of the fields in the struct. Avoid creating runtime struct types when filtering produces an identical struct. Also add tests and godoc for filterArchStruct. Test: arch_test.go Change-Id: If7eb27ea9e72073d5252e93f2110b08889ed76b1
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 62e276ac..3215fa2b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -71,6 +71,7 @@ bootstrap_go_package {
"android/env.go",
],
testSrcs: [
+ "android/arch_test.go",
"android/config_test.go",
"android/expand_test.go",
"android/namespace_test.go",