| 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("//components/nacl/nacl_defines.gni") | 8 import("//components/nacl/nacl_defines.gni") |
| 9 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which | 9 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which |
| 10 # produces a conflict for the "grit" template so we have to only include one. | 10 # produces a conflict for the "grit" template so we have to only include one. |
| (...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 sources += rebase_path( | 442 sources += rebase_path( |
| 443 gypi_values.chrome_browser_non_android_notifications_sources, | 443 gypi_values.chrome_browser_non_android_notifications_sources, |
| 444 ".", "//chrome") | 444 ".", "//chrome") |
| 445 } | 445 } |
| 446 } | 446 } |
| 447 if (enable_themes) { | 447 if (enable_themes) { |
| 448 sources += rebase_path(gypi_values.chrome_browser_themes_sources, | 448 sources += rebase_path(gypi_values.chrome_browser_themes_sources, |
| 449 ".", "//chrome") | 449 ".", "//chrome") |
| 450 } | 450 } |
| 451 | 451 |
| 452 if (printing_mode != 0) { | 452 if (enable_basic_printing || enable_print_preview) { |
| 453 # Some form of printing support. | 453 # Some form of printing support. |
| 454 sources += rebase_path(gypi_values.chrome_browser_basic_printing_sources, | 454 sources += rebase_path(gypi_values.chrome_browser_basic_printing_sources, |
| 455 ".", "//chrome") | 455 ".", "//chrome") |
| 456 deps += [ | 456 deps += [ |
| 457 "//printing", | 457 "//printing", |
| 458 ] | 458 ] |
| 459 if (is_win) { | 459 if (is_win) { |
| 460 sources += rebase_path(gypi_values.chrome_browser_printing_emf_sources, | 460 sources += rebase_path(gypi_values.chrome_browser_printing_emf_sources, |
| 461 ".", "//chrome") | 461 ".", "//chrome") |
| 462 } | 462 } |
| 463 if (printing_mode == 1) { | 463 if (enable_print_preview) { |
| 464 # Full printing on top of the above. | 464 # Full printing on top of the above. |
| 465 sources += rebase_path(gypi_values.chrome_browser_full_printing_sources, | 465 sources += rebase_path(gypi_values.chrome_browser_full_printing_sources, |
| 466 ".", "//chrome") | 466 ".", "//chrome") |
| 467 } else if (printing_mode == 2) { | 467 } else { |
| 468 # Partial-only printing support. | 468 # Partial-only printing support. |
| 469 sources += rebase_path( | 469 sources += rebase_path( |
| 470 gypi_values.chrome_browser_basic_only_printing_sources, | 470 gypi_values.chrome_browser_basic_only_printing_sources, |
| 471 ".", "//chrome") | 471 ".", "//chrome") |
| 472 } | 472 } |
| 473 } | 473 } |
| 474 if (enable_captive_portal_detection) { | 474 if (enable_captive_portal_detection) { |
| 475 sources += rebase_path(gypi_values.chrome_browser_captive_portal_sources, | 475 sources += rebase_path(gypi_values.chrome_browser_captive_portal_sources, |
| 476 ".", "//chrome") | 476 ".", "//chrome") |
| 477 } | 477 } |
| (...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 962 ] | 962 ] |
| 963 } | 963 } |
| 964 | 964 |
| 965 if (enable_wifi_bootstrapping) { | 965 if (enable_wifi_bootstrapping) { |
| 966 sources += [ | 966 sources += [ |
| 967 "local_discovery/wifi/mock_wifi_manager.cc", | 967 "local_discovery/wifi/mock_wifi_manager.cc", |
| 968 "local_discovery/wifi/mock_wifi_manager.h", | 968 "local_discovery/wifi/mock_wifi_manager.h", |
| 969 ] | 969 ] |
| 970 } | 970 } |
| 971 } | 971 } |
| OLD | NEW |