| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 deps = [] | 106 deps = [] |
| 107 } | 107 } |
| 108 | 108 |
| 109 # TODO(GYP_GONE): Figure out if we really need this target or if there's | 109 # TODO(GYP_GONE): Figure out if we really need this target or if there's |
| 110 # some better way to specify things. | 110 # some better way to specify things. |
| 111 if (is_win) { | 111 if (is_win) { |
| 112 group("chrome_official_builder_no_unittests") { | 112 group("chrome_official_builder_no_unittests") { |
| 113 deps = [ | 113 deps = [ |
| 114 "//chrome/installer/gcapi", | 114 "//chrome/installer/gcapi", |
| 115 "//chrome/installer/mini_installer", | 115 "//chrome/installer/mini_installer", |
| 116 "//cloud_print", |
| 116 "//components/policy:pack_policy_templates", | 117 "//components/policy:pack_policy_templates", |
| 117 "//courgette", | 118 "//courgette", |
| 118 "//courgette:copy_courgette_binaries", | 119 "//courgette:copy_courgette_binaries", |
| 119 "//remoting/webapp", | 120 "//remoting/webapp", |
| 120 ] | 121 ] |
| 121 | 122 |
| 122 if (target_cpu == "x86") { | 123 if (target_cpu == "x86") { |
| 123 if (is_clang) { | 124 if (is_clang) { |
| 124 deps += [ "//courgette(//build/toolchain/win:clang_x64)" ] | 125 deps += [ "//courgette(//build/toolchain/win:clang_x64)" ] |
| 125 } else { | 126 } else { |
| (...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1101 assert(target_name != "") # Mark as used. | 1102 assert(target_name != "") # Mark as used. |
| 1102 sources = invoker.actual_sources | 1103 sources = invoker.actual_sources |
| 1103 assert( | 1104 assert( |
| 1104 sources == invoker.actual_sources, | 1105 sources == invoker.actual_sources, |
| 1105 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1106 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1106 } | 1107 } |
| 1107 | 1108 |
| 1108 assert_valid_out_dir("_unused") { | 1109 assert_valid_out_dir("_unused") { |
| 1109 actual_sources = [ "$root_build_dir/foo" ] | 1110 actual_sources = [ "$root_build_dir/foo" ] |
| 1110 } | 1111 } |
| OLD | NEW |