OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 # This file is not used when use_system_libjepg==1. Settings for building with | 6 # This file is not used when use_system_libjepg==1. Settings for building with |
7 # the system libjpeg is in third_party/libjpeg/libjpeg.gyp. | 7 # the system libjpeg is in third_party/libjpeg/libjpeg.gyp. |
8 'variables': { | 8 'variables': { |
9 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libjpeg_turb
o', | 9 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libjpeg_turb
o', |
10 'conditions': [ | 10 'conditions': [ |
11 [ 'OS=="win"', { | 11 [ 'OS=="win"', { |
12 'object_suffix': 'obj', | 12 'object_suffix': 'obj', |
13 }, { | 13 }, { |
14 'object_suffix': 'o', | 14 'object_suffix': 'o', |
15 }], | 15 }], |
16 ], | 16 ], |
17 }, | 17 }, |
18 'targets': [ | 18 'targets': [ |
19 { | 19 { |
20 'target_name': 'libjpeg', | 20 'target_name': 'libjpeg', |
21 'type': 'static_library', | 21 'type': 'static_library', |
22 'include_dirs': [ | 22 'include_dirs': [ |
23 '.', | 23 '.', |
24 ], | 24 ], |
25 'defines': [ | 25 'defines': [ |
26 'WITH_SIMD', 'MOTION_JPEG_SUPPORTED', | 26 'WITH_SIMD', |
| 27 'MOTION_JPEG_SUPPORTED', |
| 28 'NO_GETENV', |
27 ], | 29 ], |
28 'sources': [ | 30 'sources': [ |
29 'jcapimin.c', | 31 'jcapimin.c', |
30 'jcapistd.c', | 32 'jcapistd.c', |
31 'jccoefct.c', | 33 'jccoefct.c', |
32 'jccolor.c', | 34 'jccolor.c', |
33 'jcdctmgr.c', | 35 'jcdctmgr.c', |
34 'jchuff.c', | 36 'jchuff.c', |
35 'jchuff.h', | 37 'jchuff.h', |
36 'jcinit.c', | 38 'jcinit.c', |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 ], | 295 ], |
294 }, | 296 }, |
295 ], | 297 ], |
296 } | 298 } |
297 | 299 |
298 # Local Variables: | 300 # Local Variables: |
299 # tab-width:2 | 301 # tab-width:2 |
300 # indent-tabs-mode:nil | 302 # indent-tabs-mode:nil |
301 # End: | 303 # End: |
302 # vim: set expandtab tabstop=2 shiftwidth=2: | 304 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |