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

Unified Diff: content/browser/BUILD.gn

Issue 704363002: XXX test gn format everything (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/app/BUILD.gn ('k') | content/browser/devtools/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/BUILD.gn
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
index f02a0346b6e702179f3833d0728f68a5d4544fca..9a6ce3dddd34cbcf66058d5ef3bb5a8693be3dbe 100644
--- a/content/browser/BUILD.gn
+++ b/content/browser/BUILD.gn
@@ -68,7 +68,8 @@ source_set("browser") {
} else {
# Normal non-iOS sources get everything.
sources = rebase_path(content_browser_gypi_values.private_browser_sources,
- ".", "//content")
+ ".",
+ "//content")
# TODO(GYP) these generated files are listed as sources in content_browser.
# This is a bit suspicious. The GN grit template will make a source set
@@ -77,17 +78,19 @@ source_set("browser") {
#
# Need this annoying rebase_path call to match what happened with the
# sources.
- sources -= rebase_path([
- "$root_gen_dir/webkit/grit/devtools_resources.h",
- "$root_gen_dir/webkit/grit/devtools_resources_map.cc",
- "$root_gen_dir/webkit/grit/devtools_resources_map.h",
- "$root_gen_dir/content/browser/tracing/grit/tracing_resources.h",
- "$root_gen_dir/ui/resources/grit/webui_resources_map.cc",
- "$root_gen_dir/content/browser/devtools/devtools_protocol_constants.cc",
- "$root_gen_dir/content/browser/devtools/devtools_protocol_constants.h",
- "$root_gen_dir/content/browser/devtools/protocol/devtools_protocol_handler_impl.cc",
- "$root_gen_dir/content/browser/devtools/protocol/devtools_protocol_handler_impl.h",
- ], ".")
+ sources -= rebase_path(
+ [
+ "$root_gen_dir/webkit/grit/devtools_resources.h",
+ "$root_gen_dir/webkit/grit/devtools_resources_map.cc",
+ "$root_gen_dir/webkit/grit/devtools_resources_map.h",
+ "$root_gen_dir/content/browser/tracing/grit/tracing_resources.h",
+ "$root_gen_dir/ui/resources/grit/webui_resources_map.cc",
+ "$root_gen_dir/content/browser/devtools/devtools_protocol_constants.cc",
+ "$root_gen_dir/content/browser/devtools/devtools_protocol_constants.h",
+ "$root_gen_dir/content/browser/devtools/protocol/devtools_protocol_handler_impl.cc",
+ "$root_gen_dir/content/browser/devtools/protocol/devtools_protocol_handler_impl.h",
+ ],
+ ".")
# Non-iOS deps.
deps += [
@@ -114,9 +117,7 @@ source_set("browser") {
]
}
- configs += [
- "//content:content_implementation",
- ]
+ configs += [ "//content:content_implementation" ]
if (toolkit_views) {
deps += [ "//ui/events" ]
@@ -145,12 +146,12 @@ source_set("browser") {
deps += [ "//printing" ]
}
-# TODO(GYP)
-# ['OS!="ios" and chrome_multiple_dll!=1', {
-# 'dependencies': [
-# '../third_party/WebKit/public/blink.gyp:blink',
-# ],
-# }],
+ # TODO(GYP)
+ # ['OS!="ios" and chrome_multiple_dll!=1', {
+ # 'dependencies': [
+ # '../third_party/WebKit/public/blink.gyp:blink',
+ # ],
+ # }],
if (!is_mac && !is_ios) {
deps += [ "//sandbox" ]
}
@@ -160,7 +161,8 @@ source_set("browser") {
if (enable_webrtc) {
sources += rebase_path(content_browser_gypi_values.webrtc_browser_sources,
- ".", "//content")
+ ".",
+ "//content")
deps += [ "//jingle:jingle_glue" ]
if (is_linux) {
deps += [ "//third_party/libjingle:libjingle_webrtc" ]
@@ -205,14 +207,15 @@ source_set("browser") {
"sensorsapi.lib",
"portabledeviceguids.lib",
]
+
# TODI(GYP)
-# 'msvs_settings': {
-# 'VCLinkerTool': {
-# 'DelayLoadDLLs': [
-# 'dinput8.dll',
-# 'user32.dll',
-# 'dwmapi.dll',
-# ],
+ # 'msvs_settings': {
+ # 'VCLinkerTool': {
+ # 'DelayLoadDLLs': [
+ # 'dinput8.dll',
+ # 'user32.dll',
+ # 'dwmapi.dll',
+ # ],
}
if (is_linux) {
@@ -239,7 +242,8 @@ source_set("browser") {
if (enable_plugins) {
sources += rebase_path(content_browser_gypi_values.plugin_browser_sources,
- ".", "//content")
+ ".",
+ "//content")
deps += [
"//ppapi:ppapi_ipc",
"//ppapi:ppapi_shared",
@@ -264,10 +268,10 @@ source_set("browser") {
# given the interaction between os_chromeos and the feature flags for X11 and
# ozone, so do it all in one spot.
if (is_chromeos || !use_ozone) {
- sources -= [ "power_save_blocker_ozone.cc", ]
+ sources -= [ "power_save_blocker_ozone.cc" ]
}
if (is_chromeos || !use_x11) {
- sources -= [ "power_save_blocker_x11.cc", ]
+ sources -= [ "power_save_blocker_x11.cc" ]
}
# Dealing with *wifi_data_provider_*.cc is also a bit complicated given
@@ -275,7 +279,7 @@ source_set("browser") {
if (is_android) {
sources -= [ "geolocation/wifi_data_provider_common.cc" ]
}
- if (is_chromeos || (is_linux && !use_dbus)) {
+ if (is_chromeos || is_linux && !use_dbus) {
sources -= [ "geolocation/wifi_data_provider_linux.cc" ]
}
if (is_linux && use_dbus) {
@@ -288,7 +292,8 @@ source_set("browser") {
if (is_android) {
sources += rebase_path(content_browser_gypi_values.android_browser_sources,
- ".", "//content")
+ ".",
+ "//content")
sources -= [
"browser_ipc_logging.cc",
"device_sensors/data_fetcher_shared_memory_default.cc",
@@ -382,13 +387,15 @@ source_set("browser") {
if (use_aura || is_mac || is_android) {
sources += rebase_path(
- content_browser_gypi_values.compositor_browser_surface_sources,
- ".", "//content")
+ content_browser_gypi_values.compositor_browser_surface_sources,
+ ".",
+ "//content")
}
if (use_aura || is_mac) {
- sources += rebase_path(
- content_browser_gypi_values.compositor_browser_sources,
- ".", "//content")
+ sources +=
+ rebase_path(content_browser_gypi_values.compositor_browser_sources,
+ ".",
+ "//content")
if (!use_x11) {
sources -= [
"compositor/software_output_device_x11.cc",
« no previous file with comments | « content/app/BUILD.gn ('k') | content/browser/devtools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698