| 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 deps += [ "//tools/xdisplaycheck" ] | 250 deps += [ "//tools/xdisplaycheck" ] |
| 251 } | 251 } |
| 252 | 252 |
| 253 if (is_win) { | 253 if (is_win) { |
| 254 deps += [ | 254 deps += [ |
| 255 "//chrome/installer/gcapi", | 255 "//chrome/installer/gcapi", |
| 256 "//chrome/tools/build/win/syzygy:chrome_dll_syzygy", | 256 "//chrome/tools/build/win/syzygy:chrome_dll_syzygy", |
| 257 ] | 257 ] |
| 258 } | 258 } |
| 259 | 259 |
| 260 if (is_mac) { |
| 261 deps += [ "//chrome/installer/gcapi_mac:gcapi_example" ] |
| 262 } |
| 263 |
| 260 if (is_android) { | 264 if (is_android) { |
| 261 deps += [ | 265 deps += [ |
| 262 "//base:base_junit_tests", | 266 "//base:base_junit_tests", |
| 263 "//base/android/linker:chromium_android_linker", | 267 "//base/android/linker:chromium_android_linker", |
| 264 "//build/android/gyp/test:hello_world", | 268 "//build/android/gyp/test:hello_world", |
| 265 "//chrome/android/webapk/shell_apk:webapk", | 269 "//chrome/android/webapk/shell_apk:webapk", |
| 266 "//components/invalidation/impl:components_invalidation_impl_junit_tests", | 270 "//components/invalidation/impl:components_invalidation_impl_junit_tests", |
| 267 "//components/policy/android:components_policy_junit_tests", | 271 "//components/policy/android:components_policy_junit_tests", |
| 268 "//content/public/android:content_junit_tests", | 272 "//content/public/android:content_junit_tests", |
| 269 "//content/shell/android:content_shell_apk", | 273 "//content/shell/android:content_shell_apk", |
| (...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1092 assert(target_name != "") # Mark as used. | 1096 assert(target_name != "") # Mark as used. |
| 1093 sources = invoker.actual_sources | 1097 sources = invoker.actual_sources |
| 1094 assert( | 1098 assert( |
| 1095 sources == invoker.actual_sources, | 1099 sources == invoker.actual_sources, |
| 1096 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1100 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1097 } | 1101 } |
| 1098 | 1102 |
| 1099 assert_valid_out_dir("_unused") { | 1103 assert_valid_out_dir("_unused") { |
| 1100 actual_sources = [ "$root_build_dir/foo" ] | 1104 actual_sources = [ "$root_build_dir/foo" ] |
| 1101 } | 1105 } |
| OLD | NEW |