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

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

Issue 2576573002: Move enable_pdf to a buildflag header. (Closed)
Patch Set: No Chromecast Created 4 years 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/BUILD.gn ('k') | chrome/app/chrome_main_delegate.cc » ('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/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//chrome/common/features.gni") 6 import("//chrome/common/features.gni")
7 import("//ppapi/features/features.gni") 7 import("//ppapi/features/features.gni")
8 import("//printing/features/features.gni") 8 import("//printing/features/features.gni")
9 import("//services/service_manager/public/service_manifest.gni") 9 import("//services/service_manager/public/service_manifest.gni")
10 import("//tools/grit/grit_rule.gni") 10 import("//tools/grit/grit_rule.gni")
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 "//chrome/child", 311 "//chrome/child",
312 "//chrome/common", 312 "//chrome/common",
313 "//chrome/gpu", 313 "//chrome/gpu",
314 "//chrome/renderer", 314 "//chrome/renderer",
315 "//chrome/utility", 315 "//chrome/utility",
316 "//components/crash/content/app", 316 "//components/crash/content/app",
317 "//components/crash/content/app:lib", 317 "//components/crash/content/app:lib",
318 "//components/startup_metric_utils/browser:lib", 318 "//components/startup_metric_utils/browser:lib",
319 "//content/public/app:both", 319 "//content/public/app:both",
320 "//content/public/common", 320 "//content/public/common",
321 "//pdf",
321 "//ppapi/features", 322 "//ppapi/features",
322 "//printing/features", 323 "//printing/features",
323 "//ui/base", 324 "//ui/base",
324 ] 325 ]
325 326
326 if (is_mac) { 327 if (is_mac) {
327 sources += [ "chrome_main_mac.mm" ] 328 sources += [ "chrome_main_mac.mm" ]
328 329
329 deps += [ "//chrome:chrome_framework" ] 330 deps += [ "//chrome:chrome_framework" ]
330 } 331 }
331 332
332 if (is_win) { 333 if (is_win) {
333 deps += [ 334 deps += [
334 "//chrome:chrome_initial", 335 "//chrome:chrome_initial",
335 "//chrome/install_static:install_static_util", 336 "//chrome/install_static:install_static_util",
336 "//sandbox/win:sandbox", 337 "//sandbox/win:sandbox",
337 ] 338 ]
338 } 339 }
339 340
340 if (is_chromeos) { 341 if (is_chromeos) {
341 deps += [ 342 deps += [
342 "//chrome/browser/chromeos", 343 "//chrome/browser/chromeos",
343 "//components/metrics/leak_detector:leak_detector", 344 "//components/metrics/leak_detector:leak_detector",
344 ] 345 ]
345 } 346 }
346 347
347 if (enable_pdf) {
348 deps += [ "//pdf" ]
349 }
350
351 if (enable_plugins && enable_nacl) { 348 if (enable_plugins && enable_nacl) {
352 deps += [ 349 deps += [
353 "//components/nacl/browser", 350 "//components/nacl/browser",
354 "//components/nacl/renderer/plugin:nacl_trusted_plugin", 351 "//components/nacl/renderer/plugin:nacl_trusted_plugin",
355 ] 352 ]
356 } 353 }
357 } 354 }
358 355
359 service_manifest_overlay("chrome_content_browser_manifest_overlay") { 356 service_manifest_overlay("chrome_content_browser_manifest_overlay") {
360 source = "//chrome/browser/chrome_content_browser_manifest_overlay.json" 357 source = "//chrome/browser/chrome_content_browser_manifest_overlay.json"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 group("service_manifests") { 426 group("service_manifests") {
430 data_deps = [ 427 data_deps = [
431 ":chrome_content_browser_manifest", 428 ":chrome_content_browser_manifest",
432 ":chrome_content_gpu_manifest", 429 ":chrome_content_gpu_manifest",
433 ":chrome_content_plugin_manifest", 430 ":chrome_content_plugin_manifest",
434 ":chrome_content_renderer_manifest", 431 ":chrome_content_renderer_manifest",
435 ":chrome_content_utility_manifest", 432 ":chrome_content_utility_manifest",
436 ] 433 ]
437 } 434 }
438 } 435 }
OLDNEW
« no previous file with comments | « chrome/BUILD.gn ('k') | chrome/app/chrome_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698