aboutsummaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-09-13 13:42:32 -0700
committerColin Cross <ccross@android.com>2016-09-13 17:37:32 -0700
commit178a5098550a630bc242c7322abc2a7f59369a77 (patch)
tree031658e468354be3cd91c4cfac11df8fe0b442fa /Android.bp
parentb4ce0ecad6500edb0ea464ee78b59a04138aed41 (diff)
downloadbuild_soong-178a5098550a630bc242c7322abc2a7f59369a77.tar.gz
build_soong-178a5098550a630bc242c7322abc2a7f59369a77.tar.bz2
build_soong-178a5098550a630bc242c7322abc2a7f59369a77.zip
Replace PropertyCustomizer with hooks
Replace PropertyCustomizer with a more extensible hooks mechanism. Instead of passing an object that satisifies an interface, pass a function pointer that takes a context interface as an argument. Callers can use lambdas to capture any other necessary parameters like property structs. Also add two new hooks, arch hooks that occur after splitting modules into arch variants, and install hooks that occur each time a file is installed to the output directory. Change-Id: I3a3e34aa97f1a92d3a31e5004b4b1ba68869d242
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 3d5144cd..aee91236 100644
--- a/Android.bp
+++ b/Android.bp
@@ -63,10 +63,10 @@ bootstrap_go_package {
"android/androidmk.go",
"android/arch.go",
"android/config.go",
- "android/customizer.go",
"android/defaults.go",
"android/defs.go",
"android/glob.go",
+ "android/hooks.go",
"android/makevars.go",
"android/module.go",
"android/mutator.go",