[build] Remove the last absolute paths from RBE builds.
Extend --check-clean (enabled on bots) to verify build commands don't include absolute paths. The non-RBE GCC and MSVC builds still have absolute paths. GCC doesn't have -ffile-compilation-dir so it uses -fdebug-prefix-map, which is not fixable. The MSVC build has absolute path in the toolchain wrappers, which might be fixable. TEST=ci Change-Id: I3b984aaab7aefa7ff527f0a039ca42281224a09d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/506505 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
committed by
dart-scoped@luci-project-accounts.iam.gserviceaccount.com
parent
bd304d04bc
commit
7d6c973ed9
@@ -108,7 +108,7 @@ aot_snapshot("dart2js_sdk_aot_product") {
|
||||
|
||||
compile_platform("compile_dart2js_platform") {
|
||||
single_root_scheme = "org-dartlang-sdk"
|
||||
single_root_base = rebase_path("$sdk_root/")
|
||||
single_root_base = rebase_path("$sdk_root/", root_build_dir)
|
||||
libraries_specification_uri = "org-dartlang-sdk:///lib/libraries.json"
|
||||
|
||||
outputs = [
|
||||
@@ -124,7 +124,7 @@ compile_platform("compile_dart2js_platform") {
|
||||
}
|
||||
compile_platform("compile_dart2js_server_platform") {
|
||||
single_root_scheme = "org-dartlang-sdk"
|
||||
single_root_base = rebase_path("$sdk_root/")
|
||||
single_root_base = rebase_path("$sdk_root/", root_build_dir)
|
||||
libraries_specification_uri = "org-dartlang-sdk:///lib/libraries.json"
|
||||
|
||||
outputs = [
|
||||
|
||||
@@ -44,7 +44,7 @@ aot_snapshot("dart2wasm_product_snapshot") {
|
||||
|
||||
compile_platform("compile_dart2wasm_platform") {
|
||||
single_root_scheme = "org-dartlang-sdk"
|
||||
single_root_base = rebase_path("$sdk_root/")
|
||||
single_root_base = rebase_path("$sdk_root/", root_build_dir)
|
||||
libraries_specification_uri = "org-dartlang-sdk:///lib/libraries.json"
|
||||
|
||||
outputs = [
|
||||
@@ -60,7 +60,7 @@ compile_platform("compile_dart2wasm_platform") {
|
||||
|
||||
compile_platform("compile_dart2wasm_js_compatibility_platform") {
|
||||
single_root_scheme = "org-dartlang-sdk"
|
||||
single_root_base = rebase_path("$sdk_root/")
|
||||
single_root_base = rebase_path("$sdk_root/", root_build_dir)
|
||||
libraries_specification_uri = "org-dartlang-sdk:///lib/libraries.json"
|
||||
|
||||
outputs = [
|
||||
@@ -77,7 +77,7 @@ compile_platform("compile_dart2wasm_js_compatibility_platform") {
|
||||
|
||||
compile_platform("compile_dart2wasm_standalone_platform") {
|
||||
single_root_scheme = "org-dartlang-sdk"
|
||||
single_root_base = rebase_path("$sdk_root/")
|
||||
single_root_base = rebase_path("$sdk_root/", root_build_dir)
|
||||
libraries_specification_uri = "org-dartlang-sdk:///lib/libraries.json"
|
||||
|
||||
outputs = [
|
||||
|
||||
+1
-1
@@ -409,7 +409,7 @@ ddc_compile("meta_canary_ddc_js") {
|
||||
|
||||
compile_platform("ddc_platform") {
|
||||
single_root_scheme = "org-dartlang-sdk"
|
||||
single_root_base = rebase_path("$sdk_root/")
|
||||
single_root_base = rebase_path("$sdk_root/", root_build_dir)
|
||||
libraries_specification_uri = "org-dartlang-sdk:///lib/libraries.json"
|
||||
|
||||
args = [
|
||||
|
||||
Reference in New Issue
Block a user