• Yohann Roussel's avatar
    [DO NOT MERGE] Compile using Jack. · f09e59eb
    Yohann Roussel authored
    This allows to compile dex targeted java sources using Jack and Jill.
    Default is still to compile with the legacy toolchain. Default can be
    switched to the new toolchain by setting environement variable:
    export ANDROID_COMPILE_WITH_JACK=true
    Toolchain can also be forced for one module by defining
    LOCAL_JACK_ENABLED:=full # disabled, full, incremental
    in the mk portion defining the module.
    
    Jack execution environement can be controlled with:
    
    Global variable ANDROID_JACK_VM allow to change the jvm executing Jack.
    Global variable ANDROID_JACK_VM_ARGS allows to change default args given
    to the jvm.
    Global variable ANDROID_JACK_EXTRA_ARGS allows to define some default args
    to give to Jack
    
    LOCAL_JACK_VM_ARGS allows to override default args given to the jvm for
    the module.
    LOCAL_JACK_EXTRA_ARGS allows to override default args passed to Jack.
    
    This includes cherry-picks of the following changes:
    b4c49cba
    22c3fa6d
    ...
    f09e59eb
jack-default.args 168 Bytes