OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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_overrides/build.gni") | 5 import("//build_overrides/build.gni") |
6 | 6 |
7 config("zlib_config") { | 7 config("zlib_config") { |
8 include_dirs = [ "." ] | 8 include_dirs = [ "." ] |
9 } | 9 } |
10 | 10 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 "contrib/minizip/zip.c", | 110 "contrib/minizip/zip.c", |
111 "contrib/minizip/zip.h", | 111 "contrib/minizip/zip.h", |
112 ] | 112 ] |
113 | 113 |
114 if (!is_win) { | 114 if (!is_win) { |
115 sources -= [ | 115 sources -= [ |
116 "contrib/minizip/iowin32.c", | 116 "contrib/minizip/iowin32.c", |
117 "contrib/minizip/iowin32.h", | 117 "contrib/minizip/iowin32.h", |
118 ] | 118 ] |
119 } | 119 } |
120 if (is_mac || is_ios || is_android) { | 120 if (is_mac || is_ios || is_android || is_nacl) { |
121 # Mac, Android and the BSDs don't have fopen64, ftello64, or fseeko64. We | 121 # Mac, Android and the BSDs don't have fopen64, ftello64, or fseeko64. We |
122 # use fopen, ftell, and fseek instead on these systems. | 122 # use fopen, ftell, and fseek instead on these systems. |
123 defines = [ "USE_FILE32API" ] | 123 defines = [ "USE_FILE32API" ] |
124 } | 124 } |
125 | 125 |
126 deps = [ | 126 deps = [ |
127 ":zlib", | 127 ":zlib", |
128 ] | 128 ] |
129 | 129 |
130 configs -= [ "//build/config/compiler:chromium_code" ] | 130 configs -= [ "//build/config/compiler:chromium_code" ] |
(...skipping 25 matching lines...) Expand all Loading... |
156 static_library("compression_utils") { | 156 static_library("compression_utils") { |
157 sources = [ | 157 sources = [ |
158 "google/compression_utils.cc", | 158 "google/compression_utils.cc", |
159 "google/compression_utils.h", | 159 "google/compression_utils.h", |
160 ] | 160 ] |
161 deps = [ | 161 deps = [ |
162 ":zlib", | 162 ":zlib", |
163 ] | 163 ] |
164 } | 164 } |
165 } | 165 } |
OLD | NEW |