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/sysroot.gni") | 7 import("//build/config/sysroot.gni") |
8 | 8 |
9 gypi_values = exec_script("//build/gypi_to_gn.py", | 9 gypi_values = exec_script("//build/gypi_to_gn.py", |
10 [ rebase_path("../chrome_utility.gypi") ], | 10 [ rebase_path("../chrome_utility.gypi") ], |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 } else { | 85 } else { |
86 sources += [ "image_writer/image_writer_stub.cc" ] | 86 sources += [ "image_writer/image_writer_stub.cc" ] |
87 } | 87 } |
88 | 88 |
89 if (is_mac) { | 89 if (is_mac) { |
90 sources += | 90 sources += |
91 rebase_path(gypi_values.chrome_utility_mac_media_gallery_sources, | 91 rebase_path(gypi_values.chrome_utility_mac_media_gallery_sources, |
92 ".", | 92 ".", |
93 "..") | 93 "..") |
94 } | 94 } |
| 95 |
| 96 # Linux should use system libexif |
| 97 if (!is_linux || is_chromeos) { |
| 98 # TODO(thestig): Properly support building on Linux and ChromeOS. |
| 99 deps += [ "//third_party/libexif" ] |
| 100 } |
95 } | 101 } |
96 | 102 |
97 if (use_nss_certs) { | 103 if (use_nss_certs) { |
98 sources += [ | 104 sources += [ |
99 "importer/nss_decryptor_system_nss.cc", | 105 "importer/nss_decryptor_system_nss.cc", |
100 "importer/nss_decryptor_system_nss.h", | 106 "importer/nss_decryptor_system_nss.h", |
101 ] | 107 ] |
102 deps += [ | 108 deps += [ |
103 "//crypto", | 109 "//crypto", |
104 "//crypto:platform", | 110 "//crypto:platform", |
(...skipping 10 matching lines...) Expand all Loading... |
115 if (safe_browsing_mode == 1) { | 121 if (safe_browsing_mode == 1) { |
116 sources += | 122 sources += |
117 rebase_path(gypi_values.chrome_utility_safe_browsing_sources, ".", "..") | 123 rebase_path(gypi_values.chrome_utility_safe_browsing_sources, ".", "..") |
118 deps += [ "//third_party/zlib" ] | 124 deps += [ "//third_party/zlib" ] |
119 } | 125 } |
120 | 126 |
121 if (enable_pdf) { | 127 if (enable_pdf) { |
122 deps += [ "//pdf" ] | 128 deps += [ "//pdf" ] |
123 } | 129 } |
124 } | 130 } |
OLD | NEW |