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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 ] | 136 ] |
137 } | 137 } |
138 | 138 |
139 if (!is_ios && !is_android && !is_chromecast) { | 139 if (!is_ios && !is_android && !is_chromecast) { |
140 deps += [ | 140 deps += [ |
141 "//chrome", | 141 "//chrome", |
142 "//chrome/test:browser_tests", | 142 "//chrome/test:browser_tests", |
143 "//chrome/test:interactive_ui_tests", | 143 "//chrome/test:interactive_ui_tests", |
144 "//chrome/test:sync_integration_tests", | 144 "//chrome/test:sync_integration_tests", |
145 "//chrome/test/chromedriver:chromedriver_unittests", | 145 "//chrome/test/chromedriver:chromedriver_unittests", |
| 146 "//extensions:extensions_browsertests", |
| 147 "//extensions:extensions_unittests", |
146 "//gpu/gles2_conform_support:gles2_conform_test", | 148 "//gpu/gles2_conform_support:gles2_conform_test", |
147 "//gpu/khronos_glcts_support:khronos_glcts_test", | 149 "//gpu/khronos_glcts_support:khronos_glcts_test", |
148 "//jingle:jingle_unittests", | 150 "//jingle:jingle_unittests", |
149 "//net:hpack_example_generator", | 151 "//net:hpack_example_generator", |
150 "//net:hpack_fuzz_mutator", | 152 "//net:hpack_fuzz_mutator", |
151 "//net:hpack_fuzz_wrapper", | 153 "//net:hpack_fuzz_wrapper", |
152 "//ppapi:ppapi_unittests", | 154 "//ppapi:ppapi_unittests", |
153 "//ppapi/examples/2d", | 155 "//ppapi/examples/2d", |
154 "//ppapi/examples/audio", | 156 "//ppapi/examples/audio", |
155 "//ppapi/examples/audio_input", | 157 "//ppapi/examples/audio_input", |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 "//ui/touch_selection:ui_touch_selection_unittests", | 235 "//ui/touch_selection:ui_touch_selection_unittests", |
234 "//url/ipc:url_ipc_unittests", | 236 "//url/ipc:url_ipc_unittests", |
235 ] | 237 ] |
236 } else { | 238 } else { |
237 deps += [ "//ios:all" ] | 239 deps += [ "//ios:all" ] |
238 } | 240 } |
239 | 241 |
240 deps += root_extra_deps | 242 deps += root_extra_deps |
241 | 243 |
242 if (enable_extensions) { | 244 if (enable_extensions) { |
243 deps += [ | 245 deps += [ "//extensions/shell:app_shell_unittests" ] |
244 "//extensions:extensions_browsertests", | |
245 "//extensions:extensions_unittests", | |
246 "//extensions/shell:app_shell", | |
247 "//extensions/shell:app_shell_unittests", | |
248 ] | |
249 } | 246 } |
250 | 247 |
251 if (enable_media_router) { | 248 if (enable_media_router) { |
252 deps += [ "//chrome/browser/media/router" ] | 249 deps += [ "//chrome/browser/media/router" ] |
253 } | 250 } |
254 | 251 |
255 if (enable_remoting) { | 252 if (enable_remoting) { |
256 deps += [ "//remoting:remoting_all" ] | 253 deps += [ "//remoting:remoting_all" ] |
257 } | 254 } |
258 | 255 |
259 if (toolkit_views) { | 256 if (toolkit_views) { |
260 deps += [ "//ui/views:views_unittests" ] | 257 deps += [ "//ui/views:views_unittests" ] |
261 } | 258 } |
262 | 259 |
263 if (use_aura) { | 260 if (use_aura) { |
264 deps += [ | 261 deps += [ |
| 262 "//ash:ash_shell_with_content", |
| 263 "//ash:ash_unittests", |
265 "//ui/app_list:app_list_unittests", | 264 "//ui/app_list:app_list_unittests", |
266 "//ui/app_list/presenter:app_list_presenter_unittests", | 265 "//ui/app_list/presenter:app_list_presenter_unittests", |
267 "//ui/aura:aura_unittests", | 266 "//ui/aura:aura_unittests", |
268 "//ui/aura:demo", | 267 "//ui/aura:demo", |
269 "//ui/wm:wm_unittests", | 268 "//ui/wm:wm_unittests", |
270 ] | 269 ] |
271 if (use_ash) { | |
272 deps += [ | |
273 "//ash:ash_shell_with_content", | |
274 "//ash:ash_unittests", | |
275 ] | |
276 } | |
277 } | 270 } |
278 | 271 |
279 if (use_ozone) { | 272 if (use_ozone) { |
280 deps += [ "//ui/ozone" ] | 273 deps += [ "//ui/ozone" ] |
281 } | 274 } |
282 | 275 |
283 if (use_x11) { | 276 if (use_x11) { |
284 deps += [ "//tools/xdisplaycheck" ] | 277 deps += [ "//tools/xdisplaycheck" ] |
285 } | 278 } |
286 | 279 |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 "//net:stress_cache", | 473 "//net:stress_cache", |
481 "//net:tld_cleanup", | 474 "//net:tld_cleanup", |
482 "//ppapi:pepper_hash_for_uma", | 475 "//ppapi:pepper_hash_for_uma", |
483 "//ppapi:ppapi_perftests", | 476 "//ppapi:ppapi_perftests", |
484 "//third_party/angle/src/tests:angle_end2end_tests", | 477 "//third_party/angle/src/tests:angle_end2end_tests", |
485 "//third_party/leveldatabase:env_chromium_unittests", | 478 "//third_party/leveldatabase:env_chromium_unittests", |
486 "//third_party/libaddressinput:libaddressinput_unittests", | 479 "//third_party/libaddressinput:libaddressinput_unittests", |
487 ] | 480 ] |
488 } | 481 } |
489 | 482 |
| 483 if (enable_extensions) { |
| 484 deps += [ "//extensions/shell:app_shell" ] |
| 485 } |
| 486 |
490 if (enable_nacl) { | 487 if (enable_nacl) { |
491 deps += [ "//components/nacl/loader:nacl_loader_unittests" ] | 488 deps += [ "//components/nacl/loader:nacl_loader_unittests" ] |
492 | 489 |
493 if (is_linux) { | 490 if (is_linux) { |
494 # TODO(dpranke): Figure out what platforms should actually have this. | 491 # TODO(dpranke): Figure out what platforms should actually have this. |
495 deps += [ | 492 deps += [ |
496 "//components/nacl/loader:helper_nonsfi", | 493 "//components/nacl/loader:helper_nonsfi", |
497 "//components/nacl/loader:nacl_helper", | 494 "//components/nacl/loader:nacl_helper", |
498 "//components/nacl/loader:nacl_helper_nonsfi_unittests", | 495 "//components/nacl/loader:nacl_helper_nonsfi_unittests", |
499 ] | 496 ] |
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
943 assert(target_name != "") # Mark as used. | 940 assert(target_name != "") # Mark as used. |
944 sources = invoker.actual_sources | 941 sources = invoker.actual_sources |
945 assert( | 942 assert( |
946 sources == invoker.actual_sources, | 943 sources == invoker.actual_sources, |
947 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 944 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
948 } | 945 } |
949 | 946 |
950 assert_valid_out_dir("_unused") { | 947 assert_valid_out_dir("_unused") { |
951 actual_sources = [ "$root_build_dir/foo" ] | 948 actual_sources = [ "$root_build_dir/foo" ] |
952 } | 949 } |
OLD | NEW |