Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(452)

Side by Side Diff: blimp/BUILD.gn

Issue 2620213004: Remove all blimp browsertests. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/threading/thread_restrictions.h ('k') | blimp/client/core/compositor/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 # Convenience meta-target for all of Blimp's production & test code. 8 # Convenience meta-target for all of Blimp's production & test code.
9 group("blimp") { 9 group("blimp") {
10 # In spite of the name, this really just means that non-test targets 10 # In spite of the name, this really just means that non-test targets
(...skipping 23 matching lines...) Expand all
34 # Builds all Blimp test code (unit tests, test APKs). 34 # Builds all Blimp test code (unit tests, test APKs).
35 group("blimp_tests") { 35 group("blimp_tests") {
36 testonly = true 36 testonly = true
37 37
38 deps = [ 38 deps = [
39 ":blimp_unittests", 39 ":blimp_unittests",
40 "//blimp/client:test_binaries", 40 "//blimp/client:test_binaries",
41 ] 41 ]
42 42
43 if (is_linux) { 43 if (is_linux) {
44 deps += [ 44 deps += [ "//blimp/test/fake_engine:fake_engine_app_tests" ]
45 ":blimp_browsertests",
46 "//blimp/test/fake_engine:fake_engine_app_tests",
47 ]
48 } 45 }
49 } 46 }
50 47
51 test("blimp_unittests") { 48 test("blimp_unittests") {
52 deps = [ 49 deps = [
53 "//blimp/client:unit_tests", 50 "//blimp/client:unit_tests",
54 "//blimp/common:unit_tests", 51 "//blimp/common:unit_tests",
55 "//blimp/net:unit_tests", 52 "//blimp/net:unit_tests",
56 "//blimp/test:run_all_unittests", 53 "//blimp/test:run_all_unittests",
57 ] 54 ]
58 55
59 if (is_linux) { 56 if (is_linux) {
60 deps += [ "//blimp/engine:unit_tests" ] 57 deps += [ "//blimp/engine:unit_tests" ]
61 } 58 }
62 59
63 if (is_android) { 60 if (is_android) {
64 enable_multidex = true 61 enable_multidex = true
65 deps += [ "//blimp/client:blimp_unittests_java_deps" ] 62 deps += [ "//blimp/client:blimp_unittests_java_deps" ]
66 } 63 }
67 } 64 }
68 65
69 if (is_linux) { 66 if (is_linux) {
70 test("blimp_browsertests") {
71 deps = [
72 "//blimp/engine:browser_tests",
73 ]
74 data = [
75 "test/data/",
76 ]
77 }
78
79 _blimp_engine_env_tests_runtime_deps = 67 _blimp_engine_env_tests_runtime_deps =
80 "$root_gen_dir/blimp-tests.runtime_deps" 68 "$root_gen_dir/blimp-tests.runtime_deps"
81 _rebased_blimp_engine_env_tests_runtime_deps = 69 _rebased_blimp_engine_env_tests_runtime_deps =
82 rebase_path(_blimp_engine_env_tests_runtime_deps, root_out_dir) 70 rebase_path(_blimp_engine_env_tests_runtime_deps, root_out_dir)
83 71
84 # This group contains Blimp Engine tests and tests of the various components 72 # This group contains Blimp Engine tests and tests of the various components
85 # the Blimp Engine depends on. The idea is that if this group of tests pass 73 # the Blimp Engine depends on. The idea is that if this group of tests pass
86 # on a given system there is a high probability the Engine will also work on 74 # on a given system there is a high probability the Engine will also work on
87 # that platform. 75 # that platform.
88 group("blimp_engine_env_tests_group") { 76 group("blimp_engine_env_tests_group") {
89 testonly = true 77 testonly = true
90 78
91 # Additional environment test targets should be added here. 79 # Additional environment test targets should be added here.
92 # Executable targets and those executable targets' transitive 80 # Executable targets and those executable targets' transitive
93 # dependencies are not considered unless that executable is listed in 81 # dependencies are not considered unless that executable is listed in
94 # "data_deps". Otherwise, GN assumes that the executable (and 82 # "data_deps". Otherwise, GN assumes that the executable (and
95 # everything it requires) is a build-time dependency only. 83 # everything it requires) is a build-time dependency only.
96 data_deps = [ 84 data_deps = [
97 ":blimp_browsertests",
98 ":blimp_unittests", 85 ":blimp_unittests",
99 "//base:base_unittests", 86 "//base:base_unittests",
100 "//breakpad:generate_test_dump", 87 "//breakpad:generate_test_dump",
101 "//content/test:content_unittests", 88 "//content/test:content_unittests",
102 "//ipc:ipc_tests", 89 "//ipc:ipc_tests",
103 "//net:net_unittests", 90 "//net:net_unittests",
104 "//sandbox/linux:sandbox_linux_unittests", 91 "//sandbox/linux:sandbox_linux_unittests",
105 "//blimp/test/fake_engine:fake_engine_app", 92 "//blimp/test/fake_engine:fake_engine_app",
106 ] 93 ]
107 94
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 "--output", 190 "--output",
204 rebase_path(_output_path, root_build_dir), 191 rebase_path(_output_path, root_build_dir),
205 "--target", 192 "--target",
206 rebase_path(_wrapped_script, root_build_dir), 193 rebase_path(_wrapped_script, root_build_dir),
207 "--output-directory", 194 "--output-directory",
208 rebase_path(root_out_dir, root_build_dir), 195 rebase_path(root_out_dir, root_build_dir),
209 "--flag-name=--output-linux-directory", 196 "--flag-name=--output-linux-directory",
210 ] 197 ]
211 } 198 }
212 } 199 }
OLDNEW
« no previous file with comments | « base/threading/thread_restrictions.h ('k') | blimp/client/core/compositor/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698