No description
Find a file
Dan Willemsen 97750520a4 Refactor Android.mk generation
Now, instead of combining multiple binaries into a single BUILD_PREBUILT
definition, use separate instances for every module variant. This fixes
HOST vs HOST_CROSS prebuilts, and should be saner overall. From make,
these should look the same, we're only just using one instance of
prebuilt_internal per BUILD_PREBUILT call instead of multiple.

With that simplification, we don't have to store as much state, and can
directly write into the buffer.

Also switch from io.WriteString to fmt.Fprintln, which will require
fewer explicit string concatentations, and we don't need to worry about
newlines.

Allow the module-provided functions to return errors.

Change-Id: If30453b21fa21387f635626618d8fabfc78e6859
2016-02-09 19:56:22 -08:00
androidmk androidmk: Add support for LOCAL_MODULE_HOST_OS 2015-12-02 11:26:17 -08:00
cc Refactor Android.mk generation 2016-02-09 19:56:22 -08:00
cmd Delay dependency errors to ninja time for unbundled builds 2015-12-18 13:13:15 -08:00
common Refactor Android.mk generation 2016-02-09 19:56:22 -08:00
env Support dependencies on environment variables 2015-03-26 14:13:49 -07:00
genrule Fix gofmt 2015-12-17 17:25:10 -08:00
glob Move globbing on top of pathtools.GlobWithExcludes 2015-04-29 14:59:23 -07:00
java Refactor Android.mk generation 2016-02-09 19:56:22 -08:00
Android.bp Use Path instead of string for file paths 2015-12-09 14:29:12 -08:00
bootstrap.bash Use SRCDIR as a working directory 2015-09-17 23:42:25 -07:00
build.ninja.in Update build.ninja.in for bootstrap changes 2015-11-23 14:18:26 -08:00
copygcclib.sh Add soong_build primary builder 2015-03-13 20:28:16 -07:00
doc.go Add soong_build primary builder 2015-03-13 20:28:16 -07:00
register.go Remove EarlyMutators and DynamicDependencies 2015-11-03 15:46:08 -08:00
root.bp Add kati to root.bp 2016-01-14 00:25:38 +00:00
soong.bash Execute the blueprint wrapper 2015-12-10 16:23:10 -08:00
soong.bootstrap.in Use SRCDIR as a working directory 2015-09-17 23:42:25 -07:00