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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 "importer/nss_decryptor_system_nss.cc", | 70 "importer/nss_decryptor_system_nss.cc", |
71 "importer/nss_decryptor_system_nss.h", | 71 "importer/nss_decryptor_system_nss.h", |
72 ] | 72 ] |
73 deps += [ | 73 deps += [ |
74 "//crypto", | 74 "//crypto", |
75 "//crypto:platform", | 75 "//crypto:platform", |
76 ] | 76 ] |
77 } | 77 } |
78 } | 78 } |
79 | 79 |
80 if (enable_printing != 1) { | 80 if (printing_mode != 1) { |
81 sources -= [ | 81 sources -= [ |
82 "printing_handler.cc", | 82 "printing_handler.cc", |
83 "printing_handler.h", | 83 "printing_handler.h", |
84 ] | 84 ] |
85 } | 85 } |
86 | 86 |
87 if (!enable_mdns) { | 87 if (!enable_mdns) { |
88 sources -= [ | 88 sources -= [ |
89 "local_discovery/service_discovery_message_handler.cc", | 89 "local_discovery/service_discovery_message_handler.cc", |
90 "local_discovery/service_discovery_message_handler.h", | 90 "local_discovery/service_discovery_message_handler.h", |
91 ] | 91 ] |
92 } | 92 } |
93 | 93 |
94 if (safe_browsing_mode == 1) { | 94 if (safe_browsing_mode == 1) { |
95 defines += [ "FULL_SAFE_BROWSING" ] | 95 defines += [ "FULL_SAFE_BROWSING" ] |
96 } | 96 } |
97 } | 97 } |
OLD | NEW |