| 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 "//printing:printing_unittests", | 187 "//printing:printing_unittests", |
| 188 "//third_party/cacheinvalidation:cacheinvalidation_unittests", | 188 "//third_party/cacheinvalidation:cacheinvalidation_unittests", |
| 189 "//third_party/codesighs", | 189 "//third_party/codesighs", |
| 190 "//third_party/pdfium/samples:pdfium_test", | 190 "//third_party/pdfium/samples:pdfium_test", |
| 191 "//tools/battor_agent", | 191 "//tools/battor_agent", |
| 192 "//tools/battor_agent:battor_agent_unittests", | 192 "//tools/battor_agent:battor_agent_unittests", |
| 193 "//tools/gn", | 193 "//tools/gn", |
| 194 "//tools/gn:gn_unittests", | 194 "//tools/gn:gn_unittests", |
| 195 "//tools/perf/clear_system_cache", | 195 "//tools/perf/clear_system_cache", |
| 196 "//ui/accessibility:accessibility_unittests", | 196 "//ui/accessibility:accessibility_unittests", |
| 197 "//ui/app_list:app_list_unittests", | |
| 198 ] | 197 ] |
| 199 } | 198 } |
| 200 | 199 |
| 201 if (!is_ios) { | 200 if (!is_ios) { |
| 202 # TODO(GYP): Figure out which of these should actually build on iOS, | 201 # TODO(GYP): Figure out which of these should actually build on iOS, |
| 203 # and whether there should be other targets that are iOS-only and missing. | 202 # and whether there should be other targets that are iOS-only and missing. |
| 204 deps += [ | 203 deps += [ |
| 205 "//cc:cc_unittests", | 204 "//cc:cc_unittests", |
| 206 "//chrome/test:unit_tests", | 205 "//chrome/test:unit_tests", |
| 207 "//components:components_browsertests", | 206 "//components:components_browsertests", |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 } | 264 } |
| 266 | 265 |
| 267 if (enable_remoting) { | 266 if (enable_remoting) { |
| 268 deps += [ "//remoting:remoting_all" ] | 267 deps += [ "//remoting:remoting_all" ] |
| 269 } | 268 } |
| 270 | 269 |
| 271 if (toolkit_views) { | 270 if (toolkit_views) { |
| 272 deps += [ "//ui/views:views_unittests" ] | 271 deps += [ "//ui/views:views_unittests" ] |
| 273 } | 272 } |
| 274 | 273 |
| 274 if (enable_app_list) { |
| 275 deps += [ "//ui/app_list:app_list_unittests" ] |
| 276 } |
| 277 |
| 278 if (enable_app_list && use_aura) { |
| 279 deps += [ |
| 280 # TODO(tapted): Move this into enable_app_list when enable_app_list is not |
| 281 # true on Mac. |
| 282 "//ui/app_list/presenter:app_list_presenter_unittests", |
| 283 ] |
| 284 } |
| 285 |
| 275 if (use_aura) { | 286 if (use_aura) { |
| 276 deps += [ | 287 deps += [ |
| 277 "//ash:ash_shell_with_content", | 288 "//ash:ash_shell_with_content", |
| 278 "//ash:ash_unittests", | 289 "//ash:ash_unittests", |
| 279 "//ui/app_list/presenter:app_list_presenter_unittests", | |
| 280 "//ui/aura:aura_unittests", | 290 "//ui/aura:aura_unittests", |
| 281 "//ui/aura:demo", | 291 "//ui/aura:demo", |
| 282 "//ui/wm:wm_unittests", | 292 "//ui/wm:wm_unittests", |
| 283 ] | 293 ] |
| 284 } | 294 } |
| 285 | 295 |
| 286 if (use_ozone) { | 296 if (use_ozone) { |
| 287 deps += [ "//ui/ozone" ] | 297 deps += [ "//ui/ozone" ] |
| 288 } | 298 } |
| 289 | 299 |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 "//ui/message_center:message_center_unittests", | 556 "//ui/message_center:message_center_unittests", |
| 547 "//ui/snapshot:snapshot_unittests", | 557 "//ui/snapshot:snapshot_unittests", |
| 548 "//ui/views/examples:views_examples_with_content_exe", | 558 "//ui/views/examples:views_examples_with_content_exe", |
| 549 ] | 559 ] |
| 550 | 560 |
| 551 if (!is_debug && !is_component_build) { | 561 if (!is_debug && !is_component_build) { |
| 552 deps += [ "//chrome/tools/service_discovery_sniffer" ] | 562 deps += [ "//chrome/tools/service_discovery_sniffer" ] |
| 553 } | 563 } |
| 554 } | 564 } |
| 555 | 565 |
| 556 if (toolkit_views) { | 566 if (enable_app_list) { |
| 557 deps += [ "//ui/app_list:app_list_demo" ] | 567 deps += [ "//ui/app_list:app_list_demo" ] |
| 558 } | 568 } |
| 559 | 569 |
| 560 if (use_x11) { | 570 if (use_x11) { |
| 561 if (target_cpu != "arm") { | 571 if (target_cpu != "arm") { |
| 562 deps += [ "//gpu/tools/compositor_model_bench" ] | 572 deps += [ "//gpu/tools/compositor_model_bench" ] |
| 563 } | 573 } |
| 564 } | 574 } |
| 565 } | 575 } |
| 566 | 576 |
| (...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 970 assert(target_name != "") # Mark as used. | 980 assert(target_name != "") # Mark as used. |
| 971 sources = invoker.actual_sources | 981 sources = invoker.actual_sources |
| 972 assert( | 982 assert( |
| 973 sources == invoker.actual_sources, | 983 sources == invoker.actual_sources, |
| 974 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 984 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 975 } | 985 } |
| 976 | 986 |
| 977 assert_valid_out_dir("_unused") { | 987 assert_valid_out_dir("_unused") { |
| 978 actual_sources = [ "$root_build_dir/foo" ] | 988 actual_sources = [ "$root_build_dir/foo" ] |
| 979 } | 989 } |
| OLD | NEW |