| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 deps = [] | 95 deps = [] |
| 96 } | 96 } |
| 97 | 97 |
| 98 # TODO(GYP_GONE): Figure out if we really need this target or if there's | 98 # TODO(GYP_GONE): Figure out if we really need this target or if there's |
| 99 # some better way to specify things. | 99 # some better way to specify things. |
| 100 if (is_win) { | 100 if (is_win) { |
| 101 group("chrome_official_builder_no_unittests") { | 101 group("chrome_official_builder_no_unittests") { |
| 102 deps = [ | 102 deps = [ |
| 103 "//chrome/installer/gcapi", | 103 "//chrome/installer/gcapi", |
| 104 "//chrome/installer/mini_installer", | 104 "//chrome/installer/mini_installer", |
| 105 "//components/policy:pack_policy_templates", |
| 105 "//courgette", | 106 "//courgette", |
| 106 | |
| 107 # TODO(GYP): crbug.com/621575 do we need to port this? | |
| 108 # "//chrome:pack_policy_templates", | |
| 109 | |
| 110 "//remoting/webapp", | 107 "//remoting/webapp", |
| 111 ] | 108 ] |
| 112 if (target_cpu == "x86") { | 109 if (target_cpu == "x86") { |
| 113 deps += [ "//courgette(//build/toolchain/win:x64)" ] | 110 deps += [ "//courgette(//build/toolchain/win:x64)" ] |
| 114 } | 111 } |
| 115 if (is_chrome_branded) { | 112 if (is_chrome_branded) { |
| 116 deps += [ "//remoting/host:remoting_host_installation" ] | 113 deps += [ "//remoting/host:remoting_host_installation" ] |
| 117 } | 114 } |
| 118 } | 115 } |
| 119 } | 116 } |
| (...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1013 assert(target_name != "") # Mark as used. | 1010 assert(target_name != "") # Mark as used. |
| 1014 sources = invoker.actual_sources | 1011 sources = invoker.actual_sources |
| 1015 assert( | 1012 assert( |
| 1016 sources == invoker.actual_sources, | 1013 sources == invoker.actual_sources, |
| 1017 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1014 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1018 } | 1015 } |
| 1019 | 1016 |
| 1020 assert_valid_out_dir("_unused") { | 1017 assert_valid_out_dir("_unused") { |
| 1021 actual_sources = [ "$root_build_dir/foo" ] | 1018 actual_sources = [ "$root_build_dir/foo" ] |
| 1022 } | 1019 } |
| OLD | NEW |