Commit f9489d9a authored by Ben Pastene's avatar Ben Pastene Committed by Commit Bot

mb: Fix expectations when a builder has 'errorprone' in its GN args.

We skip expectations for any builder with 'error' in its GN args. And
many android builders set the 'use_errorprone_java_compiler' arg, so
they all have their expectations skipped.

The correct condition would be to test that all the GN args is wholly
equal to 'error'. This fixes that.

Now only 'chromium_presubmit' and 'ios-simulator' are skipped.

Bug: 1117577
Change-Id: Ibcbfd966fe5918e234a99b010928345192daf057
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2472207Reviewed-by: default avatarGarrett Beaty <gbeaty@chromium.org>
Reviewed-by: default avatarDirk Pranke <dpranke@google.com>
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/master@{#817523}
parent c301a29c
......@@ -723,7 +723,7 @@ class MetaBuildWrapper(object):
args = config
else:
flattened_config = FlattenConfig(self.configs, self.mixins, config)
if 'error' in flattened_config['gn_args']:
if flattened_config['gn_args'] == 'error':
continue
args = {'gn_args': gn_helpers.FromGNArgs(flattened_config['gn_args'])}
if flattened_config.get('args_file'):
......
......@@ -13,6 +13,22 @@
"use_goma": true
}
},
"android-inverse-fieldtrials-pie-x86-fyi-rel": {
"gn_args": {
"disable_android_lint": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"proprietary_codecs": true,
"strip_debug_info": true,
"symbol_level": 1,
"system_webview_package_name": "com.google.android.webview",
"target_cpu": "x86",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true
}
},
"android-pie-arm64-wpt-rel-non-cq": {
"gn_args": {
"ffmpeg_branding": "Chrome",
......@@ -26,5 +42,21 @@
"target_os": "android",
"use_goma": true
}
},
"android-weblayer-pie-x86-fyi-rel": {
"gn_args": {
"disable_android_lint": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"proprietary_codecs": true,
"strip_debug_info": true,
"symbol_level": 1,
"system_webview_package_name": "com.google.android.webview",
"target_cpu": "x86",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true
}
}
}
\ No newline at end of file
......@@ -96,6 +96,22 @@
"use_goma": true
}
},
"android-10-arm64-rel": {
"gn_args": {
"disable_android_lint": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"proprietary_codecs": true,
"strip_debug_info": true,
"symbol_level": 1,
"system_webview_package_name": "com.google.android.webview",
"target_cpu": "arm64",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true
}
},
"android-arm64-proguard-rel": {
"gn_args": {
"ffmpeg_branding": "Chrome",
......@@ -365,6 +381,71 @@
"use_goma": true
}
},
"android-marshmallow-arm64-rel": {
"gn_args": {
"disable_android_lint": true,
"enable_resource_allowlist_generation": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"proprietary_codecs": true,
"symbol_level": 1,
"system_webview_package_name": "com.google.android.webview",
"target_cpu": "arm64",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true,
"use_static_angle": true
}
},
"android-marshmallow-x86-rel": {
"gn_args": {
"disable_android_lint": true,
"enable_resource_allowlist_generation": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"proprietary_codecs": true,
"symbol_level": 1,
"system_webview_package_name": "com.google.android.webview",
"target_cpu": "x86",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true
}
},
"android-marshmallow-x86-rel-non-cq": {
"gn_args": {
"disable_android_lint": true,
"enable_resource_allowlist_generation": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"proprietary_codecs": true,
"symbol_level": 1,
"system_webview_package_name": "com.google.android.webview",
"target_cpu": "x86",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true
}
},
"android-nougat-arm64-rel": {
"gn_args": {
"disable_android_lint": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"proprietary_codecs": true,
"strip_debug_info": true,
"symbol_level": 1,
"system_webview_package_name": "com.google.android.webview",
"target_cpu": "arm64",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true
}
},
"android-pie-arm64-rel": {
"gn_args": {
"ffmpeg_branding": "Chrome",
......@@ -378,5 +459,21 @@
"target_os": "android",
"use_goma": true
}
},
"android-pie-x86-rel": {
"gn_args": {
"disable_android_lint": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"proprietary_codecs": true,
"strip_debug_info": true,
"symbol_level": 1,
"system_webview_package_name": "com.google.android.webview",
"target_cpu": "x86",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true
}
}
}
\ No newline at end of file
......@@ -12,6 +12,23 @@
"use_goma": true
}
},
"android-marshmallow-arm64-rel-swarming": {
"gn_args": {
"disable_android_lint": true,
"enable_resource_allowlist_generation": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"proprietary_codecs": true,
"symbol_level": 1,
"system_webview_package_name": "com.google.android.webview",
"target_cpu": "arm64",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true,
"use_static_angle": true
}
},
"linux-rel-swarming": {
"gn_args": {
"ffmpeg_branding": "Chrome",
......
......@@ -214,6 +214,43 @@
"use_goma": true
}
},
"android-code-coverage": {
"gn_args": {
"disable_android_lint": true,
"enable_resource_allowlist_generation": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"is_java_debug": true,
"proprietary_codecs": true,
"symbol_level": 1,
"system_webview_package_name": "com.google.android.webview",
"target_cpu": "arm64",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true,
"use_jacoco_coverage": true,
"use_static_angle": true
}
},
"android-code-coverage-native": {
"gn_args": {
"disable_android_lint": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"is_java_debug": true,
"proprietary_codecs": true,
"symbol_level": 1,
"system_webview_package_name": "com.google.android.webview",
"target_cpu": "arm64",
"target_os": "android",
"use_clang_coverage": true,
"use_errorprone_java_compiler": false,
"use_goma": true,
"use_static_angle": true
}
},
"chromeos-amd64-generic-lacros-rel": {
"args_file": "//build/args/chromeos/amd64-generic.gni",
"gn_args": {
......
{
"Android Release (Nexus 5X)": {
"gn_args": {
"dcheck_always_on": true,
"disable_android_lint": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"proprietary_codecs": true,
"symbol_level": 1,
"target_cpu": "arm64",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true,
"use_static_angle": true
}
},
"GPU Linux Builder": {
"gn_args": {
"dcheck_always_on": true,
......
{
"android-10-arm64-rel": {
"gn_args": {
"dcheck_always_on": true,
"disable_android_lint": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"proprietary_codecs": true,
"strip_debug_info": true,
"symbol_level": 1,
"system_webview_package_name": "com.google.android.webview",
"target_cpu": "arm64",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true
}
},
"android-asan": {
"gn_args": {
"dcheck_always_on": true,
......@@ -113,6 +130,23 @@
"use_goma": true
}
},
"android-inverse-fieldtrials-pie-x86-fyi-rel": {
"gn_args": {
"dcheck_always_on": true,
"disable_android_lint": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"proprietary_codecs": true,
"strip_debug_info": true,
"symbol_level": 1,
"system_webview_package_name": "com.google.android.webview",
"target_cpu": "x86",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true
}
},
"android-lollipop-arm-rel": {
"gn_args": {
"dcheck_always_on": true,
......@@ -128,6 +162,77 @@
"use_goma": true
}
},
"android-marshmallow-arm64-rel": {
"gn_args": {
"coverage_instrumentation_input_file": "//.code-coverage/files_to_instrument.txt",
"dcheck_always_on": true,
"disable_android_lint": true,
"enable_resource_allowlist_generation": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"proprietary_codecs": true,
"symbol_level": 1,
"system_webview_package_name": "com.google.android.webview",
"target_cpu": "arm64",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true,
"use_jacoco_coverage": true,
"use_static_angle": true
}
},
"android-marshmallow-x86-rel": {
"gn_args": {
"dcheck_always_on": true,
"disable_android_lint": true,
"enable_resource_allowlist_generation": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"proprietary_codecs": true,
"symbol_level": 1,
"system_webview_package_name": "com.google.android.webview",
"target_cpu": "x86",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true
}
},
"android-marshmallow-x86-rel-non-cq": {
"gn_args": {
"dcheck_always_on": true,
"disable_android_lint": true,
"enable_resource_allowlist_generation": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"proprietary_codecs": true,
"symbol_level": 1,
"system_webview_package_name": "com.google.android.webview",
"target_cpu": "x86",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true
}
},
"android-nougat-arm64-rel": {
"gn_args": {
"dcheck_always_on": true,
"disable_android_lint": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"proprietary_codecs": true,
"strip_debug_info": true,
"symbol_level": 1,
"system_webview_package_name": "com.google.android.webview",
"target_cpu": "arm64",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true
}
},
"android-opus-arm-rel": {
"gn_args": {
"dcheck_always_on": true,
......@@ -225,6 +330,40 @@
"use_goma": true
}
},
"android-pie-x86-rel": {
"gn_args": {
"dcheck_always_on": true,
"disable_android_lint": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"proprietary_codecs": true,
"strip_debug_info": true,
"symbol_level": 1,
"system_webview_package_name": "com.google.android.webview",
"target_cpu": "x86",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true
}
},
"android-weblayer-pie-x86-fyi-rel": {
"gn_args": {
"dcheck_always_on": true,
"disable_android_lint": true,
"ffmpeg_branding": "Chrome",
"is_component_build": false,
"is_debug": false,
"proprietary_codecs": true,
"strip_debug_info": true,
"symbol_level": 1,
"system_webview_package_name": "com.google.android.webview",
"target_cpu": "x86",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true
}
},
"android-webview-marshmallow-arm64-dbg": {
"gn_args": {
"dcheck_always_on": true,
......@@ -313,6 +452,20 @@
"use_goma": true
}
},
"android_arm64_dbg_recipe": {
"gn_args": {
"disable_android_lint": true,
"ffmpeg_branding": "Chrome",
"is_component_build": true,
"is_debug": true,
"proprietary_codecs": true,
"symbol_level": 0,
"target_cpu": "arm64",
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true
}
},
"android_blink_rel": {
"gn_args": {
"dcheck_always_on": true,
......@@ -341,6 +494,21 @@
"use_thin_lto": true
}
},
"android_clang_dbg_recipe": {
"gn_args": {
"disable_android_lint": true,
"ffmpeg_branding": "Chrome",
"is_asan": true,
"is_clang": true,
"is_component_build": true,
"is_debug": true,
"proprietary_codecs": true,
"symbol_level": 0,
"target_os": "android",
"use_errorprone_java_compiler": false,
"use_goma": true
}
},
"android_compile_dbg": {
"gn_args": {
"ffmpeg_branding": "Chrome",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment