Merge "Don't explicitly mention SOONG_CONFIG_ variables" am: 9f8ee5f71f
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/2002776 Change-Id: Ied2313893373aa3810c28e578813964c2c79b625
This commit is contained in:
@@ -134,7 +134,7 @@ class SoongConfigBoilerplateInserter(FileTransformation):
|
|||||||
namespace = self.configVar.namespace
|
namespace = self.configVar.namespace
|
||||||
name = self.configVar.name
|
name = self.configVar.name
|
||||||
module_content.append(f"""\
|
module_content.append(f"""\
|
||||||
// Do not prefer prebuilt if SOONG_CONFIG_{namespace}_{name} is true.
|
// Do not prefer prebuilt if the Soong config variable "{name}" in namespace "{namespace}" is true.
|
||||||
prefer: true,
|
prefer: true,
|
||||||
soong_config_variables: {{
|
soong_config_variables: {{
|
||||||
{name}: {{
|
{name}: {{
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ package {
|
|||||||
|
|
||||||
art_prebuilt_prebuilt_bootclasspath_fragment {
|
art_prebuilt_prebuilt_bootclasspath_fragment {
|
||||||
name: "art-bootclasspath-fragment",
|
name: "art-bootclasspath-fragment",
|
||||||
// Do not prefer prebuilt if SOONG_CONFIG_art_module_source_build is true.
|
// Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true.
|
||||||
prefer: true,
|
prefer: true,
|
||||||
soong_config_variables: {
|
soong_config_variables: {
|
||||||
source_build: {
|
source_build: {
|
||||||
@@ -63,7 +63,7 @@ art_prebuilt_prebuilt_bootclasspath_fragment {
|
|||||||
|
|
||||||
art_prebuilt_prebuilt_platform_compat_config {
|
art_prebuilt_prebuilt_platform_compat_config {
|
||||||
name: "libcore-platform-compat-config",
|
name: "libcore-platform-compat-config",
|
||||||
// Do not prefer prebuilt if SOONG_CONFIG_art_module_source_build is true.
|
// Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true.
|
||||||
prefer: true,
|
prefer: true,
|
||||||
soong_config_variables: {
|
soong_config_variables: {
|
||||||
source_build: {
|
source_build: {
|
||||||
@@ -82,7 +82,7 @@ art_prebuilt_prebuilt_platform_compat_config {
|
|||||||
|
|
||||||
art_prebuilt_java_import {
|
art_prebuilt_java_import {
|
||||||
name: "core-oj",
|
name: "core-oj",
|
||||||
// Do not prefer prebuilt if SOONG_CONFIG_art_module_source_build is true.
|
// Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true.
|
||||||
prefer: true,
|
prefer: true,
|
||||||
soong_config_variables: {
|
soong_config_variables: {
|
||||||
source_build: {
|
source_build: {
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ prebuilt_bootclasspath_fragment {
|
|||||||
|
|
||||||
module_prebuilt_bootclasspath_fragment {
|
module_prebuilt_bootclasspath_fragment {
|
||||||
name: "com.android.ipsec-bootclasspath-fragment",
|
name: "com.android.ipsec-bootclasspath-fragment",
|
||||||
// Do not prefer prebuilt if SOONG_CONFIG_ANDROID_module_build_from_source is true.
|
// Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
|
||||||
prefer: true,
|
prefer: true,
|
||||||
soong_config_variables: {
|
soong_config_variables: {
|
||||||
module_build_from_source: {
|
module_build_from_source: {
|
||||||
@@ -94,7 +94,7 @@ java_sdk_library_import {
|
|||||||
|
|
||||||
module_java_sdk_library_import {
|
module_java_sdk_library_import {
|
||||||
name: "android.net.ipsec.ike",
|
name: "android.net.ipsec.ike",
|
||||||
// Do not prefer prebuilt if SOONG_CONFIG_ANDROID_module_build_from_source is true.
|
// Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
|
||||||
prefer: true,
|
prefer: true,
|
||||||
soong_config_variables: {
|
soong_config_variables: {
|
||||||
module_build_from_source: {
|
module_build_from_source: {
|
||||||
|
|||||||
Reference in New Issue
Block a user