Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ deps = {
'src/third_party/spirv_cross':
Var('github_git') + '/KhronosGroup/SPIRV-Cross.git' + '@' + '418542eaefdb609f548d25a1e3962fb69d80da63',

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

# Chromium-style
#
Expand Down
5 changes: 3 additions & 2 deletions tools/fuchsia/sdk/find_dart_libraries.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@

import argparse
import json
import yaml
import os
import sys
import pkg_resources


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

sys.path += [os.path.join(root, 'third_party', 'pyyaml', 'lib3')]
import yaml

dart_package_paths = []
it = iter(versioned_dart_packages)
for item in it:
Expand Down