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 } | |
101 } | 95 } |
102 | 96 |
103 if (use_nss_certs) { | 97 if (use_nss_certs) { |
104 sources += [ | 98 sources += [ |
105 "importer/nss_decryptor_system_nss.cc", | 99 "importer/nss_decryptor_system_nss.cc", |
106 "importer/nss_decryptor_system_nss.h", | 100 "importer/nss_decryptor_system_nss.h", |
107 ] | 101 ] |
108 deps += [ | 102 deps += [ |
109 "//crypto", | 103 "//crypto", |
110 "//crypto:platform", | 104 "//crypto:platform", |
(...skipping 10 matching lines...) Expand all Loading... |
121 if (safe_browsing_mode == 1) { | 115 if (safe_browsing_mode == 1) { |
122 sources += | 116 sources += |
123 rebase_path(gypi_values.chrome_utility_safe_browsing_sources, ".", "..") | 117 rebase_path(gypi_values.chrome_utility_safe_browsing_sources, ".", "..") |
124 deps += [ "//third_party/zlib" ] | 118 deps += [ "//third_party/zlib" ] |
125 } | 119 } |
126 | 120 |
127 if (enable_pdf) { | 121 if (enable_pdf) { |
128 deps += [ "//pdf" ] | 122 deps += [ "//pdf" ] |
129 } | 123 } |
130 } | 124 } |
OLD | NEW |