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

Side by Side Diff: chrome/common/BUILD.gn

Issue 1464873002: Run gn --format over all .gn files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//chrome/version.gni") 5 import("//chrome/version.gni")
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 import("//tools/grit/grit_rule.gni") 7 import("//tools/grit/grit_rule.gni")
8 8
9 gypi_values = exec_script("//build/gypi_to_gn.py", 9 gypi_values = exec_script("//build/gypi_to_gn.py",
10 [ rebase_path("../chrome_common.gypi") ], 10 [ rebase_path("../chrome_common.gypi") ],
(...skipping 30 matching lines...) Expand all
41 sources = rebase_path(gypi_values.chrome_common_sources, ".", "//chrome") 41 sources = rebase_path(gypi_values.chrome_common_sources, ".", "//chrome")
42 defines = [] 42 defines = []
43 43
44 configs += [ 44 configs += [
45 "//build/config:precompiled_headers", 45 "//build/config:precompiled_headers",
46 "//build/config/compiler:wexit_time_destructors", 46 "//build/config/compiler:wexit_time_destructors",
47 ] 47 ]
48 48
49 public_deps = [ 49 public_deps = [
50 "//base:base", 50 "//base:base",
51 "//base:base_static",
51 "//base:i18n", 52 "//base:i18n",
52 "//base:prefs", 53 "//base:prefs",
53 "//base:base_static",
54 "//chrome:resources", 54 "//chrome:resources",
55 "//chrome:strings", 55 "//chrome:strings",
56 "//chrome/app/theme:theme_resources", 56 "//chrome/app/theme:theme_resources",
57 "//chrome/common:constants", 57 "//chrome/common:constants",
58 "//chrome/common/safe_browsing:proto", 58 "//chrome/common/safe_browsing:proto",
59 "//chrome/common/variations:fieldtrial_testing_config", 59 "//chrome/common/variations:fieldtrial_testing_config",
60 "//chrome/installer/util", 60 "//chrome/installer/util",
61 "//components/cloud_devices/common", 61 "//components/cloud_devices/common",
62 "//components/component_updater", 62 "//components/component_updater",
63 "//components/content_settings/core/common", 63 "//components/content_settings/core/common",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 ] 105 ]
106 sources -= [ 106 sources -= [
107 "resource_usage_reporter_type_converters.cc", 107 "resource_usage_reporter_type_converters.cc",
108 "resource_usage_reporter_type_converters.h", 108 "resource_usage_reporter_type_converters.h",
109 ] 109 ]
110 } else { 110 } else {
111 # Non-iOS. 111 # Non-iOS.
112 public_deps += [ 112 public_deps += [
113 ":mojo_bindings", 113 ":mojo_bindings",
114 "//chrome/common/net", 114 "//chrome/common/net",
115 "//components/visitedlink/common",
116 "//components/autofill/content/common", 115 "//components/autofill/content/common",
117 "//components/autofill/core/common", 116 "//components/autofill/core/common",
118 "//components/password_manager/content/common", 117 "//components/password_manager/content/common",
119 "//components/password_manager/core/common", 118 "//components/password_manager/core/common",
120 "//components/signin/core/common", 119 "//components/signin/core/common",
121 "//components/translate/content/common", 120 "//components/translate/content/common",
121 "//components/visitedlink/common",
122 "//ipc",
122 "//media", 123 "//media",
123 "//mojo/public/cpp/bindings", 124 "//mojo/public/cpp/bindings",
124 "//ipc",
125 "//third_party/re2", 125 "//third_party/re2",
126 "//third_party/widevine/cdm:version_h", 126 "//third_party/widevine/cdm:version_h",
127 ] 127 ]
128 } 128 }
129 129
130 if (enable_extensions) { 130 if (enable_extensions) {
131 sources += rebase_path(gypi_values.chrome_common_extensions_sources, 131 sources += rebase_path(gypi_values.chrome_common_extensions_sources,
132 ".", 132 ".",
133 "//chrome") 133 "//chrome")
134 public_deps += [ 134 public_deps += [
135 "//chrome/common/extensions/api",
135 "//device/usb", 136 "//device/usb",
136 "//chrome/common/extensions/api", 137 "//extensions:extensions_resources",
137 "//extensions/common", 138 "//extensions/common",
138 "//extensions/common/api", 139 "//extensions/common/api",
139 "//extensions:extensions_resources",
140 "//extensions/strings", 140 "//extensions/strings",
141 "//media/cast:net", 141 "//media/cast:net",
142 ] 142 ]
143 if (is_chromeos) { 143 if (is_chromeos) {
144 sources += 144 sources +=
145 rebase_path(gypi_values.chrome_common_extensions_chromeos_sources, 145 rebase_path(gypi_values.chrome_common_extensions_chromeos_sources,
146 ".", 146 ".",
147 "//chrome") 147 "//chrome")
148 } 148 }
149 if (use_aura) { 149 if (use_aura) {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 ] 231 ]
232 } 232 }
233 233
234 if (enable_mdns) { 234 if (enable_mdns) {
235 sources += [ "local_discovery/local_discovery_messages.h" ] 235 sources += [ "local_discovery/local_discovery_messages.h" ]
236 } 236 }
237 237
238 if (is_mac) { 238 if (is_mac) {
239 sources -= [ "channel_info_posix.cc" ] 239 sources -= [ "channel_info_posix.cc" ]
240 public_deps += [ 240 public_deps += [
241 "//third_party/google_toolbox_for_mac",
241 "//third_party/mach_override", 242 "//third_party/mach_override",
242 "//third_party/google_toolbox_for_mac",
243 ] 243 ]
244 } 244 }
245 245
246 if (enable_plugins) { 246 if (enable_plugins) {
247 sources += [ 247 sources += [
248 "pepper_flash.cc", 248 "pepper_flash.cc",
249 "pepper_flash.h", 249 "pepper_flash.h",
250 "ppapi_utils.cc", 250 "ppapi_utils.cc",
251 "ppapi_utils.h", 251 "ppapi_utils.h",
252 ] 252 ]
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 ":constants", 384 ":constants",
385 "//base", 385 "//base",
386 ] 386 ]
387 } 387 }
388 388
389 mojom("mojo_bindings") { 389 mojom("mojo_bindings") {
390 sources = [ 390 sources = [
391 "resource_usage_reporter.mojom", 391 "resource_usage_reporter.mojom",
392 ] 392 ]
393 } 393 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698