diff options
author | dpranke <dpranke@chromium.org> | 2015-08-27 20:21:11 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-28 03:21:42 +0000 |
commit | 6abd8652f8bc7a1d825962003ac88ec6a37a82f1 (patch) | |
tree | 4946ea8e98e57cfe7272f62472dc30d797cee553 /gpu/BUILD.gn | |
parent | 8a1824383c05f4f48ed2ae0ccb69fc073ddfc099 (diff) | |
download | chromium_src-6abd8652f8bc7a1d825962003ac88ec6a37a82f1.zip chromium_src-6abd8652f8bc7a1d825962003ac88ec6a37a82f1.tar.gz chromium_src-6abd8652f8bc7a1d825962003ac88ec6a37a82f1.tar.bz2 |
Add remaining GN targets for the Linux gpu tests.
This patch adds support for the telemetry-based
gpu tests to the GN build, adds a stubbed out
target for angle_end2end_tests (full support
depends on angle GN fixes), and adds a dummy
'chromium_swarm_tests' build target.
With these fixes, it should be possible to flip the
linux_chromium_rel_ng bot to GN and still have
everything run.
R=kbr@chromium.org, brettw@chromium.org
BUG=519778
Review URL: https://codereview.chromium.org/1311913004
Cr-Commit-Position: refs/heads/master@{#346067}
Diffstat (limited to 'gpu/BUILD.gn')
-rw-r--r-- | gpu/BUILD.gn | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gpu/BUILD.gn b/gpu/BUILD.gn index 7d1f4c5..cf99377 100644 --- a/gpu/BUILD.gn +++ b/gpu/BUILD.gn @@ -312,3 +312,32 @@ test("angle_unittests") { "//third_party/angle:translator_static", ] } + +# +# TODO(GYP): Delete this after we've converted everything to GN. +# The _run targets exist only for compatibility w/ GYP. +group("angle_end2end_tests_run") { + testonly = true + deps = [ + ":angle_end2end_tests", + ] +} + +test("angle_end2end_tests") { + sources = [ + # TODO(crbug.com/519778): Use this instead when angle actually works. + # For now, this creates an empty stub binary that will at least + # run properly on the bots. + # "angle_end2end_tests_main.cc", + "//base/test/run_all_unittests.cc", + ] + + deps = [ + "//base/test:test_support", + "//testing/gmock", + "//testing/gtest", + + # TODO(crbug.com/519778): This needs to be implemented. + # "//third_party/angle:end_to_end_tests", + ] +} |