Chromium Code Reviews| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 81 # TODO(GYP): This target exists for compatibility with GYP for the builders. | 81 # TODO(GYP): This target exists for compatibility with GYP for the builders. |
| 82 # For now, this builds everything. We should decide if we want to build less. | 82 # For now, this builds everything. We should decide if we want to build less. |
| 83 group("chromium_builder_tests") { | 83 group("chromium_builder_tests") { |
| 84 testonly = true | 84 testonly = true |
| 85 | 85 |
| 86 deps = [ | 86 deps = [ |
| 87 ":All", | 87 ":All", |
| 88 ] | 88 ] |
| 89 } | 89 } |
| 90 | 90 |
| 91 if (is_chromeos) { | |
| 92 group("chromiumos_preflight") { | |
| 93 testonly = true | |
| 94 deps = [ | |
| 95 "//breakpad:minidump_stackwalk($host_toolchain)", | |
| 96 "//chrome", | |
| 97 "//chrome/test/chromedriver", | |
| 98 | |
| 99 # TODO(crbug.com/607362) | |
| 100 # "//content/test:video_decode_accelerator_unittest", | |
| 101 # "//content/test:video_encode_accelerator_unittest", | |
| 102 | |
| 103 "//media:media_unittests", | |
| 104 "//ppapi/examples/video_decode", | |
| 105 "//sandbox/linux:chrome_sandbox", | |
| 106 "//sandbox/linux:sandbox_linux_unittests", | |
| 107 | |
| 108 # TODO(crbug.com/607362) | |
| 109 #"//third_party/catapult/telemetry:bitmaptools", | |
|
hashimoto
2016/04/28 02:26:38
I know nothing about trybot configs, so just compa
| |
| 110 | |
| 111 "//tools/perf/clear_system_cache", | |
| 112 ] | |
| 113 } | |
| 114 } | |
| 115 | |
| 91 # The "both_gn_and_gyp" target should reflect every target that is built | 116 # The "both_gn_and_gyp" target should reflect every target that is built |
| 92 # in both the GN and GYP builds, and ideally it should match the | 117 # in both the GN and GYP builds, and ideally it should match the |
| 93 # "both_gn_and_gyp" target in build/gn_migration.gypi line-for-line. | 118 # "both_gn_and_gyp" target in build/gn_migration.gypi line-for-line. |
| 94 # | 119 # |
| 95 # TODO(GYP): Add build steps that check and enforce this on the bots. | 120 # TODO(GYP): Add build steps that check and enforce this on the bots. |
| 96 group("both_gn_and_gyp") { | 121 group("both_gn_and_gyp") { |
| 97 testonly = true | 122 testonly = true |
| 98 deps = [ | 123 deps = [ |
| 99 "//base:base_unittests", | 124 "//base:base_unittests", |
| 100 "//chrome/installer", | 125 "//chrome/installer", |
| (...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 940 assert(target_name != "") # Mark as used. | 965 assert(target_name != "") # Mark as used. |
| 941 sources = invoker.actual_sources | 966 sources = invoker.actual_sources |
| 942 assert( | 967 assert( |
| 943 sources == invoker.actual_sources, | 968 sources == invoker.actual_sources, |
| 944 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") | 969 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") |
| 945 } | 970 } |
| 946 | 971 |
| 947 assert_valid_out_dir("_unused") { | 972 assert_valid_out_dir("_unused") { |
| 948 actual_sources = [ "$root_build_dir/foo" ] | 973 actual_sources = [ "$root_build_dir/foo" ] |
| 949 } | 974 } |
| OLD | NEW |