blob: ef72b862e388a73189c3eb3669a8873bb2dcc652 [file] [log] [blame]
# This file is used by the GN meta build system to find the root of the source
# tree and to set startup options. For documentation on the values set in this
# file, run "gn help dotfile" at the command line.
# The location of the build configuration file.
buildconfig = "//build/config/BUILDCONFIG.gn"
# The secondary source root is a parallel directory tree where
# GN build files are placed when they can not be placed directly
# in the source tree, e.g. for third party source trees.
secondary_source = "//build/secondary/"
# 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
# their includes checked for proper dependencies when you run either
# "gn check" or "gn gen --check".
check_targets = [
#"//apps/*", # Medium-hard.
#"//ash/*", # Medium-hard.
#"//base/*", # Minor work on Windows.
"//blink/*",
"//breakpad/*",
"//build/*",
"//cc/*",
#"//chrome/*", # Epic number of errors.
"//chrome/common/*",
"//chrome/installer/*",
"//chrome/third_party/mozilla_security_manager/*",
"//chromecast/*",
# TODO(brettw): Fix http://crbug.com/460828 and uncomment the following
# line.
#"//chrome_elf/*",
#"//cloud_print/*",
#"//components/*", # Lots of errors.
"//components/about_handler/*",
"//components/about_ui/*",
"//components/app_modal/*",
"//components/audio_modem/*",
"//components/autofill/*",
"//components/auto_login_parser/*",
"//components/bookmarks/*",
"//components/browser_watcher/*",
"//components/browsing_data/*",
"//components/bubble/*",
"//components/captive_portal/*",
"//components/cdm/*",
"//components/certificate_reporting/*",
"//components/certificate_transparency/*",
"//components/chrome_apps/*",
"//components/clipboard/*",
"//components/cloud_devices/*",
"//components/component_updater/*",
"//components/compression/*",
"//components/constrained_window/*",
"//components/content_settings/*",
"//components/cookie_config/*",
"//components/copresence/*",
"//components/crash/*",
"//components/cronet/*",
"//components/crx_file/*",
"//components/data_reduction_proxy/*",
"//components/data_usage/*",
"//components/data_use_measurement/*",
"//components/device_event_log/*",
"//components/devtools_discovery/*",
"//components/devtools_http_handler/*",
"//components/devtools_service/*",
# There are some Android problems where the jni_registrar referenced from
# core includes stuff from the content version of the dom_distiller.
#"//components/dom_distiller/*",
"//components/domain_reliability/*",
"//components/drive/*",
"//components/enhanced_bookmarks/*",
"//components/error_page/*",
"//components/external_video_surface/*",
"//components/favicon/*",
"//components/favicon_base/*",
"//components/feedback/*",
"//components/filesystem/*",
"//components/flags_ui/*",
"//components/font_service/*",
#"//components/gcm_driver/*",
"//components/google/*",
#"//components/gpu/*",
#"//components/guest_view/*",
#"//components/handoff/*",
"//components/history/*",
"//components/html_viewer/*",
#"//components/infobars/*",
#"//components/invalidation/*",
#"//components/json_schema/*",
#"//components/keyed_service/*",
#"//components/language_usage_metrics/*",
#"//components/leveldb_proto/*",
#"//components/login/*",
#"//components/memory_pressure/*",
#"//components/message_port/*",
#"//components/metrics/*",
#"//components/metrics_services_manager/*",
#"//components/mime_util/*",
"//components/mus/*",
#"//components/nacl/*",
#"//components/navigation_interception/*",
#"//components/navigation_metrics/*",
"//components/net_log/*",
#"//components/network_hints/*",
"//components/network_time/*",
#"//components/offline_pages/*",
#"//components/omnibox/*",
#"//components/onc/*",
#"//components/open_from_clipboard/*",
#"//components/os_crypt/*",
#"//components/ownership/*",
#"//components/packed_ct_ev_whitelist/*",
#"//components/page_load_metrics/*",
#"//components/pairing/*",
#"//components/password_manager/*",
#"//components/pdf/*",
#"//components/pdf_viewer/*",
#"//components/plugins/*",
#"//components/policy/*",
#"//components/power/*",
#"//components/precache/*",
"//components/pref_registry/*",
#"//components/printing/*",
#"//components/proximity_auth/*",
#"//components/proxy_config/*",
#"//components/query_parser/*",
#"//components/rappor/*",
#"//components/renderer_context_menu/*",
#"//components/resource_provider/*",
#"//components/resources/*",
#"//components/rlz/*",
#"//components/safe_json/*",
#"//components/scheduler/*",
#"//components/search/*",
#"//components/search_engines/*",
#"//components/search_provider_logos/*",
#"//components/security_interstitials/*",
#"//components/service_tab_launcher/*",
#"//components/session_manager/*",
#"//components/sessions/*",
#"//components/signin/*",
#"//components/ssl_config/*",
#"//components/ssl_errors/*",
"//components/startup_metric_utils/*",
"//components/storage_monitor/*",
"//components/strings/*",
"//components/suggestions/*",
"//components/sync_bookmarks/*",
"//components/sync_driver/*",
"//components/sync_sessions/*",
"//components/syncable_prefs/*",
"//components/test/*",
"//components/test_runner/*",
"//components/timers/*",
"//components/toolbar/*",
"//components/tools/*",
"//components/tracing/*",
"//components/translate/*",
"//components/ui/*",
"//components/undo/*",
"//components/update_client/*",
"//components/upload_list/*",
"//components/url_formatter/*",
"//components/url_matcher/*",
"//components/user_manager/*",
"//components/user_prefs/*",
"//components/variations/*",
"//components/visitedlink/*",
"//components/wallpaper/*",
"//components/web_cache/*",
"//components/web_modal/*",
"//components/web_resource/*",
"//components/web_view/*",
"//components/webcrypto/*",
"//components/webdata/*",
"//components/webdata_services/*",
"//components/webp_transcode/*",
"//components/webui_generator/*",
"//components/webusb/*",
"//components/wifi/*",
#"//content/*", # A whole lot of errors.
"//content/public/common:result_codes",
"//content/public/common:static_switches",
"//courgette/*",
"//crypto/*",
"//data/*",
"//dbus/*",
#"//device/*", # Ran into http://crbug.com/500761 adding dbus dependency
#"//extensions/*", # Lots of errors.
#"//gin/*", # Easy.
"//google_apis/*",
"//google_update/*",
#"//gpu/*", # Lots of errors.
"//gpu:*",
#"//ios/*",
"//ipc/*",
#"//jingle/*",
"//mandoline/*",
"//mash/*",
#"//media/*", # Lots of errors.
"mojo/*",
#"//native_client/*",
#"//net/*", # Needs GN binary changes to work on Android.
#"//pdf/*", # Medium-hard.
#"//ppapi/*", # Lots of errors.
"//printing/*",
#"//remoting/*", # Medium-hard.
#"//rlz/*", # Needs checking on Windows.
#"//sandbox/*", # Medium-hard.
"//sdch/*",
"//skia/*",
"//sql/*",
"//storage/*",
"//sync/*",
"//testing/*",
#"//third_party/*", # May not ever want this.
"//tools/*",
#"//ui/*", # Just a few problems.
"//url/*",
"//v8/*",
"//win8/*",
]
# 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 except for gypi_to_gn calls.
exec_script_whitelist = [
"//android_webview/BUILD.gn",
"//ash/BUILD.gn",
"//build/config/android/config.gni",
"//build/config/android/internal_rules.gni",
"//build/config/android/rules.gni",
"//build/config/compiler/BUILD.gn",
"//build/config/gcc/gcc_version.gni",
"//build/config/ios/ios_sdk.gni",
"//build/config/linux/BUILD.gn",
"//build/config/linux/pkg_config.gni",
"//build/config/mac/mac_sdk.gni",
"//build/config/posix/BUILD.gn",
"//build/config/win/BUILD.gn",
"//build/config/win/visual_studio_version.gni",
"//build/gn_helpers.py",
"//build/gypi_to_gn.py",
"//build/linux/BUILD.gn",
"//build/toolchain/gcc_toolchain.gni",
"//build/toolchain/mac/BUILD.gn",
"//build/toolchain/nacl/BUILD.gn",
"//build/toolchain/win/BUILD.gn",
"//build/util/version.gni",
"//chrome/android/BUILD.gn",
"//chrome/browser/BUILD.gn",
"//chrome/browser/chromeos/BUILD.gn",
"//chrome/browser/extensions/BUILD.gn",
"//chrome/browser/resources/chromeos/chromevox/BUILD.gn",
"//chrome/browser/media/router/BUILD.gn",
"//chrome/browser/ui/BUILD.gn",
"//chrome/chrome_tests.gni",
"//chrome/common/BUILD.gn",
"//chrome/common/extensions/api/schemas.gni",
"//chrome/renderer/BUILD.gn",
"//chrome/test/BUILD.gn",
"//chrome/utility/BUILD.gn",
"//chromeos/BUILD.gn",
# TODO(dgn): Layer violation but breaks the build otherwise, see
# https://crbug.com/474506
"//clank/java/BUILD.gn",
"//clank/native/BUILD.gn",
"//components/domain_reliability/BUILD.gn",
"//components/scheduler/scheduler.gni",
"//content/browser/browser.gni",
"//content/child/child.gni",
"//content/common/common.gni",
"//content/content.gni",
"//content/public/android/BUILD.gn",
"//content/renderer/renderer.gni",
"//content/test/BUILD.gn",
"//content/utility/utility.gni",
"//extensions/common/api/schemas.gni",
"//extensions/extensions.gni",
"//extensions/shell/app_shell.gni",
"//extensions/shell/common/api/schemas.gni",
"//google_apis/BUILD.gn",
"//gpu/gles2_conform_support/BUILD.gn",
"//gpu/khronos_glcts_support/BUILD.gn",
"//jingle/BUILD.gn",
"//net/BUILD.gn",
"//ppapi/ppapi_sources.gni",
"//printing/BUILD.gn",
"//remoting/host/BUILD.gn",
"//remoting/remoting_srcs.gni",
"//remoting/remoting_version.gni",
"//skia/BUILD.gn",
"//sync/protocol/protocol_sources.gni",
"//third_party/android_platform/BUILD.gn",
"//third_party/angle/BUILD.gn",
"//third_party/angle/src/tests/BUILD.gn",
"//third_party/boringssl/BUILD.gn",
"//third_party/catapult/tracing/BUILD.gn",
"//third_party/cld_2/BUILD.gn",
"//third_party/cython/rules.gni",
"//third_party/google_input_tools/inputview.gni",
"//third_party/harfbuzz-ng/BUILD.gn",
"//third_party/libaddressinput/BUILD.gn",
"//third_party/opus/BUILD.gn",
"//third_party/WebKit/Source/bindings/bindings.gni",
"//third_party/WebKit/Source/bindings/scripts/scripts.gni",
"//third_party/WebKit/Source/config.gni",
"//third_party/WebKit/Source/core/core.gni",
"//third_party/WebKit/Source/devtools/BUILD.gn",
"//third_party/WebKit/Source/modules/modules.gni",
"//third_party/WebKit/Source/platform/BUILD.gn",
"//third_party/WebKit/Source/platform/platform.gni",
"//third_party/WebKit/Source/web/BUILD.gn",
"//third_party/WebKit/Source/wtf/BUILD.gn",
"//third_party/WebKit/public/BUILD.gn",
"//tools/gn/BUILD.gn",
"//tools/gn/build_settings.h",
"//tools/gn/command_help.cc",
"//tools/gn/docs/language.md",
"//tools/gn/format_test_data/053.gn",
"//tools/gn/format_test_data/053.golden",
"//tools/gn/format_test_data/055.gn",
"//tools/gn/format_test_data/055.golden",
"//tools/gn/function_exec_script.cc",
"//tools/gn/gn.gyp",
"//tools/gn/input_conversion.cc",
"//tools/gn/misc/emacs/gn.el",
"//tools/gn/misc/vim/syntax/gn.vim",
"//tools/gn/setup.cc",
"//ui/accessibility/BUILD.gn",
"//ui/views/BUILD.gn",
]