Skip to content

Commit 59d46be

Browse files
dcharkesCommit Queue
authored andcommitted
[infra] DEPS sdk path
This attempts to make `gclient sync` work with a different directory name than `sdk` in the `.gclient` file. Bug: #60848 Change-Id: I0d1a3e1592792eba03aea66aa9a78f577bcf3a75 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/432701 Commit-Queue: Daco Harkes <[email protected]> Reviewed-by: Sigurd Meldgaard <[email protected]>
1 parent 523274c commit 59d46be

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

DEPS

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -678,38 +678,38 @@ hooks = [
678678
# Generate the .dart_tool/package_confg.json file.
679679
'name': 'Generate .dart_tool/package_confg.json',
680680
'pattern': '.',
681-
'action': ['python3', 'sdk/tools/generate_package_config.py'],
681+
'action': ['python3', Var("dart_root") + '/tools/generate_package_config.py'],
682682
},
683683
{
684684
# Generate the sdk/version file.
685685
'name': 'Generate sdk/version',
686686
'pattern': '.',
687-
'action': ['python3', 'sdk/tools/generate_sdk_version_file.py'],
687+
'action': ['python3', Var("dart_root") + '/tools/generate_sdk_version_file.py'],
688688
},
689689
{
690690
'name': 'buildtools',
691691
'pattern': '.',
692-
'action': ['python3', 'sdk/tools/buildtools/update.py'],
692+
'action': ['python3', Var("dart_root") + '/tools/buildtools/update.py'],
693693
},
694694
{
695695
# Update the Windows toolchain if necessary.
696696
'name': 'win_toolchain',
697697
'pattern': '.',
698-
'action': ['python3', 'sdk/build/vs_toolchain.py', 'update'],
698+
'action': ['python3', Var("dart_root") + '/build/vs_toolchain.py', 'update'],
699699
'condition': 'checkout_win'
700700
},
701701
# Install and activate the empscripten SDK.
702702
{
703703
'name': 'install_emscripten',
704704
'pattern': '.',
705-
'action': ['python3', 'sdk/third_party/emsdk/emsdk.py', 'install',
705+
'action': ['python3', Var("dart_root") + '/third_party/emsdk/emsdk.py', 'install',
706706
Var('emsdk_ver')],
707707
'condition': 'download_emscripten'
708708
},
709709
{
710710
'name': 'activate_emscripten',
711711
'pattern': '.',
712-
'action': ['python3', 'sdk/third_party/emsdk/emsdk.py', 'activate',
712+
'action': ['python3', Var("dart_root") + '/third_party/emsdk/emsdk.py', 'activate',
713713
Var('emsdk_ver')],
714714
'condition': 'download_emscripten'
715715
},
@@ -718,8 +718,8 @@ hooks = [
718718
'pattern': '.',
719719
'action': [
720720
'python3',
721-
'sdk/build/fuchsia/with_envs.py',
722-
'sdk/third_party/fuchsia/test_scripts/update_product_bundles.py',
721+
Var("dart_root") + '/build/fuchsia/with_envs.py',
722+
Var("dart_root") + '/third_party/fuchsia/test_scripts/update_product_bundles.py',
723723
'terminal.x64,terminal.qemu-arm64',
724724
],
725725
'condition': 'download_fuchsia_deps'
@@ -729,8 +729,8 @@ hooks = [
729729
'pattern': '.',
730730
'action': [
731731
'python3',
732-
'sdk/build/fuchsia/with_envs.py',
733-
'sdk/third_party/fuchsia/test_scripts/gen_build_defs.py',
732+
Var("dart_root") + '/build/fuchsia/with_envs.py',
733+
Var("dart_root") + '/third_party/fuchsia/test_scripts/gen_build_defs.py',
734734
],
735735
'condition': 'download_fuchsia_deps'
736736
},

0 commit comments

Comments
 (0)