No description
Find a file
Colin Cross 7f64b6de31 Support product variables
Allow modules to vary their properties based on product variables.
For now, DEVICE_USES_LOGD, DEVICE_USES_JEMALLOC, and DEVICE_USES_DLMALLOC,
and BOARD_MALLOC_ALIGNMENT are supported.

Product variables can provide a value (only bool and int supported for
now), and if any of the product variable properties contains a "%d"
then Sprintf will be called with the property value as the format
and the product variable value convert to an int as the only argument.

For example:

    product_variables: {
        dlmalloc_alignment: {
            cflags: ["-DMALLOC_ALIGNMENT=%d"],
        },
    },

will cause -DMALLOC_ALIGNMENT=16 to be added to any top level
properties called "cflags".

Change-Id: I74882a6ab4914d3e222f8d06cfac371b7b829ae5
2015-08-24 16:20:08 -07:00
androidbp/cmd Support product variables 2015-08-24 16:20:08 -07:00
androidmk Fix androidmk make_strings_test to use new API 2015-06-24 10:54:39 -07:00
cc Fix java resource glob file list location 2015-08-24 16:19:43 -07:00
cmd use init functions to register module types, etc. 2015-07-09 17:57:18 -07:00
common Support product variables 2015-08-24 16:20:08 -07:00
env Support dependencies on environment variables 2015-03-26 14:13:49 -07:00
genrule use init functions to register module types, etc. 2015-07-09 17:57:18 -07:00
glob Move globbing on top of pathtools.GlobWithExcludes 2015-04-29 14:59:23 -07:00
java Fix java resource glob file list location 2015-08-24 16:19:43 -07:00
Android.bp Support product variables 2015-08-24 16:20:08 -07:00
bootstrap.bash Build and run tests during bootstrap 2015-06-26 11:51:03 -07:00
build.ninja.in Update build.ninja.in for blueprint go 1.5 support 2015-08-24 15:41:17 -07: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 use init functions to register module types, etc. 2015-07-09 17:57:18 -07:00
root.bp Rename Blueprints to Android.bp 2015-05-20 13:10:32 -07:00
soong.bash Fix soong scripts to support directories with spaces 2015-04-10 15:50:37 -07:00
soong.bootstrap.in Fix soong scripts to support directories with spaces 2015-04-10 15:50:37 -07:00