| OLD | NEW |
| 1 # Copyright 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 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 # This is a copy of ../third_party/externals/libjpeg/libjpeg.gyp , modified | 5 # This is a copy of ../third_party/externals/libjpeg/libjpeg.gyp , modified |
| 6 # such that all source paths point into that directory. | 6 # such that all source paths point into that directory. |
| 7 # See http://code.google.com/p/skia/issues/detail?id=543 ('wrap libjpeg.gyp | 7 # See http://code.google.com/p/skia/issues/detail?id=543 ('wrap libjpeg.gyp |
| 8 # from Chrome's libjpeg port, rather than making our own copy') for a better | 8 # from Chrome's libjpeg port, rather than making our own copy') for a better |
| 9 # long-term solution. | 9 # long-term solution. |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 }, | 28 }, |
| 29 ], | 29 ], |
| 30 }, { # skia_os != android | 30 }, { # skia_os != android |
| 31 'conditions': [ | 31 'conditions': [ |
| 32 ['use_system_libjpeg==0', { | 32 ['use_system_libjpeg==0', { |
| 33 'targets': [ | 33 'targets': [ |
| 34 { | 34 { |
| 35 'target_name': 'libjpeg', | 35 'target_name': 'libjpeg', |
| 36 'type': 'static_library', | 36 'type': 'static_library', |
| 37 'sources': [ | 37 'sources': [ |
| 38 # we currently build skia's version of libjpeg-turbo without |
| 39 # SIMD optimizations for simplicity |
| 40 '../third_party/externals/libjpeg/jsimd_none.c', |
| 41 |
| 38 '../third_party/externals/libjpeg/jcapimin.c', | 42 '../third_party/externals/libjpeg/jcapimin.c', |
| 39 '../third_party/externals/libjpeg/jcapistd.c', | 43 '../third_party/externals/libjpeg/jcapistd.c', |
| 40 '../third_party/externals/libjpeg/jccoefct.c', | 44 '../third_party/externals/libjpeg/jccoefct.c', |
| 41 '../third_party/externals/libjpeg/jccolor.c', | 45 '../third_party/externals/libjpeg/jccolor.c', |
| 42 '../third_party/externals/libjpeg/jcdctmgr.c', | 46 '../third_party/externals/libjpeg/jcdctmgr.c', |
| 43 '../third_party/externals/libjpeg/jchuff.c', | 47 '../third_party/externals/libjpeg/jchuff.c', |
| 44 '../third_party/externals/libjpeg/jchuff.h', | 48 '../third_party/externals/libjpeg/jchuff.h', |
| 45 '../third_party/externals/libjpeg/jcinit.c', | 49 '../third_party/externals/libjpeg/jcinit.c', |
| 46 '../third_party/externals/libjpeg/jcmainct.c', | 50 '../third_party/externals/libjpeg/jcmainct.c', |
| 47 '../third_party/externals/libjpeg/jcmarker.c', | 51 '../third_party/externals/libjpeg/jcmarker.c', |
| (...skipping 23 matching lines...) Expand all Loading... |
| 71 '../third_party/externals/libjpeg/jdpostct.c', | 75 '../third_party/externals/libjpeg/jdpostct.c', |
| 72 '../third_party/externals/libjpeg/jdsample.c', | 76 '../third_party/externals/libjpeg/jdsample.c', |
| 73 '../third_party/externals/libjpeg/jerror.c', | 77 '../third_party/externals/libjpeg/jerror.c', |
| 74 '../third_party/externals/libjpeg/jerror.h', | 78 '../third_party/externals/libjpeg/jerror.h', |
| 75 '../third_party/externals/libjpeg/jfdctflt.c', | 79 '../third_party/externals/libjpeg/jfdctflt.c', |
| 76 '../third_party/externals/libjpeg/jfdctfst.c', | 80 '../third_party/externals/libjpeg/jfdctfst.c', |
| 77 '../third_party/externals/libjpeg/jfdctint.c', | 81 '../third_party/externals/libjpeg/jfdctint.c', |
| 78 '../third_party/externals/libjpeg/jidctflt.c', | 82 '../third_party/externals/libjpeg/jidctflt.c', |
| 79 '../third_party/externals/libjpeg/jidctfst.c', | 83 '../third_party/externals/libjpeg/jidctfst.c', |
| 80 '../third_party/externals/libjpeg/jidctint.c', | 84 '../third_party/externals/libjpeg/jidctint.c', |
| 85 '../third_party/externals/libjpeg/jidctred.c', |
| 81 '../third_party/externals/libjpeg/jinclude.h', | 86 '../third_party/externals/libjpeg/jinclude.h', |
| 82 '../third_party/externals/libjpeg/jmemmgr.c', | 87 '../third_party/externals/libjpeg/jmemmgr.c', |
| 83 '../third_party/externals/libjpeg/jmemnobs.c', | 88 '../third_party/externals/libjpeg/jmemnobs.c', |
| 84 '../third_party/externals/libjpeg/jmemsys.h', | 89 '../third_party/externals/libjpeg/jmemsys.h', |
| 85 '../third_party/externals/libjpeg/jmorecfg.h', | 90 '../third_party/externals/libjpeg/jmorecfg.h', |
| 86 '../third_party/externals/libjpeg/jpegint.h', | 91 '../third_party/externals/libjpeg/jpegint.h', |
| 87 '../third_party/externals/libjpeg/jpeglib.h', | 92 '../third_party/externals/libjpeg/jpeglib.h', |
| 93 '../third_party/externals/libjpeg/jpeglibmangler.h', |
| 88 '../third_party/externals/libjpeg/jquant1.c', | 94 '../third_party/externals/libjpeg/jquant1.c', |
| 89 '../third_party/externals/libjpeg/jquant2.c', | 95 '../third_party/externals/libjpeg/jquant2.c', |
| 90 '../third_party/externals/libjpeg/jutils.c', | 96 '../third_party/externals/libjpeg/jutils.c', |
| 91 '../third_party/externals/libjpeg/jversion.h', | 97 '../third_party/externals/libjpeg/jversion.h', |
| 92 ], | 98 ], |
| 93 'direct_dependent_settings': { | 99 'direct_dependent_settings': { |
| 94 'include_dirs': [ | 100 'include_dirs': [ |
| 95 '../third_party/externals/libjpeg', | 101 '../third_party/externals/libjpeg', |
| 96 ], | 102 ], |
| 97 }, | 103 }, |
| (...skipping 28 matching lines...) Expand all Loading... |
| 126 ], | 132 ], |
| 127 }], | 133 }], |
| 128 ], | 134 ], |
| 129 } | 135 } |
| 130 | 136 |
| 131 # Local Variables: | 137 # Local Variables: |
| 132 # tab-width:2 | 138 # tab-width:2 |
| 133 # indent-tabs-mode:nil | 139 # indent-tabs-mode:nil |
| 134 # End: | 140 # End: |
| 135 # vim: set expandtab tabstop=2 shiftwidth=2: | 141 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |