OLD | NEW |
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/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
9 | 9 |
10 about_credits_file = "$target_gen_dir/about_credits.html" | 10 about_credits_file = "$target_gen_dir/about_credits.html" |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 sources += rebase_path( | 397 sources += rebase_path( |
398 gypi_values.chrome_browser_non_android_notifications_sources, | 398 gypi_values.chrome_browser_non_android_notifications_sources, |
399 ".", "//chrome") | 399 ".", "//chrome") |
400 } | 400 } |
401 } | 401 } |
402 if (enable_themes) { | 402 if (enable_themes) { |
403 sources += rebase_path(gypi_values.chrome_browser_themes_sources, | 403 sources += rebase_path(gypi_values.chrome_browser_themes_sources, |
404 ".", "//chrome") | 404 ".", "//chrome") |
405 } | 405 } |
406 | 406 |
407 if (enable_printing != 0) { | 407 if (printing_mode != 0) { |
408 # Some form of printing support. | 408 # Some form of printing support. |
409 sources += rebase_path(gypi_values.chrome_browser_basic_printing_sources, | 409 sources += rebase_path(gypi_values.chrome_browser_basic_printing_sources, |
410 ".", "//chrome") | 410 ".", "//chrome") |
411 deps += [ | 411 deps += [ |
412 #"../printing/printing.gyp:printing", TODO(GYP) | 412 #"../printing/printing.gyp:printing", TODO(GYP) |
413 ] | 413 ] |
414 if (is_win && win_pdf_metafile_for_printing) { | 414 if (is_win && win_pdf_metafile_for_printing) { |
415 sources += rebase_path(gypi_values.chrome_browser_printing_emf_sources, | 415 sources += rebase_path(gypi_values.chrome_browser_printing_emf_sources, |
416 ".", "//chrome") | 416 ".", "//chrome") |
417 } | 417 } |
418 if (enable_printing == 1) { | 418 if (printing_mode == 1) { |
419 # Full printing on top of the above. | 419 # Full printing on top of the above. |
420 sources += rebase_path(gypi_values.chrome_browser_full_printing_sources, | 420 sources += rebase_path(gypi_values.chrome_browser_full_printing_sources, |
421 ".", "//chrome") | 421 ".", "//chrome") |
422 } else if (enable_printing == 2) { | 422 } else if (printing_mode == 2) { |
423 # Partial-only printing support. | 423 # Partial-only printing support. |
424 sources += rebase_path( | 424 sources += rebase_path( |
425 gypi_values.chrome_browser_basic_only_printing_sources, | 425 gypi_values.chrome_browser_basic_only_printing_sources, |
426 ".", "//chrome") | 426 ".", "//chrome") |
427 } | 427 } |
428 } | 428 } |
429 if (enable_captive_portal_detection) { | 429 if (enable_captive_portal_detection) { |
430 sources += rebase_path(gypi_values.chrome_browser_captive_portal_sources, | 430 sources += rebase_path(gypi_values.chrome_browser_captive_portal_sources, |
431 ".", "//chrome") | 431 ".", "//chrome") |
432 } | 432 } |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
655 # TODO(GYP) write internal action | 655 # TODO(GYP) write internal action |
656 if (false) { #if (is_chrome_branded) { | 656 if (false) { #if (is_chrome_branded) { |
657 action("chrome_internal_resources_gen") { | 657 action("chrome_internal_resources_gen") { |
658 # TODO(GYP) | 658 # TODO(GYP) |
659 } | 659 } |
660 } else { | 660 } else { |
661 group("chrome_internal_resources_gen") { | 661 group("chrome_internal_resources_gen") { |
662 # Empty placeholder. | 662 # Empty placeholder. |
663 } | 663 } |
664 } | 664 } |
OLD | NEW |