summaryrefslogtreecommitdiff
path: root/java/sdk_test.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2019-06-27 14:08:51 +0100
committer Paul Duffin <paulduffin@google.com> 2019-07-01 16:15:07 +0100
commitaebc02ab29648b5f4a69636222e3d80888a90dd3 (patch)
tree3439f5de407d0544ec2f92588c92c297caf1275e /java/sdk_test.go
parente65d84c84cca3d7193bce3d410840b72100b9fca (diff)
Allow neverallow rules to be defined by custom bootstrap_go_packages
* Adds a Rule interface to hide the rule struct and expose the mutator functions. * Makes the neverallow() function public as NeverAllow(). * Adds AddNeverAllowRules func to add more rules. * Moves the population of the builtin rules to init() function. Bug: 136159343 Test: m droid - changed a built in rule to cause build failure to ensure the rules were still being applied, then reverted the change and ran 'm droid' again. Change-Id: Ie3a4456d1f6bc12c5b4931bf698333275347fdf0 Merged-In: Ie3a4456d1f6bc12c5b4931bf698333275347fdf0
Diffstat (limited to 'java/sdk_test.go')
0 files changed, 0 insertions, 0 deletions