Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Side by Side Diff: BUILD.gn

Issue 2160663003: Revert of gn: Remove unnecessary v8 defaults (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build_overrides/v8.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/compiler/compiler.gni")
12 import("//build/config/features.gni") 12 import("//build/config/features.gni")
13 import("//build/config/sanitizers/sanitizers.gni") 13 import("//build/config/sanitizers/sanitizers.gni")
14 import("//build/config/ui.gni") 14 import("//build/config/ui.gni")
15 import("//build_overrides/v8.gni") 15 import("//build_overrides/v8.gni")
16 import("//media/media_options.gni") 16 import("//media/media_options.gni")
17 import("//third_party/openh264/openh264_args.gni") 17 import("//third_party/openh264/openh264_args.gni")
18 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") 18 import("//tools/ipc_fuzzer/ipc_fuzzer.gni")
19 import("//v8/gni/v8.gni")
20 import("//v8/snapshot_toolchain.gni") 19 import("//v8/snapshot_toolchain.gni")
21 20
22 if (is_android) { 21 if (is_android) {
23 import("//build/config/android/config.gni") 22 import("//build/config/android/config.gni")
24 } 23 }
25 24
26 declare_args() { 25 declare_args() {
27 # A list of extra dependencies to add to the root target. This allows a 26 # A list of extra dependencies to add to the root target. This allows a
28 # checkout to add additional targets without explicitly changing any checked- 27 # checkout to add additional targets without explicitly changing any checked-
29 # in files. 28 # in files.
(...skipping 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 assert(target_name != "") # Mark as used. 1041 assert(target_name != "") # Mark as used.
1043 sources = invoker.actual_sources 1042 sources = invoker.actual_sources
1044 assert( 1043 assert(
1045 sources == invoker.actual_sources, 1044 sources == invoker.actual_sources,
1046 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") 1045 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283")
1047 } 1046 }
1048 1047
1049 assert_valid_out_dir("_unused") { 1048 assert_valid_out_dir("_unused") {
1050 actual_sources = [ "$root_build_dir/foo" ] 1049 actual_sources = [ "$root_build_dir/foo" ]
1051 } 1050 }
OLDNEW
« no previous file with comments | « no previous file | build_overrides/v8.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698