OLD | NEW |
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 # Gyp file for effects | 5 # Gyp file for effects |
6 { | 6 { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'effects', | 9 'target_name': 'effects', |
10 'product_name': 'skia_effects', | 10 'product_name': 'skia_effects', |
11 'type': 'static_library', | 11 'type': 'static_library', |
12 'standalone_static_library': 1, | 12 'standalone_static_library': 1, |
13 'dependencies': [ | 13 'dependencies': [ |
14 'core.gyp:*', | 14 'core.gyp:*', |
15 'images.gyp:*', | 15 'images.gyp:*', |
16 'utils.gyp:utils', | 16 'utils.gyp:utils', |
17 ], | 17 ], |
18 'includes': [ | 18 'includes': [ |
19 'effects.gypi', | 19 'effects.gypi', |
20 ], | 20 ], |
21 'include_dirs': [ | 21 'include_dirs': [ |
22 '../include/effects', | 22 '../include/effects', |
23 '../include/private', | |
24 '../src/effects', | 23 '../src/effects', |
25 '../src/opts', | 24 '../src/opts', |
26 '../src/core', | 25 '../src/core', |
27 ], | 26 ], |
28 'direct_dependent_settings': { | 27 'direct_dependent_settings': { |
29 'include_dirs': [ | 28 'include_dirs': [ |
30 '../include/effects', | 29 '../include/effects', |
31 ], | 30 ], |
32 }, | 31 }, |
33 'sources': [ | 32 'sources': [ |
34 'effects.gypi', # Makes the gypi appear in IDEs (but does not modify the
build). | 33 'effects.gypi', # Makes the gypi appear in IDEs (but does not modify the
build). |
35 ], | 34 ], |
36 'conditions': [ | 35 'conditions': [ |
37 ['skia_gpu == 1', { | 36 ['skia_gpu == 1', { |
38 'include_dirs': [ | 37 'include_dirs': [ |
39 '../include/gpu', | 38 '../include/gpu', |
40 '../src/gpu', | 39 '../src/gpu', |
41 ], | 40 ], |
42 }], | 41 }], |
43 ], | 42 ], |
44 }, | 43 }, |
45 ], | 44 ], |
46 } | 45 } |
OLD | NEW |