| 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 |
| 11 import("//build/config/compiler/compiler.gni") |
| 11 import("//build/config/features.gni") | 12 import("//build/config/features.gni") |
| 12 import("//build/config/sanitizers/sanitizers.gni") | 13 import("//build/config/sanitizers/sanitizers.gni") |
| 13 import("//build/config/ui.gni") | 14 import("//build/config/ui.gni") |
| 14 import("//build_overrides/v8.gni") | 15 import("//build_overrides/v8.gni") |
| 15 import("//media/media_options.gni") | 16 import("//media/media_options.gni") |
| 16 import("//third_party/openh264/openh264_args.gni") | 17 import("//third_party/openh264/openh264_args.gni") |
| 17 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 18 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
| 18 | 19 |
| 19 if (is_android) { | 20 if (is_android) { |
| 20 import("//build/config/android/config.gni") | 21 import("//build/config/android/config.gni") |
| (...skipping 966 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 987 assert(target_name != "") # Mark as used. | 988 assert(target_name != "") # Mark as used. |
| 988 sources = invoker.actual_sources | 989 sources = invoker.actual_sources |
| 989 assert( | 990 assert( |
| 990 sources == invoker.actual_sources, | 991 sources == invoker.actual_sources, |
| 991 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 992 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 992 } | 993 } |
| 993 | 994 |
| 994 assert_valid_out_dir("_unused") { | 995 assert_valid_out_dir("_unused") { |
| 995 actual_sources = [ "$root_build_dir/foo" ] | 996 actual_sources = [ "$root_build_dir/foo" ] |
| 996 } | 997 } |
| OLD | NEW |