Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 08c8941

Browse files
committed
use pyyaml from deps
1 parent 4d016ff commit 08c8941

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

DEPS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ deps = {
138138
'src/third_party/spirv_cross':
139139
Var('github_git') + '/KhronosGroup/SPIRV-Cross.git' + '@' + '418542eaefdb609f548d25a1e3962fb69d80da63',
140140

141+
'src/third_party/pyyaml':
142+
Var('fuchsia_git') + '/third_party/pyyaml' + '@' + '0d71b7df69ec44d1e8cfd81dc580a9612c0e5e21',
141143

142144
# Chromium-style
143145
#

tools/fuchsia/sdk/find_dart_libraries.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@
1313

1414
import argparse
1515
import json
16-
import yaml
1716
import os
1817
import sys
1918
import pkg_resources
2019

21-
2220
def find_package(root, local_paths, package, version):
2321
"""Return the package target if found with at least this version"""
2422
needed_version = pkg_resources.parse_version(version)
@@ -69,6 +67,9 @@ def main():
6967
assert len(versioned_dart_packages) % 2 == 0, (
7068
'Each third_party_dep package must be accompanied by a version')
7169

70+
sys.path += [os.path.join(args.root, 'third_party', 'pyyaml', 'lib3')]
71+
import yaml
72+
7273
dart_package_paths = []
7374
it = iter(versioned_dart_packages)
7475
for item in it:

0 commit comments

Comments
 (0)