aboutsummaryrefslogtreecommitdiffstats
path: root/android/hooks.go
Commit message (Collapse)AuthorAgeFilesLines
* Replace PropertyCustomizer with hooksColin Cross2016-09-131-0/+176
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