Use `constexpr` for more constants in `libdexfile/dex/dex_file.h`.
Use `static constexpr` instead of `static const` for more constants in
this file, to avoid missing definition issues in some compilation
setups, like ART code coverage build configurations.
Test: build/soong/soong_ui.bash --make-mode \
TARGET_PRODUCT=aosp_cf_x86_phone \
TARGET_BUILD_VARIANT=userdebug \
EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true \
JAVA_COVERAGE_PATHS=art \
CLANG_COVERAGE=true NATIVE_COVERAGE_PATHS=art \
com.android.art.debug
Bug: 152402333
Change-Id: Ib9da1a9043b71d56673fcec7e9dab4718310e254
1 file changed