| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 deps = [ | 68 deps = [ |
| 69 ":gn_visibility", | 69 ":gn_visibility", |
| 70 "//base:base_unittests", | 70 "//base:base_unittests", |
| 71 "//chrome/installer", | 71 "//chrome/installer", |
| 72 "//net:net_unittests", | 72 "//net:net_unittests", |
| 73 "//sql:sql_unittests", | 73 "//sql:sql_unittests", |
| 74 "//tools/ipc_fuzzer:ipc_fuzzer_all", | 74 "//tools/ipc_fuzzer:ipc_fuzzer_all", |
| 75 "//url:url_unittests", | 75 "//url:url_unittests", |
| 76 ] | 76 ] |
| 77 | 77 |
| 78 if (!is_android && !is_chromecast) { | |
| 79 deps += [ | |
| 80 "//crypto:crypto_unittests", | |
| 81 "//google_apis/gcm:gcm_unit_tests", | |
| 82 ] | |
| 83 } | |
| 84 | |
| 85 if (!is_fuchsia) { | 78 if (!is_fuchsia) { |
| 86 deps += [ | 79 deps += [ |
| 87 "//components:components_unittests", | 80 "//components:components_unittests", |
| 88 "//skia:skia_unittests", | 81 "//skia:skia_unittests", |
| 89 "//tools/metrics:metrics_metadata", | 82 "//tools/metrics:metrics_metadata", |
| 90 "//ui/base:ui_base_unittests", | 83 "//ui/base:ui_base_unittests", |
| 91 "//ui/gfx:gfx_unittests", | 84 "//ui/gfx:gfx_unittests", |
| 92 ] | 85 ] |
| 93 } | 86 } |
| 94 | 87 |
| 88 if (!is_android && !is_chromecast && !is_fuchsia) { |
| 89 deps += [ |
| 90 "//crypto:crypto_unittests", |
| 91 "//google_apis/gcm:gcm_unit_tests", |
| 92 ] |
| 93 } |
| 94 |
| 95 if (!is_ios && !is_android && !is_chromecast && !is_fuchsia) { | 95 if (!is_ios && !is_android && !is_chromecast && !is_fuchsia) { |
| 96 deps += [ | 96 deps += [ |
| 97 "//chrome", | 97 "//chrome", |
| 98 "//chrome/test:browser_tests", | 98 "//chrome/test:browser_tests", |
| 99 "//chrome/test:interactive_ui_tests", | 99 "//chrome/test:interactive_ui_tests", |
| 100 "//chrome/test:sync_integration_tests", | 100 "//chrome/test:sync_integration_tests", |
| 101 "//chrome/test/chromedriver:chromedriver_unittests", | 101 "//chrome/test/chromedriver:chromedriver_unittests", |
| 102 "//components/sync/tools:sync_client", | 102 "//components/sync/tools:sync_client", |
| 103 "//components/sync/tools:sync_listen_notifications", | 103 "//components/sync/tools:sync_listen_notifications", |
| 104 "//extensions:extensions_browsertests", | 104 "//extensions:extensions_browsertests", |
| (...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 "//testing/gtest:gtest_main", | 549 "//testing/gtest:gtest_main", |
| 550 "//third_party/pdfium/samples:pdfium_diff", | 550 "//third_party/pdfium/samples:pdfium_diff", |
| 551 "//third_party/tcmalloc:addr2line-pdb", | 551 "//third_party/tcmalloc:addr2line-pdb", |
| 552 "//tools/win/chromeexts:chromeexts", | 552 "//tools/win/chromeexts:chromeexts", |
| 553 ] | 553 ] |
| 554 | 554 |
| 555 if (!(is_component_build && is_debug && target_cpu == "x86")) { | 555 if (!(is_component_build && is_debug && target_cpu == "x86")) { |
| 556 deps += | 556 deps += |
| 557 [ "//chrome/installer/mini_installer:next_version_mini_installer" ] | 557 [ "//chrome/installer/mini_installer:next_version_mini_installer" ] |
| 558 } | 558 } |
| 559 } else if (!is_android && !is_ios) { | 559 } else if (!is_android && !is_ios && !is_fuchsia) { |
| 560 deps += [ "//breakpad:symupload($host_toolchain)" ] | 560 deps += [ "//breakpad:symupload($host_toolchain)" ] |
| 561 } | 561 } |
| 562 | 562 |
| 563 if (is_chromecast) { | 563 if (is_chromecast) { |
| 564 deps += [ "//chromecast:cast_shell" ] | 564 deps += [ "//chromecast:cast_shell" ] |
| 565 } | 565 } |
| 566 | 566 |
| 567 if (is_mac || is_win) { | 567 if (is_mac || is_win) { |
| 568 deps += [ | 568 deps += [ |
| 569 "//third_party/crashpad/crashpad/handler:crashpad_handler", | 569 "//third_party/crashpad/crashpad/handler:crashpad_handler", |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1065 assert(target_name != "") # Mark as used. | 1065 assert(target_name != "") # Mark as used. |
| 1066 sources = invoker.actual_sources | 1066 sources = invoker.actual_sources |
| 1067 assert( | 1067 assert( |
| 1068 sources == invoker.actual_sources, | 1068 sources == invoker.actual_sources, |
| 1069 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1069 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1070 } | 1070 } |
| 1071 | 1071 |
| 1072 assert_valid_out_dir("_unused") { | 1072 assert_valid_out_dir("_unused") { |
| 1073 actual_sources = [ "$root_build_dir/foo" ] | 1073 actual_sources = [ "$root_build_dir/foo" ] |
| 1074 } | 1074 } |
| OLD | NEW |