OLD | NEW |
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 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libjpeg_turb
o', | 7 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libjpeg_turb
o', |
8 'conditions': [ | 8 'conditions': [ |
9 [ 'chromeos==1 or OS=="freebsd" or OS=="openbsd"', { | 9 [ 'chromeos==1 or OS=="freebsd" or OS=="openbsd"', { |
10 # Link to system .so since we already use it due to GTK. | 10 # Link to system .so since we already use it due to GTK. |
(...skipping 14 matching lines...) Expand all Loading... |
25 'conditions': [ | 25 'conditions': [ |
26 [ 'use_system_libjpeg==0', { | 26 [ 'use_system_libjpeg==0', { |
27 'targets': [ | 27 'targets': [ |
28 { | 28 { |
29 'target_name': 'libjpeg', | 29 'target_name': 'libjpeg', |
30 'type': '<(library)', | 30 'type': '<(library)', |
31 'include_dirs': [ | 31 'include_dirs': [ |
32 '.', | 32 '.', |
33 ], | 33 ], |
34 'defines': [ | 34 'defines': [ |
35 'WITH_SIMD', | 35 'WITH_SIMD', 'MOTION_JPEG_SUPPORTED', |
36 ], | 36 ], |
37 'sources': [ | 37 'sources': [ |
38 'jconfig.h', | 38 'jconfig.h', |
39 'jpeglib.h', | 39 'jpeglib.h', |
40 'jpeglibmangler.h', | 40 'jpeglibmangler.h', |
41 'jcapimin.c', | 41 'jcapimin.c', |
42 'jcapistd.c', | 42 'jcapistd.c', |
43 'jccoefct.c', | 43 'jccoefct.c', |
44 'jccolor.c', | 44 'jccolor.c', |
45 'jcdctmgr.c', | 45 'jcdctmgr.c', |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 ], | 265 ], |
266 }], | 266 }], |
267 ], | 267 ], |
268 } | 268 } |
269 | 269 |
270 # Local Variables: | 270 # Local Variables: |
271 # tab-width:2 | 271 # tab-width:2 |
272 # indent-tabs-mode:nil | 272 # indent-tabs-mode:nil |
273 # End: | 273 # End: |
274 # vim: set expandtab tabstop=2 shiftwidth=2: | 274 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |