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

Side by Side Diff: chrome/BUILD.gn

Issue 1920853002: Drop support for Compact Language Detector v1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Preserve yfriedman@ comment in chrome/android/chrome_apk.gyp Created 4 years, 8 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 | « build/config/features.gni ('k') | chrome/android/chrome_apk.gyp » ('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("//build/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/compiler/compiler.gni") 7 import("//build/config/compiler/compiler.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/locales.gni") 9 import("//build/config/locales.gni")
10 import("//build/config/sanitizers/sanitizers.gni") 10 import("//build/config/sanitizers/sanitizers.gni")
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 "app/chrome_main_mac.h", 298 "app/chrome_main_mac.h",
299 "app/chrome_main_mac.mm", 299 "app/chrome_main_mac.mm",
300 "app/delay_load_hook_win.cc", 300 "app/delay_load_hook_win.cc",
301 "app/delay_load_hook_win.h", 301 "app/delay_load_hook_win.h",
302 ] 302 ]
303 303
304 deps = [ 304 deps = [
305 ":browser_dependencies", 305 ":browser_dependencies",
306 "//build/config/sanitizers:deps", 306 "//build/config/sanitizers:deps",
307 "//chrome/common:features", 307 "//chrome/common:features",
308 "//third_party/cld_2",
308 ] 309 ]
309 if (is_win) { 310 if (is_win) {
310 output_name = "chrome" 311 output_name = "chrome"
311 312
312 deps += [ 313 deps += [
313 ":chrome_dll_manifest", 314 ":chrome_dll_manifest",
314 ":chrome_dll_version", 315 ":chrome_dll_version",
315 "//base/trace_event/etw_manifest:chrome_events_win", 316 "//base/trace_event/etw_manifest:chrome_events_win",
316 "//chrome/app/theme:chrome_unscaled_resources", 317 "//chrome/app/theme:chrome_unscaled_resources",
317 "//chrome_elf", 318 "//chrome_elf",
(...skipping 25 matching lines...) Expand all
343 if (is_multi_dll_chrome) { 344 if (is_multi_dll_chrome) {
344 defines += [ "CHROME_MULTIPLE_DLL_BROWSER" ] 345 defines += [ "CHROME_MULTIPLE_DLL_BROWSER" ]
345 deps += [ "//content/public/app:browser" ] 346 deps += [ "//content/public/app:browser" ]
346 } else { 347 } else {
347 deps += [ 348 deps += [
348 ":child_dependencies", 349 ":child_dependencies",
349 "//content/public/app:both", 350 "//content/public/app:both",
350 ] 351 ]
351 } 352 }
352 353
353 if (cld_version == 2) {
354 deps += [ "//third_party/cld_2" ]
355 }
356
357 if (is_mac) { 354 if (is_mac) {
358 #['OS=="mac" and component!="shared_library"', { TODO(GYP) 355 #['OS=="mac" and component!="shared_library"', { TODO(GYP)
359 # 'includes': [ 'chrome_dll_bundle.gypi' ], 356 # 'includes': [ 'chrome_dll_bundle.gypi' ],
360 #}], 357 #}],
361 # TODO(GYP) Lots of other stuff in the OS=="mac" block. 358 # TODO(GYP) Lots of other stuff in the OS=="mac" block.
362 sources += [ 359 sources += [
363 "app/chrome_crash_reporter_client.cc", 360 "app/chrome_crash_reporter_client.cc",
364 "app/chrome_crash_reporter_client.h", 361 "app/chrome_crash_reporter_client.h",
365 "app/chrome_crash_reporter_client_mac.mm", 362 "app/chrome_crash_reporter_client_mac.mm",
366 ] 363 ]
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 #"//v8/*", 482 #"//v8/*",
486 ] 483 ]
487 } 484 }
488 } 485 }
489 486
490 # GYP version: chromium_child_dependencies variable in chrome.gyp 487 # GYP version: chromium_child_dependencies variable in chrome.gyp
491 group("child_dependencies") { 488 group("child_dependencies") {
492 public_deps = [ 489 public_deps = [
493 "//chrome/common", 490 "//chrome/common",
494 "//sync", 491 "//sync",
492 "//third_party/cld_2:cld2_platform_impl",
495 ] 493 ]
496 if (!is_ios) { 494 if (!is_ios) {
497 public_deps += [ 495 public_deps += [
498 "//chrome/browser/devtools", 496 "//chrome/browser/devtools",
499 "//chrome/child", 497 "//chrome/child",
500 "//chrome/gpu", 498 "//chrome/gpu",
501 "//chrome/renderer", 499 "//chrome/renderer",
502 "//chrome/utility", 500 "//chrome/utility",
503 "//content/public/child", 501 "//content/public/child",
504 "//third_party/WebKit/public:blink_devtools_frontend_resources", 502 "//third_party/WebKit/public:blink_devtools_frontend_resources",
505 ] 503 ]
506 } 504 }
507 if (cld_version == 2) {
508 public_deps += [ "//third_party/cld_2:cld2_platform_impl" ]
509 }
510 505
511 if (enable_nacl) { 506 if (enable_nacl) {
512 public_deps += [ "//components/nacl/renderer/plugin:nacl_trusted_plugin" ] 507 public_deps += [ "//components/nacl/renderer/plugin:nacl_trusted_plugin" ]
513 } 508 }
514 } 509 }
515 510
516 if (is_win) { 511 if (is_win) {
517 process_version("chrome_exe_version") { 512 process_version("chrome_exe_version") {
518 template_file = chrome_version_rc_template 513 template_file = chrome_version_rc_template
519 sources = [ 514 sources = [
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
1100 "//chrome/app/theme/$branding_path_component/product_logo_48.png", 1095 "//chrome/app/theme/$branding_path_component/product_logo_48.png",
1101 "//chrome/tools/build/linux/chrome-wrapper", 1096 "//chrome/tools/build/linux/chrome-wrapper",
1102 "//third_party/xdg-utils/scripts/xdg-mime", 1097 "//third_party/xdg-utils/scripts/xdg-mime",
1103 "//third_party/xdg-utils/scripts/xdg-settings", 1098 "//third_party/xdg-utils/scripts/xdg-settings",
1104 ] 1099 ]
1105 outputs = [ 1100 outputs = [
1106 "$root_out_dir/{{source_file_part}}", 1101 "$root_out_dir/{{source_file_part}}",
1107 ] 1102 ]
1108 } 1103 }
1109 } 1104 }
OLDNEW
« no previous file with comments | « build/config/features.gni ('k') | chrome/android/chrome_apk.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698