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

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

Issue 237973002: Add generate_jni template (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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 | Annotate | Revision Log
« no previous file with comments | « tools/gn/secondary/third_party/leveldatabase/BUILD.gn ('k') | 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 config("zlib_config") { 5 config("zlib_config") {
6 include_dirs = [ "." ] 6 include_dirs = [ "." ]
7 } 7 }
8 8
9 static_library("zlib") { 9 static_library("zlib") {
10 if (!is_win) { 10 if (!is_win) {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 cflags = [ "-Wno-parentheses-equality" ] 76 cflags = [ "-Wno-parentheses-equality" ]
77 } 77 }
78 78
79 deps = [ ":zlib" ] 79 deps = [ ":zlib" ]
80 80
81 configs -= [ "//build/config/compiler:chromium_code" ] 81 configs -= [ "//build/config/compiler:chromium_code" ]
82 configs += [ "//build/config/compiler:no_chromium_code" ] 82 configs += [ "//build/config/compiler:no_chromium_code" ]
83 direct_dependent_configs = [ ":zlib_config" ] 83 direct_dependent_configs = [ ":zlib_config" ]
84 } 84 }
85 85
86 static_library("zip") { 86 if (!is_android) {
87 sources = [ 87 static_library("zip") {
88 "google/zip.cc", 88 sources = [
89 "google/zip.h", 89 "google/zip.cc",
90 "google/zip_internal.cc", 90 "google/zip.h",
91 "google/zip_internal.h", 91 "google/zip_internal.cc",
92 "google/zip_reader.cc", 92 "google/zip_internal.h",
93 "google/zip_reader.h", 93 "google/zip_reader.cc",
94 ] 94 "google/zip_reader.h",
95 deps = [ 95 ]
96 ":minizip", 96 deps = [
97 "//base", 97 ":minizip",
98 ] 98 "//base",
99 ]
100 }
99 } 101 }
OLDNEW
« no previous file with comments | « tools/gn/secondary/third_party/leveldatabase/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698