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

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

Issue 1388943004: Add GCAPI to the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months 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
« no previous file with comments | « chrome/chrome_installer.gypi ('k') | chrome/installer/gcapi/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") 6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
7 import("//chrome/version.gni") 7 import("//chrome/version.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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 deps += [ "//components/policy" ] 247 deps += [ "//components/policy" ]
248 } 248 }
249 249
250 if (safe_browsing_mode == 1) { 250 if (safe_browsing_mode == 1) {
251 sources += rebase_path(gypi_values.chrome_common_full_safe_browsing_sources, 251 sources += rebase_path(gypi_values.chrome_common_full_safe_browsing_sources,
252 ".", 252 ".",
253 "//chrome") 253 "//chrome")
254 } 254 }
255 } 255 }
256 256
257 # This target allows other targets to depend on result_codes.h which is a
258 # header-only dependency, without bringing in all of content.
259 source_set("result_codes") {
260 sources = [
261 "chrome_result_codes.h",
262 ]
263 }
264
265 process_version("make_chrome_version") { 257 process_version("make_chrome_version") {
266 template_file = "chrome_version.cc.version" 258 template_file = "chrome_version.cc.version"
267 output = "$target_gen_dir/chrome_version.cc" 259 output = "$target_gen_dir/chrome_version.cc"
268 } 260 }
269 261
270 # GN version: chrome/common_constants.gyp:common_constants 262 # GN version: chrome/common_constants.gyp:common_constants
271 static_library("constants") { 263 static_library("constants") {
272 sources = [ 264 sources = [
273 "chrome_constants.cc", 265 "chrome_constants.cc",
274 "chrome_constants.h", 266 "chrome_constants.h",
275 "chrome_icon_resources_win.cc", 267 "chrome_icon_resources_win.cc",
276 "chrome_icon_resources_win.h", 268 "chrome_icon_resources_win.h",
277 "chrome_paths.cc", 269 "chrome_paths.cc",
278 "chrome_paths.h", 270 "chrome_paths.h",
279 "chrome_paths_android.cc", 271 "chrome_paths_android.cc",
280 "chrome_paths_internal.h", 272 "chrome_paths_internal.h",
281 "chrome_paths_linux.cc", 273 "chrome_paths_linux.cc",
282 "chrome_paths_mac.mm", 274 "chrome_paths_mac.mm",
283 "chrome_paths_win.cc", 275 "chrome_paths_win.cc",
276 "chrome_result_codes.h",
284 "chrome_switches.cc", 277 "chrome_switches.cc",
285 "chrome_switches.h", 278 "chrome_switches.h",
286 "env_vars.cc", 279 "env_vars.cc",
287 "env_vars.h", 280 "env_vars.h",
288 "pref_font_script_names-inl.h", 281 "pref_font_script_names-inl.h",
289 "pref_font_webkit_names.h", 282 "pref_font_webkit_names.h",
290 "pref_names.cc", 283 "pref_names.cc",
291 "pref_names.h", 284 "pref_names.h",
292 "widevine_cdm_constants.cc", 285 "widevine_cdm_constants.cc",
293 "widevine_cdm_constants.h", 286 "widevine_cdm_constants.h",
294 ] 287 ]
295 288
289 public_deps = [
290 "//content/public/common:result_codes",
291 ]
296 deps = [ 292 deps = [
297 ":make_chrome_version", 293 ":make_chrome_version",
298 "//base", 294 "//base",
299 "//base/third_party/dynamic_annotations", 295 "//base/third_party/dynamic_annotations",
300 "//components/bookmarks/common", 296 "//components/bookmarks/common",
301 "//third_party/widevine/cdm:version_h", 297 "//third_party/widevine/cdm:version_h",
302 ] 298 ]
303 299
304 if (enable_nacl) { 300 if (enable_nacl) {
305 deps += [ "//components/nacl:nacl_switches" ] 301 deps += [ "//components/nacl:nacl_switches" ]
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 ":constants", 346 ":constants",
351 "//base", 347 "//base",
352 ] 348 ]
353 } 349 }
354 350
355 mojom("mojo_bindings") { 351 mojom("mojo_bindings") {
356 sources = [ 352 sources = [
357 "resource_usage_reporter.mojom", 353 "resource_usage_reporter.mojom",
358 ] 354 ]
359 } 355 }
OLDNEW
« no previous file with comments | « chrome/chrome_installer.gypi ('k') | chrome/installer/gcapi/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698