Loading Changes.md +13 −1 Original line number Diff line number Diff line # Build System Changes for Android.mk Writers ## Perform validation of Soong plugins Each Soong plugin will require manual work to migrate to Bazel. In order to minimize the manual work outside of build/soong, we are restricting plugins to those that exist today and those in vendor or hardware directories. If you need to extend the build system via a plugin, please reach out to the build team via email android-building@googlegroups.com (external) for any questions, or see [go/soong](http://go/soong) (internal). To omit the validation, `BUILD_BROKEN_PLUGIN_VALIDATION` expects a list of plugins to omit from the validation. ## Python 2 to 3 migration The path set when running builds now makes the `python` executable point to python 3, Loading @@ -15,7 +28,6 @@ overridden by setting the `BUILD_BROKEN_USES_SOONG_PYTHON2_MODULES` product conf variable to `true`. Python 2 is slated for complete removal in V. ## Stop referencing sysprop_library directly from cc modules For the migration to Bazel, we are no longer mapping sysprop_library targets Loading core/board_config.mk +1 −0 Original line number Diff line number Diff line Loading @@ -174,6 +174,7 @@ _board_strip_list += ODM_MANIFEST_SKUS _build_broken_var_list := \ BUILD_BROKEN_PLUGIN_VALIDATION \ BUILD_BROKEN_CLANG_PROPERTY \ BUILD_BROKEN_CLANG_ASFLAGS \ BUILD_BROKEN_CLANG_CFLAGS \ Loading core/soong_config.mk +1 −0 Original line number Diff line number Diff line Loading @@ -285,6 +285,7 @@ $(call add_json_str, PrebuiltHiddenApiDir, $(BOARD_PREBUILT_HIDDENAPI_DIR)) $(call add_json_str, ShippingApiLevel, $(PRODUCT_SHIPPING_API_LEVEL)) $(call add_json_list, BuildBrokenPluginValidation, $(BUILD_BROKEN_PLUGIN_VALIDATION)) $(call add_json_bool, BuildBrokenClangProperty, $(filter true,$(BUILD_BROKEN_CLANG_PROPERTY))) $(call add_json_bool, BuildBrokenClangAsFlags, $(filter true,$(BUILD_BROKEN_CLANG_ASFLAGS))) $(call add_json_bool, BuildBrokenClangCFlags, $(filter true,$(BUILD_BROKEN_CLANG_CFLAGS))) Loading Loading
Changes.md +13 −1 Original line number Diff line number Diff line # Build System Changes for Android.mk Writers ## Perform validation of Soong plugins Each Soong plugin will require manual work to migrate to Bazel. In order to minimize the manual work outside of build/soong, we are restricting plugins to those that exist today and those in vendor or hardware directories. If you need to extend the build system via a plugin, please reach out to the build team via email android-building@googlegroups.com (external) for any questions, or see [go/soong](http://go/soong) (internal). To omit the validation, `BUILD_BROKEN_PLUGIN_VALIDATION` expects a list of plugins to omit from the validation. ## Python 2 to 3 migration The path set when running builds now makes the `python` executable point to python 3, Loading @@ -15,7 +28,6 @@ overridden by setting the `BUILD_BROKEN_USES_SOONG_PYTHON2_MODULES` product conf variable to `true`. Python 2 is slated for complete removal in V. ## Stop referencing sysprop_library directly from cc modules For the migration to Bazel, we are no longer mapping sysprop_library targets Loading
core/board_config.mk +1 −0 Original line number Diff line number Diff line Loading @@ -174,6 +174,7 @@ _board_strip_list += ODM_MANIFEST_SKUS _build_broken_var_list := \ BUILD_BROKEN_PLUGIN_VALIDATION \ BUILD_BROKEN_CLANG_PROPERTY \ BUILD_BROKEN_CLANG_ASFLAGS \ BUILD_BROKEN_CLANG_CFLAGS \ Loading
core/soong_config.mk +1 −0 Original line number Diff line number Diff line Loading @@ -285,6 +285,7 @@ $(call add_json_str, PrebuiltHiddenApiDir, $(BOARD_PREBUILT_HIDDENAPI_DIR)) $(call add_json_str, ShippingApiLevel, $(PRODUCT_SHIPPING_API_LEVEL)) $(call add_json_list, BuildBrokenPluginValidation, $(BUILD_BROKEN_PLUGIN_VALIDATION)) $(call add_json_bool, BuildBrokenClangProperty, $(filter true,$(BUILD_BROKEN_CLANG_PROPERTY))) $(call add_json_bool, BuildBrokenClangAsFlags, $(filter true,$(BUILD_BROKEN_CLANG_ASFLAGS))) $(call add_json_bool, BuildBrokenClangCFlags, $(filter true,$(BUILD_BROKEN_CLANG_CFLAGS))) Loading