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

Side by Side Diff: mojo/BUILD.gn

Issue 1662053002: Move gn _run target generation into test(). (RELAND) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: +kbr changes Created 4 years, 10 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 | « media/midi/BUILD.gn ('k') | mojo/common/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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 group("mojo") { 7 group("mojo") {
8 # Meta-target, don't link into production code. 8 # Meta-target, don't link into production code.
9 testonly = true 9 testonly = true
10 deps = [ 10 deps = [
11 ":tests", 11 ":tests",
12 "//mojo/common", 12 "//mojo/common",
13 "//mojo/services", 13 "//mojo/services",
14 ] 14 ]
15 15
16 if (!(is_linux && target_cpu == "x86")) { 16 if (!(is_linux && target_cpu == "x86")) {
17 # TODO(GYP): Figure out if this needs to be supported. Right now 17 # TODO(GYP): Figure out if this needs to be supported. Right now
18 # it won't work on x86 official builds because it needs stuff in the 18 # it won't work on x86 official builds because it needs stuff in the
19 # sysroot that doesn't exist. 19 # sysroot that doesn't exist.
20 deps += [ "//mojo/public" ] 20 deps += [ "//mojo/public" ]
21 } 21 }
22 22
23 if (is_android) { 23 if (is_android) {
24 deps += [ "//mojo/android" ] 24 deps += [ "//mojo/android" ]
25 } 25 }
26 26
27 deps += [ "//mojo/shell:all" ] 27 deps += [ "//mojo/shell:all" ]
28 } 28 }
29 29
30 # TODO(GYP): Delete this after we've converted everything to GN.
31 # The _run targets exist only for compatibility w/ GYP.
32 group("mojo_public_bindings_unittests_run") {
33 testonly = true
34 deps = [
35 # TODO(use_chrome_edk): "//mojo/edk/test:mojo_public_bindings_unittests"
36 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests",
37 ]
38 }
39
40 # TODO(GYP): Delete this after we've converted everything to GN.
41 # The _run targets exist only for compatibility w/ GYP.
42 group("mojo_public_environment_unittests_run") {
43 testonly = true
44 deps = [
45 # TODO(use_chrome_edk): "//mojo/edk/test:mojo_public_environment_unittests"
46 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests",
47 ]
48 }
49
50 # TODO(GYP): Delete this after we've converted everything to GN.
51 # The _run targets exist only for compatibility w/ GYP.
52 group("mojo_public_system_unittests_run") {
53 testonly = true
54 deps = [
55 # TODO(use_chrome_edk): "//mojo/edk/test:mojo_public_system_unittests"
56 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests",
57 ]
58 }
59
60 # TODO(GYP): Delete this after we've converted everything to GN.
61 # The _run targets exist only for compatibility w/ GYP.
62 group("mojo_public_utility_unittests_run") {
63 testonly = true
64 deps = [
65 # TODO(use_chrome_edk): "//mojo/edk/test:mojo_public_utility_unittests"
66 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests",
67 ]
68 }
69
70 group("tests") { 30 group("tests") {
71 testonly = true 31 testonly = true
72 deps = [ 32 deps = [
73 "//ipc/mojo:ipc_mojo_unittests", 33 "//ipc/mojo:ipc_mojo_unittests",
74 "//mojo/common:mojo_common_unittests", 34 "//mojo/common:mojo_common_unittests",
75 "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests", 35 "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests",
76 "//mojo/edk/js/test:js_integration_tests", 36 "//mojo/edk/js/test:js_integration_tests",
77 "//mojo/edk/js/test:js_unittests", 37 "//mojo/edk/js/test:js_unittests",
78 "//mojo/shell/public/cpp/tests:mojo_public_application_unittests", 38 "//mojo/shell/public/cpp/tests:mojo_public_application_unittests",
79 39
(...skipping 18 matching lines...) Expand all
98 "//mojo/services/network:apptests", 58 "//mojo/services/network:apptests",
99 "//mojo/shell:apptests", 59 "//mojo/shell:apptests",
100 "//mojo/shell:mojo_shell_unittests", 60 "//mojo/shell:mojo_shell_unittests",
101 "//mojo/shell/package_manager:unittests", 61 "//mojo/shell/package_manager:unittests",
102 ] 62 ]
103 63
104 if (is_android) { 64 if (is_android) {
105 deps += [ "//mojo/shell/standalone:mojo_shell_standalone_apptests_apk" ] 65 deps += [ "//mojo/shell/standalone:mojo_shell_standalone_apptests_apk" ]
106 } 66 }
107 } 67 }
OLDNEW
« no previous file with comments | « media/midi/BUILD.gn ('k') | mojo/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698