blob: 4b0b203bfb2ba2f3e66cd2f839ee4a205a2c2946 [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.
brettw29c2f892015-11-27 17:03:4920 "//base/*",
brettwbc44c0a92015-02-20 22:30:3921 "//blink/*",
22 "//breakpad/*",
23 "//build/*",
brettwe75311d2015-02-17 23:56:4624 "//cc/*",
brettwbc44c0a92015-02-20 22:30:3925
26 #"//chrome/*", # Epic number of errors.
brettw0b9c96b12015-10-15 23:06:0427 "//chrome/common/*",
brettwf986f9572015-10-07 17:18:1528 "//chrome/installer/*",
brettw0b9c96b12015-10-15 23:06:0429 "//chrome/third_party/mozilla_security_manager/*",
brettwbc44c0a92015-02-20 22:30:3930 "//chromecast/*",
brettwa219e922015-12-07 22:23:3931 "//chrome_elf/*",
32 "//cloud_print/*",
brettwb5440a92015-12-03 00:47:1233 "//components/*",
tfarina3de81942015-06-12 13:54:4934
brettwbc44c0a92015-02-20 22:30:3935 #"//content/*", # A whole lot of errors.
brettwf986f9572015-10-07 17:18:1536 "//content/public/common:result_codes",
brettw70b359a2015-10-14 23:43:2337 "//content/public/common:static_switches",
brettwbc44c0a92015-02-20 22:30:3938 "//courgette/*",
39 "//crypto/*",
40 "//data/*",
41 "//dbus/*",
brettwbda835b2015-12-04 22:12:3042 "//device/*",
brettwbc44c0a92015-02-20 22:30:3943
44 #"//extensions/*", # Lots of errors.
jbromanb5e31792015-12-09 17:13:0245 "//gin/*",
tfarina9ee681962015-03-02 03:20:1346 "//google_apis/*",
brettwbc44c0a92015-02-20 22:30:3947 "//google_update/*",
48
49 #"//gpu/*", # Lots of errors.
tfarinaf89722432015-05-15 19:30:1950 "//gpu:*",
51
brettwbc44c0a92015-02-20 22:30:3952 #"//ios/*",
brettwe75311d2015-02-17 23:56:4653 "//ipc/*",
brettwbc44c0a92015-02-20 22:30:3954
55 #"//jingle/*",
sky88d7709e2015-08-12 19:19:4956 "//mandoline/*",
skyb0446352015-11-18 00:43:5657 "//mash/*",
sky88d7709e2015-08-12 19:19:4958
brettwbc44c0a92015-02-20 22:30:3959 #"//media/*", # Lots of errors.
sky343931432015-08-10 19:22:1960 "mojo/*",
skyd412f6e2015-07-22 17:22:1361
brettwbc44c0a92015-02-20 22:30:3962 #"//native_client/*",
63 #"//net/*", # Needs GN binary changes to work on Android.
64
65 #"//pdf/*", # Medium-hard.
66 #"//ppapi/*", # Lots of errors.
67 "//printing/*",
68
69 #"//remoting/*", # Medium-hard.
70 #"//rlz/*", # Needs checking on Windows.
71 #"//sandbox/*", # Medium-hard.
72 "//sdch/*",
73 "//skia/*",
74 "//sql/*",
75 "//storage/*",
76 "//sync/*",
77 "//testing/*",
78
79 #"//third_party/*", # May not ever want this.
jbroman626eecf2015-12-03 18:59:0080 "//third_party/WebKit/Source/*",
brettwbc44c0a92015-02-20 22:30:3981 "//tools/*",
82
brettwb7f2c302015-12-08 01:29:2183 #"//ui/*", # Work left on Chromeos w/ use_ozone. Some parts of UI that work:
84 "//ui/accessibility/*",
85 "//ui/android/*",
86 "//ui/app_list/*",
87 "//ui/aura/*",
88 "//ui/aura_extra/*",
89 "//ui/base/*",
90 "//ui/chromeos/*",
91 "//ui/compositor/*",
92 "//ui/display/*",
93 "//ui/events:events", # Specifically avoid //ui/events/ozone
94 "//ui/events:events_base",
95 "//ui/events:events_unittests",
96 "//ui/file_manager/*",
97 "//ui/gfx/*",
98 "//ui/gl/*",
99 "//ui/keyboard/*",
100 "//ui/login/*",
101 "//ui/message_center/*",
102 "//ui/metro_viewer/*",
103 "//ui/mojo/*",
104 "//ui/native_theme/*",
105 "//ui/platform_window/*",
106 "//ui/resources/*",
107 "//ui/shell_dialogs/*",
108 "//ui/snapshot/*",
109 "//ui/strings/*",
110 "//ui/surface/*",
111 "//ui/touch_selection/*",
112 "//ui/views/*",
113 "//ui/views_content_client/*",
114 "//ui/web_dialogs/*",
115 "//ui/webui/*",
116 "//ui/wm/*",
brettwbc44c0a92015-02-20 22:30:39117 "//url/*",
118 "//v8/*",
brettw0ead9772015-11-23 23:12:08119 "//win8/*",
brettwe75311d2015-02-17 23:56:46120]
brettwed99f7b2015-04-07 00:22:50121
122# These are the list of GN files that run exec_script. This whitelist exists
123# to force additional review for new uses of exec_script, which is strongly
124# discouraged except for gypi_to_gn calls.
125exec_script_whitelist = [
michaelbaicbcc7e62015-11-12 04:29:53126 "//android_webview/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50127 "//ash/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50128 "//build/config/android/config.gni",
129 "//build/config/android/internal_rules.gni",
130 "//build/config/android/rules.gni",
131 "//build/config/compiler/BUILD.gn",
132 "//build/config/gcc/gcc_version.gni",
133 "//build/config/ios/ios_sdk.gni",
134 "//build/config/linux/BUILD.gn",
135 "//build/config/linux/pkg_config.gni",
136 "//build/config/mac/mac_sdk.gni",
brettw888b65f2015-10-02 18:00:23137 "//build/config/posix/BUILD.gn",
agrieve45c8e9fd2015-12-03 20:56:48138 "//build/config/sysroot.gni",
Nico Weber8091cf92015-09-28 09:44:35139 "//build/config/win/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50140 "//build/config/win/visual_studio_version.gni",
141 "//build/gn_helpers.py",
142 "//build/gypi_to_gn.py",
dprankead0c1f42015-08-28 21:48:04143 "//build/linux/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50144 "//build/toolchain/gcc_toolchain.gni",
145 "//build/toolchain/mac/BUILD.gn",
dprankefa6ffe2f2015-08-31 20:17:52146 "//build/toolchain/nacl/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50147 "//build/toolchain/win/BUILD.gn",
brettw983c05622015-07-22 04:26:49148 "//build/util/version.gni",
brettwed99f7b2015-04-07 00:22:50149 "//chrome/android/BUILD.gn",
150 "//chrome/browser/BUILD.gn",
151 "//chrome/browser/chromeos/BUILD.gn",
152 "//chrome/browser/extensions/BUILD.gn",
plundblad70028e5c2015-07-09 09:01:05153 "//chrome/browser/resources/chromeos/chromevox/BUILD.gn",
imchengb6b09239f2015-05-15 21:41:55154 "//chrome/browser/media/router/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50155 "//chrome/browser/ui/BUILD.gn",
156 "//chrome/chrome_tests.gni",
157 "//chrome/common/BUILD.gn",
158 "//chrome/common/extensions/api/schemas.gni",
159 "//chrome/renderer/BUILD.gn",
160 "//chrome/test/BUILD.gn",
161 "//chrome/utility/BUILD.gn",
162 "//chromeos/BUILD.gn",
dgn470951712015-04-07 10:37:47163
164 # TODO(dgn): Layer violation but breaks the build otherwise, see
165 # https://crbug.com/474506
166 "//clank/java/BUILD.gn",
Newton Allen68f14da2015-06-17 20:48:34167 "//clank/native/BUILD.gn",
dgn470951712015-04-07 10:37:47168
brettwed99f7b2015-04-07 00:22:50169 "//components/domain_reliability/BUILD.gn",
jochen83c639f02015-04-22 17:07:37170 "//components/scheduler/scheduler.gni",
brettwed99f7b2015-04-07 00:22:50171 "//content/browser/browser.gni",
172 "//content/child/child.gni",
173 "//content/common/common.gni",
174 "//content/content.gni",
175 "//content/public/android/BUILD.gn",
176 "//content/renderer/renderer.gni",
177 "//content/test/BUILD.gn",
rockot7b6128a2015-05-18 20:18:00178 "//content/utility/utility.gni",
brettwed99f7b2015-04-07 00:22:50179 "//extensions/common/api/schemas.gni",
180 "//extensions/extensions.gni",
181 "//extensions/shell/app_shell.gni",
182 "//extensions/shell/common/api/schemas.gni",
183 "//google_apis/BUILD.gn",
184 "//gpu/gles2_conform_support/BUILD.gn",
ullysses.a.eoffcfd81412015-10-29 17:04:53185 "//gpu/khronos_glcts_support/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50186 "//jingle/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50187 "//net/BUILD.gn",
188 "//ppapi/ppapi_sources.gni",
189 "//printing/BUILD.gn",
190 "//remoting/host/BUILD.gn",
191 "//remoting/remoting_srcs.gni",
192 "//remoting/remoting_version.gni",
193 "//skia/BUILD.gn",
pkotwicz9ae3420e2015-11-25 03:52:20194 "//sync/protocol/protocol_sources.gni",
brettwed99f7b2015-04-07 00:22:50195 "//third_party/android_platform/BUILD.gn",
196 "//third_party/angle/BUILD.gn",
cwallez4c57af32015-09-03 14:54:49197 "//third_party/angle/src/tests/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50198 "//third_party/boringssl/BUILD.gn",
sullivan0cf87672015-08-04 17:10:32199 "//third_party/catapult/tracing/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50200 "//third_party/cld_2/BUILD.gn",
201 "//third_party/cython/rules.gni",
202 "//third_party/google_input_tools/inputview.gni",
203 "//third_party/harfbuzz-ng/BUILD.gn",
204 "//third_party/libaddressinput/BUILD.gn",
205 "//third_party/opus/BUILD.gn",
hbos17a7b4a22015-12-07 10:49:45206 "//third_party/openh264/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50207 "//third_party/WebKit/Source/bindings/bindings.gni",
208 "//third_party/WebKit/Source/bindings/scripts/scripts.gni",
209 "//third_party/WebKit/Source/config.gni",
210 "//third_party/WebKit/Source/core/core.gni",
211 "//third_party/WebKit/Source/devtools/BUILD.gn",
212 "//third_party/WebKit/Source/modules/modules.gni",
213 "//third_party/WebKit/Source/platform/BUILD.gn",
214 "//third_party/WebKit/Source/platform/platform.gni",
215 "//third_party/WebKit/Source/web/BUILD.gn",
216 "//third_party/WebKit/Source/wtf/BUILD.gn",
mcasas4337d5d32015-09-14 22:43:02217 "//third_party/WebKit/public/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50218 "//tools/gn/BUILD.gn",
219 "//tools/gn/build_settings.h",
220 "//tools/gn/command_help.cc",
221 "//tools/gn/docs/language.md",
222 "//tools/gn/format_test_data/053.gn",
223 "//tools/gn/format_test_data/053.golden",
224 "//tools/gn/format_test_data/055.gn",
225 "//tools/gn/format_test_data/055.golden",
226 "//tools/gn/function_exec_script.cc",
227 "//tools/gn/gn.gyp",
228 "//tools/gn/input_conversion.cc",
229 "//tools/gn/misc/emacs/gn.el",
230 "//tools/gn/misc/vim/syntax/gn.vim",
231 "//tools/gn/setup.cc",
lionel.g.landwerlin991e92d72015-07-09 08:46:25232 "//ui/accessibility/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50233 "//ui/views/BUILD.gn",
234]