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 # Gyp file for effects 6 { 7 'targets': [ 8 { 9 'target_name': 'effects', 10 'product_name': 'skia_effects', 11 'type': 'static_library', 12 'standalone_static_library': 1, 13 'dependencies': [ 14 'core.gyp:*', 15 'images.gyp:*', 16 'utils.gyp:utils', 17 ], 18 'includes': [ 19 'effects.gypi', 20 ], 21 'include_dirs': [ 22 '../include/effects', 23 '../src/effects', 24 '../src/opts', 25 '../src/core', 26 ], 27 'direct_dependent_settings': { 28 'include_dirs': [ 29 '../include/effects', 30 ], 31 }, 32 'sources': [ 33 'effects.gypi', # Makes the gypi appear in IDEs (but does not modify the build). 34 ], 35 'conditions': [ 36 ['skia_gpu == 1', { 37 'include_dirs': [ 38 '../include/gpu', 39 '../src/gpu', 40 ], 41 }], 42 ], 43 }, 44 ], 45 } 46