1# 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} 28