Disabling JACK in android compilation

前端 未结 2 1933
执笔经年
执笔经年 2020-12-19 23:24

Does anybody know how to completely disable jack while compiling AOSP (Master)?

I\'ve always had problems with jack, so I\'ve just always turned it

2条回答
  •  庸人自扰
    2020-12-20 00:12

    I would recommend to use AOSP tag to build instead of master branch. For example, latest released Marshmallow is android-6.0.1_r43 tag.

    So let's look at clear_vars.mk which is responsible for default values: https://android.googlesource.com/platform/build/+/android-6.0.1_r43/core/clear_vars.mk#110

    LOCAL_JACK_ENABLED:=$(DEFAULT_JACK_ENABLED) # '' (ie disabled), disabled, full, incremental

    So you either have to override LOCAL_JACK_ENABLED per module in Android.mk or define global default value with DEFAULT_JACK_ENABLED variable.

    P.S. It's better to ask such questions on Google Groups: https://groups.google.com/forum/#!forum/android-building

提交回复
热议问题