From a21b31b06bdb379fbaa9a77bb7db0535c3dc1b21 Mon Sep 17 00:00:00 2001 From: dpranke Date: Fri, 24 Jul 2015 14:42:00 -0700 Subject: Add more isolates to the GN build: This patches adds the right data and data_deps annotations, and the buildbot mappings needed for: - app_list_unittests - app_shell_unittests (partially, there are issues still) - aura_unittests - cast_unittests - ui_touch_selection_unittests - wm_unittests R=brettw@chromium.org BUG=504079 CQ_EXTRA_TRYBOTS=tryserver.chromium.mac:mac_chromium_gn_rel Review URL: https://codereview.chromium.org/1246843003 Cr-Commit-Position: refs/heads/master@{#340341} --- extensions/shell/BUILD.gn | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'extensions/shell/BUILD.gn') diff --git a/extensions/shell/BUILD.gn b/extensions/shell/BUILD.gn index 3dad93d..0c99278 100644 --- a/extensions/shell/BUILD.gn +++ b/extensions/shell/BUILD.gn @@ -156,11 +156,28 @@ if (!(is_chromeos && !use_ozone)) { } } +# TODO(GYP): Delete this after we've converted everything to GN. +# The _run targets exist only for compatibility w/ GYP. +group("app_shell_unittests_run") { + testonly = true + deps = [ + ":app_shell_unittests", + ] +} + test("app_shell_unittests") { sources = rebase_path(app_shell_gypi_values.app_shell_unittests_sources, ".", "//extensions/shell") + data = [ + "//extensions/test/data/", + "$root_out_dir/extensions_shell_and_test.pak", + + #"$root_out_dir/natives_blob.bin", # move to gin + #"$root_out_dir/snapshot_blob.bin", + ] + deps = [ ":app_shell_lib", "//base", @@ -171,6 +188,11 @@ test("app_shell_unittests") { "//testing/gtest", ] + data_deps = [ + # "//gin", # TODO(dpranke): Either gin or v8 data is needed ... + "//third_party/mesa:osmesa", + ] + if (use_aura) { deps += [ "//ui/aura:test_support" ] -- cgit v1.1