| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 # This is a copy of ../third_party/externals/libjpeg/libjpeg.gyp , modified | |
| 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 | |
| 8 # from Chrome's libjpeg port, rather than making our own copy') for a better | |
| 9 # long-term solution. | |
| 10 | |
| 11 { | |
| 12 'variables': { | |
| 13 'use_system_libjpeg%': 0, | |
| 14 'skia_warnings_as_errors': 0, | |
| 15 }, | |
| 16 'conditions': [ | |
| 17 ['skia_os == "android"', { | |
| 18 'targets': [ | |
| 19 { | |
| 20 'target_name': 'libjpeg', | |
| 21 'type': 'none', | |
| 22 'dependencies': [ | |
| 23 'android_deps.gyp:jpeg', | |
| 24 ], | |
| 25 'export_dependent_settings': [ | |
| 26 'android_deps.gyp:jpeg', | |
| 27 ], | |
| 28 }, | |
| 29 ], | |
| 30 }, { # skia_os != android | |
| 31 'targets': [ | |
| 32 { | |
| 33 'target_name': 'libjpeg', | |
| 34 'type': 'none', | |
| 35 'dependencies': [ | |
| 36 'libjpeg-turbo.gyp:libjpeg-turbo', | |
| 37 ], | |
| 38 'export_dependent_settings': [ | |
| 39 'libjpeg-turbo.gyp:libjpeg-turbo', | |
| 40 ], | |
| 41 }, | |
| 42 ], | |
| 43 }], | |
| 44 ], | |
| 45 } | |
| OLD | NEW |