| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 # builders that specify targets in the recipes directly. | 88 # builders that specify targets in the recipes directly. |
| 89 # Ideally it should not exist, and the builders should be specifying | 89 # Ideally it should not exist, and the builders should be specifying |
| 90 # more specific targets (or 'All') via the source-side | 90 # more specific targets (or 'All') via the source-side |
| 91 # //testing/buildbot/*.json files. We should simply delete this target | 91 # //testing/buildbot/*.json files. We should simply delete this target |
| 92 # and update any recipes that are using it. | 92 # and update any recipes that are using it. |
| 93 group("chromium_builder_tests") { | 93 group("chromium_builder_tests") { |
| 94 testonly = true | 94 testonly = true |
| 95 deps = [] | 95 deps = [] |
| 96 } | 96 } |
| 97 | 97 |
| 98 # TODO(GYP_GONE): Figure out if we really need this target or if there's |
| 99 # some better way to specify things. |
| 100 if (is_win) { |
| 101 group("chrome_official_builder_no_unittests") { |
| 102 deps = [ |
| 103 "//chrome/installer/gcapi", |
| 104 "//chrome/installer/mini_installer", |
| 105 "//courgette", |
| 106 |
| 107 # TODO(GYP): crbug.com/621575 do we need to port this? |
| 108 # "//chrome:pack_policy_templates", |
| 109 |
| 110 "//remoting/webapp", |
| 111 ] |
| 112 if (target_cpu == "x86") { |
| 113 deps += [ "//courgette(//build/toolchain/win:x64)" ] |
| 114 } |
| 115 if (is_chrome_branded) { |
| 116 deps += [ "//remoting/host:remoting_host_installation" ] |
| 117 } |
| 118 } |
| 119 } |
| 120 |
| 98 if (is_chromeos) { | 121 if (is_chromeos) { |
| 99 group("chromiumos_preflight") { | 122 group("chromiumos_preflight") { |
| 100 testonly = true | 123 testonly = true |
| 101 deps = [ | 124 deps = [ |
| 102 "//breakpad:minidump_stackwalk($host_toolchain)", | 125 "//breakpad:minidump_stackwalk($host_toolchain)", |
| 103 "//chrome", | 126 "//chrome", |
| 104 "//chrome/test/chromedriver", | 127 "//chrome/test/chromedriver", |
| 105 "//media:media_unittests", | 128 "//media:media_unittests", |
| 106 "//media/gpu:video_decode_accelerator_unittest", | 129 "//media/gpu:video_decode_accelerator_unittest", |
| 107 "//media/gpu:video_encode_accelerator_unittest", | 130 "//media/gpu:video_encode_accelerator_unittest", |
| (...skipping 882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 990 assert(target_name != "") # Mark as used. | 1013 assert(target_name != "") # Mark as used. |
| 991 sources = invoker.actual_sources | 1014 sources = invoker.actual_sources |
| 992 assert( | 1015 assert( |
| 993 sources == invoker.actual_sources, | 1016 sources == invoker.actual_sources, |
| 994 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1017 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 995 } | 1018 } |
| 996 | 1019 |
| 997 assert_valid_out_dir("_unused") { | 1020 assert_valid_out_dir("_unused") { |
| 998 actual_sources = [ "$root_build_dir/foo" ] | 1021 actual_sources = [ "$root_build_dir/foo" ] |
| 999 } | 1022 } |
| OLD | NEW |