| 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 | 7 |
| 8 gypi_values = exec_script( | 8 gypi_values = exec_script( |
| 9 "//build/gypi_to_gn.py", | 9 "//build/gypi_to_gn.py", |
| 10 [ rebase_path("../chrome_utility.gypi") ], | 10 [ rebase_path("../chrome_utility.gypi") ], |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 "importer/nss_decryptor_system_nss.cc", | 74 "importer/nss_decryptor_system_nss.cc", |
| 75 "importer/nss_decryptor_system_nss.h", | 75 "importer/nss_decryptor_system_nss.h", |
| 76 ] | 76 ] |
| 77 deps += [ | 77 deps += [ |
| 78 "//crypto", | 78 "//crypto", |
| 79 "//crypto:platform", | 79 "//crypto:platform", |
| 80 ] | 80 ] |
| 81 } | 81 } |
| 82 } | 82 } |
| 83 | 83 |
| 84 if (printing_mode != 1) { | 84 if (!enable_print_preview) { |
| 85 sources -= [ | 85 sources -= [ |
| 86 "printing_handler.cc", | 86 "printing_handler.cc", |
| 87 "printing_handler.h", | 87 "printing_handler.h", |
| 88 ] | 88 ] |
| 89 } | 89 } |
| 90 | 90 |
| 91 if (!enable_mdns) { | 91 if (!enable_mdns) { |
| 92 sources -= [ | 92 sources -= [ |
| 93 "local_discovery/service_discovery_message_handler.cc", | 93 "local_discovery/service_discovery_message_handler.cc", |
| 94 "local_discovery/service_discovery_message_handler.h", | 94 "local_discovery/service_discovery_message_handler.h", |
| 95 ] | 95 ] |
| 96 } | 96 } |
| 97 | 97 |
| 98 if (safe_browsing_mode == 1) { | 98 if (safe_browsing_mode == 1) { |
| 99 defines += [ "FULL_SAFE_BROWSING" ] | 99 defines += [ "FULL_SAFE_BROWSING" ] |
| 100 } | 100 } |
| 101 } | 101 } |
| OLD | NEW |