blob: 7b75109a9991b03a00a60d0d8473e6e2e69da6e2 [file] [log] [blame]
msarettb747b902015-11-06 11:15:49 -08001# Copyright 2015 Google Inc.
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6# This arguably should go in libjpeg-turbo.gyp. But if we put it there, gyp
7# gets overeager and starts trying to parse all of the targets in that file.
8# And it will fail to parse a target it doesn't need anyway when we are
9# building for the android framework. So we will add this file as another
10# layer of indirection.
11{
12 'targets': [
13 {
14 'target_name': 'libjpeg-turbo-selector',
15 'type': 'none',
16 'conditions': [
17 [ 'skia_android_framework', {
18 'dependencies': [ 'android_deps.gyp:libjpeg-turbo' ],
19 'export_dependent_settings': [ 'android_deps.gyp:libjpeg-turbo' ],
20 },{
21 'dependencies': [ 'libjpeg-turbo.gyp:libjpeg-turbo' ],
22 'export_dependent_settings': [ 'libjpeg-turbo.gyp:libjpeg-turbo' ],
23 }]
24 ]
25 },
26 ]
27}