summaryrefslogtreecommitdiffstats
path: root/extensions/shell/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/shell/BUILD.gn')
-rw-r--r--extensions/shell/BUILD.gn22
1 files changed, 22 insertions, 0 deletions
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" ]