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

Side by Side Diff: sdch/sdch.gyp

Issue 9555002: Avoid zlib symbol conflicts in open-vcdiff (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix tab char Created 8 years, 9 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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 29 matching lines...) Expand all
40 'open-vcdiff/src/vcdiffengine.cc', 40 'open-vcdiff/src/vcdiffengine.cc',
41 'open-vcdiff/src/vcdiffengine.h', 41 'open-vcdiff/src/vcdiffengine.h',
42 'open-vcdiff/src/zconf.h', 42 'open-vcdiff/src/zconf.h',
43 'open-vcdiff/src/zlib.h', 43 'open-vcdiff/src/zlib.h',
44 'open-vcdiff/vsprojects/config.h', 44 'open-vcdiff/vsprojects/config.h',
45 'open-vcdiff/vsprojects/stdint.h', 45 'open-vcdiff/vsprojects/stdint.h',
46 ], 46 ],
47 'include_dirs': [ 47 'include_dirs': [
48 'open-vcdiff/src', 48 'open-vcdiff/src',
49 ], 49 ],
50 'defines': [
51 # Prefix the local zlib function names (e.g. adler32 -> z_adler32) to
52 # avoid link warning due to name conflict with zlib.
53 'Z_PREFIX',
tonyg 2012/03/01 11:32:54 Sorry for the naive question, but why is there a l
Xianzhu 2012/03/01 17:44:44 Good question. I just compared sdch/open-vcdiff/sr
54 ],
50 'direct_dependent_settings': { 55 'direct_dependent_settings': {
51 'include_dirs': [ 56 'include_dirs': [
52 'open-vcdiff/src', 57 'open-vcdiff/src',
53 ], 58 ],
54 }, 59 },
55 'conditions': [ 60 'conditions': [
56 [ 'OS == "linux" or OS == "android"', { 'include_dirs': [ 'linux' ] } ], 61 [ 'OS == "linux" or OS == "android"', { 'include_dirs': [ 'linux' ] } ],
57 [ 'os_bsd==1 or OS=="solaris"', { 'include_dirs': [ 'bsd' ] } ], 62 [ 'os_bsd==1 or OS=="solaris"', { 'include_dirs': [ 'bsd' ] } ],
58 [ 'OS == "mac"', { 'include_dirs': [ 'mac' ] } ], 63 [ 'OS == "mac"', { 'include_dirs': [ 'mac' ] } ],
59 [ 'OS == "win"', { 'include_dirs': [ 'open-vcdiff/vsprojects' ] } ], 64 [ 'OS == "win"', { 'include_dirs': [ 'open-vcdiff/vsprojects' ] } ],
60 ], 65 ],
61 }, 66 },
62 ], 67 ],
63 } 68 }
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