Loading tools/finalization/finalize-vintf-resources.sh +3 −14 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ function finalize_vintf_resources() { # system/sepolicy "$top/system/sepolicy/tools/finalize-vintf-resources.sh" "$top" "$FINAL_BOARD_API_LEVEL" create_new_compat_matrix_and_kernel_configs $build_test_only finalize_compat_matrix $build_test_only # pre-finalization build target (trunk) local aidl_m="$top/build/soong/soong_ui.bash --make-mode" Loading @@ -54,22 +54,11 @@ function finalize_vintf_resources() { fi } function create_new_compat_matrix_and_kernel_configs() { function finalize_compat_matrix() { local build_test_only=$1 # The compatibility matrix versions are bumped during vFRC # These will change every time we have a new vFRC local CURRENT_COMPATIBILITY_MATRIX_LEVEL="$FINAL_BOARD_API_LEVEL" local NEXT_COMPATIBILITY_MATRIX_LEVEL="$FINAL_NEXT_BOARD_API_LEVEL" # The kernel configs need the letter of the Android release local CURRENT_RELEASE_LETTER="$FINAL_CORRESPONDING_VERSION_LETTER" local NEXT_RELEASE_LETTER="$FINAL_NEXT_CORRESPONDING_VERSION_LETTER" # build the targets required before touching the Android.bp/Android.mk files local build_cmd="$top/build/soong/soong_ui.bash --make-mode" $build_cmd bpmodify "$top/prebuilts/build-tools/path/linux-x86/python3" "$top/hardware/interfaces/compatibility_matrices/bump.py" "$CURRENT_COMPATIBILITY_MATRIX_LEVEL" "$NEXT_COMPATIBILITY_MATRIX_LEVEL" "$CURRENT_RELEASE_LETTER" "$NEXT_RELEASE_LETTER" "$FINAL_CORRESPONDING_PLATFORM_VERSION" "$top/prebuilts/build-tools/path/linux-x86/python3" "$top/hardware/interfaces/compatibility_matrices/finalize.py" "$CURRENT_COMPATIBILITY_MATRIX_LEVEL" if ! [ "$build_test_only" = "true" ]; then # Freeze the current framework manifest file. This relies on the Loading Loading
tools/finalization/finalize-vintf-resources.sh +3 −14 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ function finalize_vintf_resources() { # system/sepolicy "$top/system/sepolicy/tools/finalize-vintf-resources.sh" "$top" "$FINAL_BOARD_API_LEVEL" create_new_compat_matrix_and_kernel_configs $build_test_only finalize_compat_matrix $build_test_only # pre-finalization build target (trunk) local aidl_m="$top/build/soong/soong_ui.bash --make-mode" Loading @@ -54,22 +54,11 @@ function finalize_vintf_resources() { fi } function create_new_compat_matrix_and_kernel_configs() { function finalize_compat_matrix() { local build_test_only=$1 # The compatibility matrix versions are bumped during vFRC # These will change every time we have a new vFRC local CURRENT_COMPATIBILITY_MATRIX_LEVEL="$FINAL_BOARD_API_LEVEL" local NEXT_COMPATIBILITY_MATRIX_LEVEL="$FINAL_NEXT_BOARD_API_LEVEL" # The kernel configs need the letter of the Android release local CURRENT_RELEASE_LETTER="$FINAL_CORRESPONDING_VERSION_LETTER" local NEXT_RELEASE_LETTER="$FINAL_NEXT_CORRESPONDING_VERSION_LETTER" # build the targets required before touching the Android.bp/Android.mk files local build_cmd="$top/build/soong/soong_ui.bash --make-mode" $build_cmd bpmodify "$top/prebuilts/build-tools/path/linux-x86/python3" "$top/hardware/interfaces/compatibility_matrices/bump.py" "$CURRENT_COMPATIBILITY_MATRIX_LEVEL" "$NEXT_COMPATIBILITY_MATRIX_LEVEL" "$CURRENT_RELEASE_LETTER" "$NEXT_RELEASE_LETTER" "$FINAL_CORRESPONDING_PLATFORM_VERSION" "$top/prebuilts/build-tools/path/linux-x86/python3" "$top/hardware/interfaces/compatibility_matrices/finalize.py" "$CURRENT_COMPATIBILITY_MATRIX_LEVEL" if ! [ "$build_test_only" = "true" ]; then # Freeze the current framework manifest file. This relies on the Loading