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/client/android', | |
24 '../include/private', | 23 '../include/private', |
25 '../src/effects', | 24 '../src/effects', |
26 '../src/opts', | 25 '../src/opts', |
27 '../src/core', | 26 '../src/core', |
28 ], | 27 ], |
29 'direct_dependent_settings': { | 28 'direct_dependent_settings': { |
30 'include_dirs': [ | 29 'include_dirs': [ |
31 '../include/effects', | 30 '../include/effects', |
32 '../include/client/android', | |
33 ], | 31 ], |
34 }, | 32 }, |
35 'sources': [ | 33 'sources': [ |
36 'effects.gypi', # Makes the gypi appear in IDEs (but does not modify the
build). | 34 'effects.gypi', # Makes the gypi appear in IDEs (but does not modify the
build). |
37 ], | 35 ], |
38 'conditions': [ | 36 'conditions': [ |
39 ['skia_gpu == 1', { | 37 ['skia_gpu == 1', { |
40 'include_dirs': [ | 38 'include_dirs': [ |
41 '../include/gpu', | 39 '../include/gpu', |
42 '../src/gpu', | 40 '../src/gpu', |
43 ], | 41 ], |
44 }], | 42 }], |
45 ], | 43 ], |
46 }, | 44 }, |
47 ], | 45 ], |
48 } | 46 } |
OLD | NEW |