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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 sources += [ "image_writer/image_writer_stub.cc" ] | 57 sources += [ "image_writer/image_writer_stub.cc" ] |
58 } | 58 } |
59 | 59 |
60 if (is_mac) { | 60 if (is_mac) { |
61 sources += rebase_path(gypi_values.chrome_utility_mac_media_gallery_source
s, | 61 sources += rebase_path(gypi_values.chrome_utility_mac_media_gallery_source
s, |
62 ".", "..") | 62 ".", "..") |
63 } | 63 } |
64 } | 64 } |
65 | 65 |
66 if (use_openssl) { | 66 if (use_openssl) { |
67 if (!is_win && !is_mac) { | 67 if (!is_win && !is_mac && !is_android) { |
68 sources -= [ "importer/nss_decryptor.cc" ] | 68 sources -= [ "importer/nss_decryptor.cc" ] |
69 } | 69 } |
70 } else { # !use_openssl | 70 } else { # !use_openssl |
71 if (!is_win && !is_mac) { | 71 if (!is_win && !is_mac) { |
72 sources += [ | 72 sources += [ |
73 "importer/nss_decryptor_system_nss.cc", | 73 "importer/nss_decryptor_system_nss.cc", |
74 "importer/nss_decryptor_system_nss.h", | 74 "importer/nss_decryptor_system_nss.h", |
75 ] | 75 ] |
76 deps += [ | 76 deps += [ |
77 "//crypto", | 77 "//crypto", |
(...skipping 13 matching lines...) Expand all Loading... |
91 sources -= [ | 91 sources -= [ |
92 "local_discovery/service_discovery_message_handler.cc", | 92 "local_discovery/service_discovery_message_handler.cc", |
93 "local_discovery/service_discovery_message_handler.h", | 93 "local_discovery/service_discovery_message_handler.h", |
94 ] | 94 ] |
95 } | 95 } |
96 | 96 |
97 if (safe_browsing_mode == 1) { | 97 if (safe_browsing_mode == 1) { |
98 defines += [ "FULL_SAFE_BROWSING" ] | 98 defines += [ "FULL_SAFE_BROWSING" ] |
99 } | 99 } |
100 } | 100 } |
OLD | NEW |