Commit 3e06ba0e authored by jam's avatar jam Committed by Commit bot

Make isolate_driver.py only add .dll/.so/.dylib for component builds' generated files.

Right now it's adding a lot of other files that aren't needed to run the tests, which slows down the uploading and downloading steps when using component builds. Since this preprocessing step is only meant to add extra binaries that are the result of the component build, just whitelist .dll/.so/.dylib.

BUG=414808

Review URL: https://codereview.chromium.org/592143002

Cr-Commit-Position: refs/heads/master@{#296037}
parent 53af0fed
...@@ -177,6 +177,12 @@ def post_process_deps(build_dir, dependencies): ...@@ -177,6 +177,12 @@ def post_process_deps(build_dir, dependencies):
return i return i
def f(i): def f(i):
# This script is only for adding new binaries that are created as part of
# the component build.
ext = os.path.splitext(i)[1]
if ext not in ['.dll', '.so', '.dylib']:
return False
# Check for execute access and strip directories. This gets rid of all the # Check for execute access and strip directories. This gets rid of all the
# phony rules. # phony rules.
p = os.path.join(build_dir, i) p = os.path.join(build_dir, i)
......
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