diff options
author | sdefresne <sdefresne@chromium.org> | 2016-03-18 04:07:38 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-18 11:08:52 +0000 |
commit | 9cc8ac7b7c2c95836b603afdf9ea6fa57a2b100c (patch) | |
tree | 0a462f29248f530ae8870bb9916e5f746006b002 /google_apis | |
parent | 34cfc871f7a7d168b33d32e7297cd86409c6001a (diff) | |
download | chromium_src-9cc8ac7b7c2c95836b603afdf9ea6fa57a2b100c.zip chromium_src-9cc8ac7b7c2c95836b603afdf9ea6fa57a2b100c.tar.gz chromium_src-9cc8ac7b7c2c95836b603afdf9ea6fa57a2b100c.tar.bz2 |
[iOS] Define bundle_data target for //google_apis:google_apis_unittests.
This ensure that the files required by google_apis_unittests application
will be copied into the application bundle on iOS.
BUG=297668
Review URL: https://codereview.chromium.org/1811533005
Cr-Commit-Position: refs/heads/master@{#381935}
Diffstat (limited to 'google_apis')
-rw-r--r-- | google_apis/BUILD.gn | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/google_apis/BUILD.gn b/google_apis/BUILD.gn index d491b48..f4efc66 100644 --- a/google_apis/BUILD.gn +++ b/google_apis/BUILD.gn @@ -224,6 +224,17 @@ source_set("test_support") { } } +bundle_data("google_apis_unittests_bundle_data") { + testonly = true + sources = [ + "test", + ] + outputs = [ + "{{bundle_resources_dir}}/" + + "{{source_root_relative_dir}}/{{source_file_part}}", + ] +} + test("google_apis_unittests") { sources = [ "gaia/gaia_auth_fetcher_unittest.cc", @@ -247,6 +258,7 @@ test("google_apis_unittests") { deps = [ ":google_apis", + ":google_apis_unittests_bundle_data", ":test_support", "//base", "//base/test:run_all_unittests", |