Prepare the code to inherit from chromium's mb.py.

Type 'additional_compile_target' are not meant to be tests.
Type 'raw' has no usage for xctests.
Explicitly set dcheck_always_on=false.

Bug: webrtc:13867
Change-Id: Ie47c300609ff5054d36110e8ee6c7a059ec452da
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/256805
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Jeremy Leconte <jleconte@google.com>
Cr-Commit-Position: refs/heads/main@{#36336}
This commit is contained in:
Jeremy Leconte 2022-03-25 13:30:39 +01:00 committed by WebRTC LUCI CQ
parent e02f9eedb3
commit d8654cf636
2 changed files with 10 additions and 6 deletions

View File

@ -21,7 +21,7 @@
},
"AppRTCMobile_test_apk": {
"label": "//examples:AppRTCMobile_test_apk",
"type": "additional_compile_target",
"type": "console_test_launcher",
},
"android_junit_tests": {
"label": "//:android_junit_tests",
@ -37,7 +37,7 @@
},
"apprtcmobile_tests": {
"label": "//examples:apprtcmobile_tests",
"type": "raw",
"type": "console_test_launcher",
},
"audio_decoder_unittests": {
"label": "//modules/audio_coding:audio_decoder_unittests",
@ -57,7 +57,7 @@
},
"android_instrumentation_test_apk": {
"label": "//sdk/android:android_instrumentation_test_apk",
"type": "additional_compile_target",
"type": "console_test_launcher",
},
"low_bandwidth_audio_test": {
"label": "//audio:low_bandwidth_audio_test",
@ -104,11 +104,11 @@
},
"sdk_framework_unittests": {
"label": "//sdk:sdk_framework_unittests",
"type": "raw",
"type": "console_test_launcher",
},
"sdk_unittests": {
"label": "//sdk:sdk_unittests",
"type": "raw",
"type": "console_test_launcher",
},
"system_wrappers_unittests": {
"label": "//system_wrappers:system_wrappers_unittests",

View File

@ -440,6 +440,10 @@
'gn_args': 'dcheck_always_on=true',
},
'dcheck_off': {
'gn_args': 'dcheck_always_on=false',
},
'debug': {
'gn_args': 'is_debug=true',
},
@ -504,7 +508,7 @@
# 100% release build without DCHECKs while 'release_bot' is a partial
# release configs since `dcheck_always_on` is set to true.
'pure_release_bot': {
'mixins': ['release', 'goma'],
'mixins': ['release', 'goma', 'dcheck_off'],
},
'release_bot': {
'mixins': ['pure_release_bot', 'dcheck_always_on'],