blob: 55b4c137dac3b04d4687d17c9bd2e1542d16b567 [file] [log] [blame]
brettw2bafab42014-11-27 18:36:171# This file is used by the GN meta build system to find the root of the source
2# tree and to set startup options. For documentation on the values set in this
3# file, run "gn help dotfile" at the command line.
[email protected]96ea63d2013-07-30 10:17:074
5# The location of the build configuration file.
6buildconfig = "//build/config/BUILDCONFIG.gn"
7
8# The secondary source root is a parallel directory tree where
scheibec4b3a42014-09-18 21:50:139# GN build files are placed when they can not be placed directly
10# in the source tree, e.g. for third party source trees.
[email protected]26688b86e2014-06-19 13:14:2611secondary_source = "//build/secondary/"
brettw2bafab42014-11-27 18:36:1712
13# These are the targets to check headers for by default. The files in targets
14# matching these patterns (see "gn help label_pattern" for format) will have
15# their includes checked for proper dependencies when you run either
16# "gn check" or "gn gen --check".
brettwe75311d2015-02-17 23:56:4617check_targets = [
brettwbc44c0a92015-02-20 22:30:3918 #"//apps/*", # Medium-hard.
19 #"//ash/*", # Medium-hard.
20 #"//base/*", # Needs GN binary changes to work on Android.
21 "//blink/*",
22 "//breakpad/*",
23 "//build/*",
brettwe75311d2015-02-17 23:56:4624 "//cc/*",
brettwbc44c0a92015-02-20 22:30:3925
26 #"//chrome/*", # Epic number of errors.
brettw74a2a34f2015-05-21 04:43:4027 "//chrome/installer/*",
brettwbc44c0a92015-02-20 22:30:3928 "//chromecast/*",
binjin41efe082015-02-23 12:34:5029
30 # TODO(brettw): Fix http://crbug.com/460828 and uncomment the following
31 # line.
32 #"//chrome_elf/*",
brettwbc44c0a92015-02-20 22:30:3933 "//cloud_print/*",
34
35 #"//components/*", # Lots of errors.
tfarina3de81942015-06-12 13:54:4936 "//components/bookmarks/*",
37
brettwbc44c0a92015-02-20 22:30:3938 #"//content/*", # A whole lot of errors.
39 "//courgette/*",
40 "//crypto/*",
41 "//data/*",
42 "//dbus/*",
43 "//device/*",
44
45 #"//extensions/*", # Lots of errors.
46 #"//gin/*", # Easy.
tfarina9ee681962015-03-02 03:20:1347 "//google_apis/*",
brettwbc44c0a92015-02-20 22:30:3948 "//google_update/*",
49
50 #"//gpu/*", # Lots of errors.
tfarinaf89722432015-05-15 19:30:1951 "//gpu:*",
52
brettwbc44c0a92015-02-20 22:30:3953 #"//ios/*",
brettwe75311d2015-02-17 23:56:4654 "//ipc/*",
brettwbc44c0a92015-02-20 22:30:3955
56 #"//jingle/*",
57 #"//media/*", # Lots of errors.
58 #"//mojo/*",
59 #"//native_client/*",
60 #"//net/*", # Needs GN binary changes to work on Android.
61
62 #"//pdf/*", # Medium-hard.
63 #"//ppapi/*", # Lots of errors.
64 "//printing/*",
65
66 #"//remoting/*", # Medium-hard.
67 #"//rlz/*", # Needs checking on Windows.
68 #"//sandbox/*", # Medium-hard.
69 "//sdch/*",
70 "//skia/*",
71 "//sql/*",
72 "//storage/*",
73 "//sync/*",
74 "//testing/*",
75
76 #"//third_party/*", # May not ever want this.
77 "//tools/*",
78
79 #"//ui/*", # Just a few problems.
80 "//url/*",
81 "//v8/*",
brettwe75311d2015-02-17 23:56:4682]
brettwed99f7b2015-04-07 00:22:5083
84# These are the list of GN files that run exec_script. This whitelist exists
85# to force additional review for new uses of exec_script, which is strongly
86# discouraged except for gypi_to_gn calls.
87exec_script_whitelist = [
88 "//ash/BUILD.gn",
89 "//build/config/android/BUILD.gn",
90 "//build/config/android/config.gni",
91 "//build/config/android/internal_rules.gni",
92 "//build/config/android/rules.gni",
93 "//build/config/compiler/BUILD.gn",
94 "//build/config/gcc/gcc_version.gni",
95 "//build/config/ios/ios_sdk.gni",
96 "//build/config/linux/BUILD.gn",
97 "//build/config/linux/pkg_config.gni",
98 "//build/config/mac/mac_sdk.gni",
99 "//build/config/win/visual_studio_version.gni",
100 "//build/gn_helpers.py",
101 "//build/gypi_to_gn.py",
102 "//build/toolchain/gcc_toolchain.gni",
103 "//build/toolchain/mac/BUILD.gn",
104 "//build/toolchain/win/BUILD.gn",
105 "//chrome/android/BUILD.gn",
106 "//chrome/browser/BUILD.gn",
107 "//chrome/browser/chromeos/BUILD.gn",
108 "//chrome/browser/extensions/BUILD.gn",
imchengb6b09239f2015-05-15 21:41:55109 "//chrome/browser/media/router/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50110 "//chrome/browser/ui/BUILD.gn",
111 "//chrome/chrome_tests.gni",
112 "//chrome/common/BUILD.gn",
113 "//chrome/common/extensions/api/schemas.gni",
114 "//chrome/renderer/BUILD.gn",
115 "//chrome/test/BUILD.gn",
116 "//chrome/utility/BUILD.gn",
117 "//chromeos/BUILD.gn",
dgn470951712015-04-07 10:37:47118
119 # TODO(dgn): Layer violation but breaks the build otherwise, see
120 # https://crbug.com/474506
121 "//clank/java/BUILD.gn",
122 "//clank/native/framework/BUILD.gn",
123
brettwed99f7b2015-04-07 00:22:50124 "//components/domain_reliability/BUILD.gn",
jochen83c639f02015-04-22 17:07:37125 "//components/scheduler/scheduler.gni",
brettwed99f7b2015-04-07 00:22:50126 "//components/webui_generator/generator/wug.gni",
127 "//content/browser/browser.gni",
128 "//content/child/child.gni",
129 "//content/common/common.gni",
130 "//content/content.gni",
131 "//content/public/android/BUILD.gn",
132 "//content/renderer/renderer.gni",
133 "//content/test/BUILD.gn",
rockot7b6128a2015-05-18 20:18:00134 "//content/utility/utility.gni",
brettwed99f7b2015-04-07 00:22:50135 "//extensions/common/api/schemas.gni",
136 "//extensions/extensions.gni",
137 "//extensions/shell/app_shell.gni",
138 "//extensions/shell/common/api/schemas.gni",
139 "//google_apis/BUILD.gn",
140 "//gpu/gles2_conform_support/BUILD.gn",
141 "//jingle/BUILD.gn",
142 "//native_client/build/toolchain/gcc_toolchain.gni",
143 "//native_client/build/toolchain/nacl/BUILD.gn",
144 "//native_client/build/config/android/BUILD.gn",
145 "//native_client/build/config/gcc/gcc_version.gni",
146 "//native_client/build/config/ios/ios_sdk.gni",
147 "//native_client/build/config/linux/BUILD.gn",
148 "//native_client/build/config/linux/pkg_config.gni",
149 "//native_client/build/config/mac/mac_sdk.gni",
150 "//native_client/build/config/win/visual_studio_version.gni",
151 "//native_client/build/toolchain/gcc_toolchain.gni",
152 "//native_client/build/toolchain/mac/BUILD.gn",
153 "//native_client/build/toolchain/nacl/BUILD.gn",
154 "//native_client/build/toolchain/win/BUILD.gn",
155 "//net/BUILD.gn",
156 "//ppapi/ppapi_sources.gni",
157 "//printing/BUILD.gn",
158 "//remoting/host/BUILD.gn",
159 "//remoting/remoting_srcs.gni",
160 "//remoting/remoting_version.gni",
161 "//skia/BUILD.gn",
162 "//third_party/android_platform/BUILD.gn",
163 "//third_party/angle/BUILD.gn",
164 "//third_party/boringssl/BUILD.gn",
165 "//third_party/cld_2/BUILD.gn",
166 "//third_party/cython/rules.gni",
167 "//third_party/google_input_tools/inputview.gni",
168 "//third_party/harfbuzz-ng/BUILD.gn",
169 "//third_party/libaddressinput/BUILD.gn",
170 "//third_party/opus/BUILD.gn",
dsinclairf4e1a7a2015-06-04 20:05:45171 "//third_party/trace-viewer/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50172 "//third_party/WebKit/Source/bindings/bindings.gni",
173 "//third_party/WebKit/Source/bindings/scripts/scripts.gni",
174 "//third_party/WebKit/Source/config.gni",
175 "//third_party/WebKit/Source/core/core.gni",
176 "//third_party/WebKit/Source/devtools/BUILD.gn",
177 "//third_party/WebKit/Source/modules/modules.gni",
178 "//third_party/WebKit/Source/platform/BUILD.gn",
179 "//third_party/WebKit/Source/platform/platform.gni",
180 "//third_party/WebKit/Source/web/BUILD.gn",
181 "//third_party/WebKit/Source/wtf/BUILD.gn",
182 "//tools/gn/BUILD.gn",
183 "//tools/gn/build_settings.h",
184 "//tools/gn/command_help.cc",
185 "//tools/gn/docs/language.md",
186 "//tools/gn/format_test_data/053.gn",
187 "//tools/gn/format_test_data/053.golden",
188 "//tools/gn/format_test_data/055.gn",
189 "//tools/gn/format_test_data/055.golden",
190 "//tools/gn/function_exec_script.cc",
191 "//tools/gn/gn.gyp",
192 "//tools/gn/input_conversion.cc",
193 "//tools/gn/misc/emacs/gn.el",
194 "//tools/gn/misc/vim/syntax/gn.vim",
195 "//tools/gn/setup.cc",
196 "//ui/views/BUILD.gn",
197]