diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2018-01-09 21:05:55 -0800 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-01-11 19:32:44 +0000 |
commit | 68c3fac8ce26a58bc0795f3d5da443c2a5915e2e (patch) | |
tree | 1a674d41532277f456b9ba838d1a9dcb7f131f27 | |
parent | f7dbc3507d14d71c0c48242f68e634b902b85bd9 (diff) |
Specify "resources" in skia_nanobench's data
Doing so installs packages the resource directory during a 'tests'
build. This lets us run skia_nanobench in the internal test infra,
which doesn't have access to the source tree.
Test: Check that all files in "resources" is packaged during 'make tests
dist' in an Android tree.
Change-Id: Ia547cf09087e5795bdd825d0d48f179086a9ca4a
Reviewed-on: https://skia-review.googlesource.com/93060
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Reviewed-by: Stephen Hines <srhines@google.com>
Commit-Queue: Derek Sollenberger <djsollen@google.com>
-rw-r--r-- | gn/gn_to_bp.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gn/gn_to_bp.py b/gn/gn_to_bp.py index 4f27b87d4d..1871157261 100644 --- a/gn/gn_to_bp.py +++ b/gn/gn_to_bp.py @@ -197,6 +197,10 @@ cc_test { srcs: [ $nanobench_srcs ], + + data: [ + "resources/*", + ], }''') # We'll run GN to get the main source lists and include directories for Skia. |