1LOCAL_MODULE_TAGS := optional 2LOCAL_PRIVILEGED_MODULE := true 3 4LOCAL_STATIC_JAVA_LIBRARIES += guava \ 5 apache-commons-compress \ 6 docsui-statsd 7 8LOCAL_STATIC_ANDROID_LIBRARIES := \ 9 androidx.legacy_legacy-support-core-ui \ 10 androidx.legacy_legacy-support-v4 \ 11 androidx.appcompat_appcompat \ 12 androidx.legacy_legacy-support-v13 \ 13 androidx.transition_transition \ 14 androidx.recyclerview_recyclerview \ 15 androidx.recyclerview_recyclerview-selection \ 16 com.google.android.material_material 17 18LOCAL_USE_AAPT2 := true 19 20LOCAL_JACK_FLAGS := \ 21 -D jack.optimization.inner-class.accessors=true 22 23# Only enable asserts on userdebug/eng builds 24ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 25LOCAL_JACK_FLAGS += -D jack.assert.policy=always 26endif 27 28LOCAL_CERTIFICATE := platform 29LOCAL_PROGUARD_FLAG_FILES := proguard.flags 30 31# TODO: build against public API as part of b/110959821 32LOCAL_PRIVATE_PLATFORM_APIS := true 33#LOCAL_SDK_VERSION := current 34 35include $(BUILD_PACKAGE) 36