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 to build experimental directory. | 5 # GYP file to build experimental directory. |
6 { | 6 { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'experimental', | 9 'target_name': 'experimental', |
10 'type': 'static_library', | 10 'type': 'static_library', |
11 'include_dirs': [ | 11 'include_dirs': [ |
12 '../include/config', | 12 '../include/config', |
13 '../include/core', | 13 '../include/core', |
14 ], | 14 ], |
15 'sources': [ | 15 'sources': [ |
16 '../experimental/SkSetPoly3To3.cpp', | 16 '../experimental/SkSetPoly3To3.cpp', |
17 '../experimental/SkSetPoly3To3_A.cpp', | 17 '../experimental/SkSetPoly3To3_A.cpp', |
18 '../experimental/SkSetPoly3To3_D.cpp', | 18 '../experimental/SkSetPoly3To3_D.cpp', |
19 ], | 19 ], |
20 'direct_dependent_settings': { | 20 'direct_dependent_settings': { |
21 'include_dirs': [ | 21 'include_dirs': [ |
22 '../experimental', | 22 '../experimental', |
23 ], | 23 ], |
24 }, | 24 }, |
25 }, | 25 }, |
26 ], | 26 ], |
| 27 'conditions': [ |
| 28 ['skia_os == "mac"', |
| 29 { |
| 30 'targets': [ |
| 31 { |
| 32 'target_name': 'coreGraphicsPdf2png', |
| 33 'type': 'executable', |
| 34 'include_dirs': [ '../src/core', ], |
| 35 'sources': [ '../experimental/tools/coreGraphicsPdf2png.cpp', ], |
| 36 'dependencies': [ 'skia_lib.gyp:skia_lib', ] |
| 37 }, |
| 38 ], |
| 39 }, |
| 40 ], |
| 41 ], |
27 } | 42 } |
OLD | NEW |