Commit 1bae5615 by Jamie Madill Committed by Commit Bot

Remove some ignores from export_targets.py.

These were fixed upstream. Bug: angleproject:4077 Change-Id: I656616a111e1703f8a910c27e6be3ec3e918f6ba Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1899726Reviewed-by: 's avatarJonah Ryan-Davis <jonahr@google.com> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent ac36a55c
...@@ -69,8 +69,10 @@ for directory in os.environ['PATH'].split(os.pathsep): ...@@ -69,8 +69,10 @@ for directory in os.environ['PATH'].split(os.pathsep):
if not vs_found: if not vs_found:
GN_ENV['DEPOT_TOOLS_WIN_TOOLCHAIN'] = '0' GN_ENV['DEPOT_TOOLS_WIN_TOOLCHAIN'] = '0'
if len(sys.argv) < 3:
sys.exit('Usage: export_targets.py OUT_DIR ROOTS...')
(OUT_DIR, *ROOTS) = sys.argv[1:] (OUT_DIR, *ROOTS) = sys.argv[1:]
assert len(ROOTS), 'Usage: export_targets.py OUT_DIR ROOTS...'
for x in ROOTS: for x in ROOTS:
assert x.startswith('//:') assert x.startswith('//:')
...@@ -120,7 +122,7 @@ try: ...@@ -120,7 +122,7 @@ try:
p = run_checked('gn', 'desc', '--format=json', str(OUT_DIR), '*', stdout=subprocess.PIPE, p = run_checked('gn', 'desc', '--format=json', str(OUT_DIR), '*', stdout=subprocess.PIPE,
env=GN_ENV, shell=(True if sys.platform == 'win32' else False)) env=GN_ENV, shell=(True if sys.platform == 'win32' else False))
except subprocess.CalledProcessError: except subprocess.CalledProcessError:
sys.stderr.buffer.write(b'`gn` failed. Is depot_tools in your PATH?\n') sys.stderr.buffer.write(b'"gn desc" failed. Is depot_tools in your PATH?\n')
exit(1) exit(1)
# - # -
...@@ -212,8 +214,6 @@ IGNORED_INCLUDE_PREFIXES = { ...@@ -212,8 +214,6 @@ IGNORED_INCLUDE_PREFIXES = {
} }
IGNORED_DIRECTORIES = { IGNORED_DIRECTORIES = {
'//third_party/glslang',
'//third_party/spirv-tools',
'//third_party/SwiftShader', '//third_party/SwiftShader',
'//third_party/vulkan-headers', '//third_party/vulkan-headers',
'//third_party/vulkan-loader', '//third_party/vulkan-loader',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment