OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 # This is the root build file for GN. GN will start processing by loading this | 5 # This is the root build file for GN. GN will start processing by loading this |
6 # file, and recursively load all dependencies until all dependencies are either | 6 # file, and recursively load all dependencies until all dependencies are either |
7 # resolved or known not to exist (which will cause the build to fail). So if | 7 # resolved or known not to exist (which will cause the build to fail). So if |
8 # you add a new build file, there must be some path of dependencies from this | 8 # you add a new build file, there must be some path of dependencies from this |
9 # file to your new one or GN won't know about it. | 9 # file to your new one or GN won't know about it. |
10 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 ] | 56 ] |
57 } | 57 } |
58 | 58 |
59 # The "both_gn_and_gyp" target should reflect every target that is built | 59 # The "both_gn_and_gyp" target should reflect every target that is built |
60 # in both the GN and GYP builds, and ideally it should match the | 60 # in both the GN and GYP builds, and ideally it should match the |
61 # "both_gn_and_gyp" target in build/gn_migration.gypi line-for-line. | 61 # "both_gn_and_gyp" target in build/gn_migration.gypi line-for-line. |
62 # | 62 # |
63 # TODO(GYP): Add build steps that check and enforce this on the bots. | 63 # TODO(GYP): Add build steps that check and enforce this on the bots. |
64 group("both_gn_and_gyp") { | 64 group("both_gn_and_gyp") { |
65 testonly = true | 65 testonly = true |
66 | |
67 deps = [ | 66 deps = [ |
68 "//base:base_unittests", | 67 "//base:base_unittests", |
69 "//cc:cc_unittests", | |
70 "//chrome", | |
71 "//chrome/test:browser_tests", | |
72 "//chrome/test:interactive_ui_tests", | |
73 "//chrome/test:sync_integration_tests", | |
74 "//chrome/test:unit_tests", | |
75 "//chrome/test/chromedriver:chromedriver_unittests", | |
76 "//components:components_browsertests", | |
77 "//components:components_unittests", | |
78 "//content/shell:content_shell", | |
79 "//content/test:content_browsertests", | |
80 "//content/test:content_perftests", | |
81 "//content/test:content_unittests", | |
82 "//crypto:crypto_unittests", | |
83 "//device:device_unittests", | |
84 "//extensions:extensions_browsertests", | |
85 "//extensions:extensions_unittests", | |
86 "//google_apis/gcm:gcm_unit_tests", | |
87 "//gpu:gpu_unittests", | |
88 "//ipc:ipc_tests", | |
89 "//ipc/mojo:ipc_mojo_unittests", | |
90 "//jingle:jingle_unittests", | |
91 "//media:media_unittests", | |
92 "//media/cast:cast_unittests", | |
93 "//media/midi:midi_unittests", | |
94 "//mojo", | |
95 "//mojo/application/public/cpp", | |
96 "//mojo/common:mojo_common_unittests", | |
97 "//net:hpack_example_generator", | |
98 "//net:hpack_fuzz_mutator", | |
99 "//net:hpack_fuzz_wrapper", | |
100 "//net:net_perftests", | |
101 "//net:net_unittests", | |
102 "//ppapi:ppapi_unittests", | |
103 "//ppapi/examples/2d", | |
104 "//ppapi/examples/audio", | |
105 "//ppapi/examples/audio_input", | |
106 "//ppapi/examples/compositor", | |
107 "//ppapi/examples/crxfs", | |
108 "//ppapi/examples/enumerate_devices", | |
109 "//ppapi/examples/file_chooser", | |
110 "//ppapi/examples/flash_topmost", | |
111 "//ppapi/examples/font", | |
112 "//ppapi/examples/gamepad", | |
113 "//ppapi/examples/gles2", | |
114 "//ppapi/examples/gles2_spinning_cube", | |
115 "//ppapi/examples/ime", | |
116 "//ppapi/examples/input", | |
117 "//ppapi/examples/media_stream_audio", | |
118 "//ppapi/examples/media_stream_video", | |
119 "//ppapi/examples/mouse_cursor", | |
120 "//ppapi/examples/mouse_lock", | |
121 "//ppapi/examples/printing", | |
122 "//ppapi/examples/scaling", | |
123 "//ppapi/examples/scripting", | |
124 "//ppapi/examples/stub", | |
125 "//ppapi/examples/threading", | |
126 "//ppapi/examples/url_loader", | |
127 "//ppapi/examples/video_capture", | |
128 "//ppapi/examples/video_decode", | |
129 "//ppapi/examples/video_effects", | |
130 "//ppapi/examples/video_encode", | |
131 "//printing:printing_unittests", | |
132 "//skia:skia_unittests", | |
133 "//sql:sql_unittests", | |
134 "//sync:sync_unit_tests", | |
135 "//third_party/WebKit/Source/platform:heap_unittests", | |
136 "//third_party/WebKit/Source/platform:platform_unittests", | |
137 "//third_party/WebKit/Source/web:webkit_unit_tests", | |
138 "//third_party/WebKit/Source/wtf:wtf_unittests", | |
139 "//third_party/cacheinvalidation:cacheinvalidation_unittests", | |
140 "//third_party/codesighs", | |
141 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", | |
142 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", | |
143 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", | |
144 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", | |
145 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests", | |
146 "//third_party/pdfium/samples:pdfium_test", | |
147 "//third_party/smhasher:pmurhash", | |
148 "//tools/imagediff($host_toolchain)", | |
149 "//tools/gn", | |
150 "//tools/gn:gn_unittests", | |
151 "//tools/gn:generate_test_gn_data", | |
152 "//tools/telemetry:bitmaptools($host_toolchain)", | |
153 "//ui/accessibility:accessibility_unittests", | |
154 "//ui/app_list:app_list_unittests", | |
155 "//ui/base:ui_base_unittests", | |
156 "//ui/display:display_unittests", | |
157 "//ui/events:events_unittests", | |
158 "//ui/gfx:gfx_unittests", | |
159 "//ui/gl:gl_unittests", | |
160 "//ui/touch_selection:ui_touch_selection_unittests", | |
161 "//url:url_unittests", | |
162 ] | 68 ] |
| 69 if (!is_ios) { |
| 70 deps += [ |
| 71 "//cc:cc_unittests", |
| 72 "//chrome", |
| 73 "//chrome/test:browser_tests", |
| 74 "//chrome/test:interactive_ui_tests", |
| 75 "//chrome/test:sync_integration_tests", |
| 76 "//chrome/test:unit_tests", |
| 77 "//chrome/test/chromedriver:chromedriver_unittests", |
| 78 "//components:components_browsertests", |
| 79 "//components:components_unittests", |
| 80 "//content/shell:content_shell", |
| 81 "//content/test:content_browsertests", |
| 82 "//content/test:content_perftests", |
| 83 "//content/test:content_unittests", |
| 84 "//crypto:crypto_unittests", |
| 85 "//device:device_unittests", |
| 86 "//extensions:extensions_browsertests", |
| 87 "//extensions:extensions_unittests", |
| 88 "//google_apis/gcm:gcm_unit_tests", |
| 89 "//gpu:gpu_unittests", |
| 90 "//ipc:ipc_tests", |
| 91 "//ipc/mojo:ipc_mojo_unittests", |
| 92 "//jingle:jingle_unittests", |
| 93 "//media:media_unittests", |
| 94 "//media/cast:cast_unittests", |
| 95 "//media/midi:midi_unittests", |
| 96 "//mojo", |
| 97 "//mojo/application/public/cpp", |
| 98 "//mojo/common:mojo_common_unittests", |
| 99 "//net:hpack_example_generator", |
| 100 "//net:hpack_fuzz_mutator", |
| 101 "//net:hpack_fuzz_wrapper", |
| 102 "//net:net_perftests", |
| 103 "//net:net_unittests", |
| 104 "//ppapi:ppapi_unittests", |
| 105 "//ppapi/examples/2d", |
| 106 "//ppapi/examples/audio", |
| 107 "//ppapi/examples/audio_input", |
| 108 "//ppapi/examples/compositor", |
| 109 "//ppapi/examples/crxfs", |
| 110 "//ppapi/examples/enumerate_devices", |
| 111 "//ppapi/examples/file_chooser", |
| 112 "//ppapi/examples/flash_topmost", |
| 113 "//ppapi/examples/font", |
| 114 "//ppapi/examples/gamepad", |
| 115 "//ppapi/examples/gles2", |
| 116 "//ppapi/examples/gles2_spinning_cube", |
| 117 "//ppapi/examples/ime", |
| 118 "//ppapi/examples/input", |
| 119 "//ppapi/examples/media_stream_audio", |
| 120 "//ppapi/examples/media_stream_video", |
| 121 "//ppapi/examples/mouse_cursor", |
| 122 "//ppapi/examples/mouse_lock", |
| 123 "//ppapi/examples/printing", |
| 124 "//ppapi/examples/scaling", |
| 125 "//ppapi/examples/scripting", |
| 126 "//ppapi/examples/stub", |
| 127 "//ppapi/examples/threading", |
| 128 "//ppapi/examples/url_loader", |
| 129 "//ppapi/examples/video_capture", |
| 130 "//ppapi/examples/video_decode", |
| 131 "//ppapi/examples/video_effects", |
| 132 "//ppapi/examples/video_encode", |
| 133 "//printing:printing_unittests", |
| 134 "//skia:skia_unittests", |
| 135 "//sql:sql_unittests", |
| 136 "//sync:sync_unit_tests", |
| 137 "//third_party/WebKit/Source/platform:heap_unittests", |
| 138 "//third_party/WebKit/Source/platform:platform_unittests", |
| 139 "//third_party/WebKit/Source/web:webkit_unit_tests", |
| 140 "//third_party/WebKit/Source/wtf:wtf_unittests", |
| 141 "//third_party/cacheinvalidation:cacheinvalidation_unittests", |
| 142 "//third_party/codesighs", |
| 143 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", |
| 144 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", |
| 145 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", |
| 146 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", |
| 147 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests", |
| 148 "//third_party/pdfium/samples:pdfium_test", |
| 149 "//third_party/smhasher:pmurhash", |
| 150 "//tools/imagediff($host_toolchain)", |
| 151 "//tools/gn", |
| 152 "//tools/gn:gn_unittests", |
| 153 "//tools/gn:generate_test_gn_data", |
| 154 "//tools/telemetry:bitmaptools($host_toolchain)", |
| 155 "//ui/accessibility:accessibility_unittests", |
| 156 "//ui/app_list:app_list_unittests", |
| 157 "//ui/base:ui_base_unittests", |
| 158 "//ui/display:display_unittests", |
| 159 "//ui/events:events_unittests", |
| 160 "//ui/gfx:gfx_unittests", |
| 161 "//ui/gl:gl_unittests", |
| 162 "//ui/touch_selection:ui_touch_selection_unittests", |
| 163 "//url:url_unittests", |
| 164 ] |
| 165 } |
163 | 166 |
164 deps += root_extra_deps | 167 deps += root_extra_deps |
165 | 168 |
166 if (enable_extensions && !is_mac) { | 169 if (enable_extensions && !is_mac) { |
167 # TODO(GYP): Get this working on the mac? | 170 # TODO(GYP): Get this working on the mac? |
168 deps += [ "//extensions/shell:app_shell_unittests" ] | 171 deps += [ "//extensions/shell:app_shell_unittests" ] |
169 } | 172 } |
170 | 173 |
171 if (enable_media_router) { | 174 if (enable_media_router) { |
172 deps += [ "//chrome/browser/media/router" ] | 175 deps += [ "//chrome/browser/media/router" ] |
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 "//sandbox/win:sbox_validation_tests", | 576 "//sandbox/win:sbox_validation_tests", |
574 "//testing/gtest:gtest_main", | 577 "//testing/gtest:gtest_main", |
575 "//third_party/codesighs:msmap2tsv", | 578 "//third_party/codesighs:msmap2tsv", |
576 "//third_party/pdfium/samples:pdfium_diff", | 579 "//third_party/pdfium/samples:pdfium_diff", |
577 "//ui/metro_viewer", | 580 "//ui/metro_viewer", |
578 ] | 581 ] |
579 deps -= [ | 582 deps -= [ |
580 "//crypto:crypto_unittests", # TODO(GYP) | 583 "//crypto:crypto_unittests", # TODO(GYP) |
581 "//net:net_unittests", # TODO(GYP) | 584 "//net:net_unittests", # TODO(GYP) |
582 ] | 585 ] |
583 } else if (!is_android) { | 586 } else if (!is_android && !is_ios) { |
584 deps += [ "//breakpad:symupload" ] | 587 deps += [ "//breakpad:symupload" ] |
585 } | 588 } |
586 | 589 |
587 if (!is_ios) { | 590 if (!is_ios) { |
588 deps += [ "//gpu/skia_runner:skia_runner" ] | 591 deps += [ "//gpu/skia_runner:skia_runner" ] |
589 } | 592 } |
590 } | 593 } |
591 | 594 |
592 group("gn_only") { | 595 group("gn_only") { |
593 testonly = true | 596 testonly = true |
594 | 597 |
595 deps = [ | 598 if (!is_ios) { |
596 "//mandoline:all", | 599 deps = [ |
597 ] | 600 "//mandoline:all", |
| 601 ] |
| 602 } |
598 | 603 |
599 if (!is_android && !is_ios) { | 604 if (!is_android && !is_ios) { |
600 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] | 605 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] |
601 } | 606 } |
602 | 607 |
603 if (is_linux && !is_chromeos) { | 608 if (is_linux && !is_chromeos) { |
604 # TODO(GYP): Figure out if any of these should be in gn_all | 609 # TODO(GYP): Figure out if any of these should be in gn_all |
605 # and figure out how cross-platform they are | 610 # and figure out how cross-platform they are |
606 deps += [ | 611 deps += [ |
607 ":gn_mojo_targets", | 612 ":gn_mojo_targets", |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
921 "//ui/views:views_unittests", # TooltipControllerTest failures | 926 "//ui/views:views_unittests", # TooltipControllerTest failures |
922 "//ui/wm:wm_unittests", # PASSES 4/21/2015 | 927 "//ui/wm:wm_unittests", # PASSES 4/21/2015 |
923 "//url:url_unittests", # PASSES 4/17/2015 | 928 "//url:url_unittests", # PASSES 4/17/2015 |
924 | 929 |
925 # TODO(GYP) nacl_integration | 930 # TODO(GYP) nacl_integration |
926 # TODO(GYP) telemetry_perf_unittests | 931 # TODO(GYP) telemetry_perf_unittests |
927 # TODO(GYP) telemetry_unittests | 932 # TODO(GYP) telemetry_unittests |
928 ] | 933 ] |
929 } | 934 } |
930 } | 935 } |
OLD | NEW |