Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: third_party/zlib/BUILD.gn

Issue 2799213002: Change BUILD.gn so that minizip can be built with NaCL toolchain. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698