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

Side by Side Diff: third_party/bzip2/bzip2.gyp

Issue 14863012: Remove bzip2 code since it is no longer being used. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: add another missing file Created 7 years, 7 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 | « third_party/bzip2/blocksort.c ('k') | third_party/bzip2/bzlib.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'conditions': [
8 [ 'toolkit_uses_gtk==1', {
9 # Link to system .so since we already use it due to GTK.
10 'use_system_bzip2%': 1,
11 }, { # toolkit_uses_gtk!=1
12 'use_system_bzip2%': 0,
13 }],
14 ],
15 },
16 'conditions': [
17 ['use_system_bzip2==0', {
18 'targets': [
19 {
20 'target_name': 'bzip2',
21 'type': 'static_library',
22 'defines': ['BZ_NO_STDIO'],
23 'sources': [
24 'blocksort.c',
25 'bzlib.c',
26 'bzlib.h',
27 'bzlib_private.h',
28 'compress.c',
29 'crctable.c',
30 'decompress.c',
31 'huffman.c',
32 'randtable.c',
33 ],
34 'direct_dependent_settings': {
35 'include_dirs': [
36 '.',
37 ],
38 },
39 'conditions': [
40 ['OS=="win"', {
41 'product_name': 'libbzip2',
42 }, { # else: OS!="win"
43 'product_name': 'chrome_bz2',
44 }],
45 ],
46 },
47 ],
48 }, {
49 'targets': [
50 {
51 'target_name': 'bzip2',
52 'type': 'none',
53
54 'direct_dependent_settings': {
55 'defines': [
56 'USE_SYSTEM_LIBBZ2',
57 ],
58 },
59 'conditions': [
60 ['OS=="ios"', {
61 'link_settings': {
62 'libraries': [
63 '$(SDKROOT)/usr/lib/libbz2.dylib',
64 ],
65 },
66 }, {
67 # There aren't any pkg-config files for libbz2
68 'link_settings': {
69 'libraries': [
70 '-lbz2',
71 ],
72 },
73 }],
74 ],
75 },
76 ],
77 }],
78 ],
79 }
OLDNEW
« no previous file with comments | « third_party/bzip2/blocksort.c ('k') | third_party/bzip2/bzlib.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698