Chromium Code Reviews| Index: gyp/libjpeg-turbo-selector.gyp |
| diff --git a/gyp/libjpeg-turbo-selector.gyp b/gyp/libjpeg-turbo-selector.gyp |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8b678f648370b27e2f0ac2a4a0fdb3a19371d48a |
| --- /dev/null |
| +++ b/gyp/libjpeg-turbo-selector.gyp |
| @@ -0,0 +1,27 @@ |
| +# Copyright 2014 Google Inc. |
|
scroggo
2015/11/05 22:24:56
2015
msarett
2015/11/05 22:39:53
:)
|
| +# |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +# This arguably should go in libjpeg-turbo.gyp. But if we put it there, gyp |
| +# gets overeager and starts trying to parse all of the targets in that file. |
| +# And it will fail to parse a target it doesn't need anyway when we are |
| +# building for the android framework. So we will add this file as another |
| +# layer of indirection. |
| +{ |
| + 'targets': [ |
| + { |
| + 'target_name': 'libjpeg-turbo-selector', |
| + 'type': 'none', |
| + 'conditions': [ |
| + [ 'skia_android_framework', { |
| + 'dependencies': [ 'android_deps.gyp:libjpeg-turbo' ], |
| + 'export_dependent_settings': [ 'android_deps.gyp:libjpeg-turbo' ], |
| + },{ |
| + 'dependencies': [ 'libjpeg-turbo.gyp:libjpeg-turbo' ], |
| + 'export_dependent_settings': [ 'libjpeg-turbo.gyp:libjpeg-turbo' ], |
| + }] |
| + ] |
| + }, |
| + ] |
| +} |