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

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

Issue 3614010: Add WebP library to Chromium... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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/libwebp/frame.c ('k') | third_party/libwebp/quant.c » ('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) 2010 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 'use_system_libwebp%': 0,
8 },
9 'conditions': [
10 ['use_system_libwebp==0', {
11 'targets': [
12 {
13 'target_name': 'libwebp',
14 'type': '<(library)',
15 'sources': [
16 'bits.c',
17 'frame.c',
18 'dsp.c',
19 'quant.c',
20 'tree.c',
21 'vp8.c',
22 'webp.c',
23 'yuv.c',
24 ],
25 'direct_dependent_settings': {
26 'include_dirs': [
27 '.', './webp',
28 ],
29 },
30 'conditions': [
31 ['OS!="win"', {
32 'product_name': 'webp',
33 'cflags': [
34 '-std=c99',
35 ],},
36 ],
37 ['OS=="win"', {
38 'msvs_settings': {
39 'VCCLCompilerTool': {
40 'AdditionalOptions': ['/TP'], # compile as C++ to get C99
41 },
42 },
43 }],
44 ],
45 },
46 ],
47 }, {
48 'targets': [
49 {
50 'target_name': 'libwebp',
51 'type': 'settings',
52 'direct_dependent_settings': {
53 'defines': [
54 'ENABLE_WEBP',
55 ],
56 },
57 'link_settings': {
58 'libraries': [
59 '-lwebp',
60 ],
61 },
62 }
63 ],
64 }],
65 ],
66 }
67
68 # Local Variables:
69 # tab-width:2
70 # indent-tabs-mode:nil
71 # End:
72 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « third_party/libwebp/frame.c ('k') | third_party/libwebp/quant.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698