# in the source tree, e.g. for third party source trees.
secondary_source = "//build/secondary/"
+# The python interpreter to use by default. On Windows, this will look
+# for python3.exe and python3.bat.
+script_executable = "python3"
+
# These arguments override the default values for items in a declare_args
# block. "gn args" in turn can override these.
#
# also needs to be defined to src/ios/BUILD.gn (respectively removed from both
# location when it is removed).
- v8_extra_library_files = [
- # Dependencies used by the extra libraries. Putting them here causes them
- # to be executed first during snapshot creation.
- "//third_party/blink/renderer/core/streams/CommonOperations.js",
- "//third_party/blink/renderer/core/streams/CommonStrings.js",
- "//third_party/blink/renderer/core/streams/SimpleQueue.js",
-
- # Extra libraries.
- "//third_party/blink/renderer/core/streams/ByteLengthQueuingStrategy.js",
- "//third_party/blink/renderer/core/streams/CountQueuingStrategy.js",
- "//third_party/blink/renderer/core/streams/ReadableStream.js",
- "//third_party/blink/renderer/core/streams/WritableStream.js",
- "//third_party/blink/renderer/core/streams/TransformStream.js",
- ]
+ v8_extra_library_files = []
v8_experimental_extra_library_files = []
v8_enable_gdbjit = false
v8_imminent_deprecation_warnings = false
- # TODO(jochen): Remove this. http://crbug.com/v8/5830,
- # http://crbug.com/728583.
- v8_check_microtasks_scopes_consistency = false
-
# Don't include webrtc's builtin task queue implementation.
rtc_link_task_queue_impl = false
# Changes some setup for the Crashpad build to set them to build against
# Chromium's zlib, base, etc.
crashpad_dependencies = "chromium"
+
+ # Override ANGLE's Vulkan dependencies.
+ angle_vulkan_headers_dir = "//third_party/vulkan-deps/vulkan-headers/src"
+ angle_vulkan_loader_dir = "//third_party/vulkan-deps/vulkan-loader/src"
+ angle_vulkan_tools_dir = "//third_party/vulkan-deps/vulkan-tools/src"
+ angle_vulkan_validation_layers_dir =
+ "//third_party/vulkan-deps/vulkan-validation-layers/src"
}
-# These are the targets to check headers for by default. The files in targets
-# matching these patterns (see "gn help label_pattern" for format) will have
+# These are the targets to skip header checking by default. The files in targets
+# matching these patterns (see "gn help label_pattern" for format) will not have
# their includes checked for proper dependencies when you run either
# "gn check" or "gn gen --check".
-check_targets = [
- #"//apps/*", # Medium-hard.
- "//ash/*",
- "//base/*",
- "//blink/*",
- "//build/*",
- "//cc/*",
-
- #"//chrome/*", # Epic number of errors.
- "//chrome/app/*",
- "//chrome/app_shim/*",
- "//chrome/browser/chromeos/*",
- "//chrome/browser/extensions/*",
- "//chrome/browser/ui/*",
- "//chrome/common/*",
- "//chrome/installer/*",
- "//chrome/profiling",
- "//chrome/third_party/mozilla_security_manager/*",
- "//chrome/tools/*",
- "//chrome/utility/*",
- "//chromecast/*",
- "//chromeos/*",
- "//chrome_elf/*",
- "//cloud_print/*",
- "//components/*",
- "//content/*",
- "//courgette/*",
- "//crypto/*",
- "//data/*",
- "//dbus/*",
- "//device/*",
-
- #"//extensions/*", # Lots of errors.
- "//extensions:extensions_unittests",
- "//extensions/browser:browser_tests",
- "//extensions/browser:unit_tests",
- "//extensions/browser/install:*",
- "//extensions/common:common",
- "//extensions/common:unit_tests",
- "//extensions/renderer:unit_tests",
- "//extensions/shell/*",
- "//gin/*",
- "//google_apis/*",
- "//google_update/*",
- "//gpu/*",
-
- "//ios/*",
- "//ios_internal/*",
- "//ipc/*",
-
- #"//jingle/*",
- "//mash/*",
-
- "//media/*",
- "//mojo/*",
-
- #"//native_client/*",
- "//net/*",
-
- #"//pdf/*", # Medium-hard.
- #"//ppapi/*", # Lots of errors.
- "//ppapi/examples/*",
- "//ppapi/tests/*",
- "//printing/*",
-
- #"//remoting/*", # Medium-hard.
- "//rlz/*",
-
- #"//sandbox/*", # Medium-hard.
- "//services/*",
- "//skia/*",
- "//sql/*",
- "//storage/*",
- "//testing/*",
-
- #"//third_party/*", # May not ever want this.
- #"//third_party/breakpad/*", # Small errors.
- "//third_party/brotli/*",
- "//third_party/hunspell/*",
- "//third_party/leveldatabase/*",
-
- #"//third_party/libaddressinput/*", # Small errors.
- "//third_party/libphonenumber/*",
-
- #"//third_party/libwebp/*", # Errors: https://crbug.com/800762
- "//third_party/snappy/*",
-
- #"//third_party/WebKit/*", # Errors: https://crbug.com/800764
- #"//third_party/webrtc/*", # Errors: https://crbug.com/824831
- "//third_party/webrtc_overrides/*",
- "//tools/*",
-
- "//ui/*",
- "//url/*",
-
- #"//v8/*", # Errors: https://bugs.chromium.org/p/v8/issues/detail?id=7330
- "//webrunner/*",
+no_check_targets = [
+ "//extensions:*", # 28 errors
+ "//headless:*", # 107 errors
+
+ "//third_party/icu/*",
+ "//third_party/libwebp:*", # 7 errors, https://crbug.com/800762
+
+ # //v8, https://crbug.com/v8/7330
+ "//v8/src/inspector:inspector", # 20 errors
+ "//v8/test/cctest:cctest_sources", # 2 errors
+ "//v8:cppgc_base", # 1 error
+ "//v8:v8_internal_headers", # 11 errors
+ "//v8:v8_libplatform", # 2 errors
]
# These are the list of GN files that run exec_script. This whitelist exists
# to force additional review for new uses of exec_script, which is strongly
# discouraged.
#
-# GYPI_TO_GN
-#
-# Some of these entries are for legacy gypi_to_gn calls. We should not be
-# adding new calls to this script in the build (see //build/gypi_to_gn.py for
-# detailed advice). The only time you should be editing this list for
-# gypi_to_gn purposes is when moving an existing call to a different place.
-#
# PLEASE READ
#
# You should almost never need to add new exec_script calls. exec_script is
# additions, we keep the build fast and clean. If you think you need to add a
# new call, please consider:
#
-# - Do not use a script to check for the existance of a file or directory to
+# - Do not use a script to check for the existence of a file or directory to
# enable a different mode. Instead, use GN build args to enable or disable
# functionality and set options. An example is checking for a file in the
# src-internal repo to see if the corresponding src-internal feature should
# in the Chromium repo outside of //build.
"//build_overrides/build.gni",
+ "//chrome/android/webapk/shell_apk/prepare_upload_dir/BUILD.gn",
+
# TODO(dgn): Layer violation but breaks the build otherwise, see
# https://crbug.com/474506.
"//clank/java/BUILD.gn",
"//clank/native/BUILD.gn",
+ "//google_apis/BUILD.gn",
+ "//printing/BUILD.gn",
+
"//remoting/host/installer/linux/BUILD.gn",
"//remoting/remoting_version.gni",
"//remoting/host/installer/win/generate_clsids.gni",
- # TODO(dpranke): Get these from the appropriate repos instead.
- "//third_party/catapult/tracing/BUILD.gn",
- "//third_party/google_input_tools/inputview.gni",
-
"//tools/grit/grit_rule.gni",
-
- # Not gypi-to-gn.
- "//google_apis/BUILD.gn",
- "//printing/BUILD.gn",
+ "//tools/gritsettings/BUILD.gn",
]