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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 ] | 315 ] |
316 } | 316 } |
317 | 317 |
318 if (target_cpu != "x64") { | 318 if (target_cpu != "x64") { |
319 deps += [ | 319 deps += [ |
320 "//content/shell/android:chromium_linker_test_apk", | 320 "//content/shell/android:chromium_linker_test_apk", |
321 "//third_party/android_platform:android_relocation_packer_unittests($hos
t_toolchain)", | 321 "//third_party/android_platform:android_relocation_packer_unittests($hos
t_toolchain)", |
322 ] | 322 ] |
323 } | 323 } |
324 | 324 |
325 if (has_chrome_android_internal) { | 325 if (enable_chrome_android_internal) { |
326 deps += [ "//clank" ] | 326 deps += [ "//clank" ] |
327 } | 327 } |
328 } | 328 } |
329 | 329 |
330 if (is_linux || is_android) { | 330 if (is_linux || is_android) { |
331 deps += [ | 331 deps += [ |
332 "//breakpad:breakpad_unittests", | 332 "//breakpad:breakpad_unittests", |
333 "//breakpad:core-2-minidump", | 333 "//breakpad:core-2-minidump", |
334 "//breakpad:generate_test_dump", | 334 "//breakpad:generate_test_dump", |
335 "//breakpad:minidump-2-core", | 335 "//breakpad:minidump-2-core", |
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1076 assert(target_name != "") # Mark as used. | 1076 assert(target_name != "") # Mark as used. |
1077 sources = invoker.actual_sources | 1077 sources = invoker.actual_sources |
1078 assert( | 1078 assert( |
1079 sources == invoker.actual_sources, | 1079 sources == invoker.actual_sources, |
1080 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1080 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
1081 } | 1081 } |
1082 | 1082 |
1083 assert_valid_out_dir("_unused") { | 1083 assert_valid_out_dir("_unused") { |
1084 actual_sources = [ "$root_build_dir/foo" ] | 1084 actual_sources = [ "$root_build_dir/foo" ] |
1085 } | 1085 } |
OLD | NEW |