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 flag parser | 5 # GYP file to build flag parser |
6 # | 6 # |
7 { | 7 { |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'flags', | 10 'target_name': 'flags', |
11 'type': 'static_library', | 11 'type': 'static_library', |
12 'include_dirs': [ | 12 'include_dirs': [ |
13 '../include/private', | 13 '../include/private', |
14 '../src/core', | 14 '../src/core', |
15 ], | 15 ], |
16 'sources': [ | 16 'sources': [ |
17 '../tools/flags/SkCommandLineFlags.cpp', | 17 '../tools/flags/SkCommandLineFlags.cpp', |
18 '../tools/flags/SkCommandLineFlags.h', | 18 '../tools/flags/SkCommandLineFlags.h', |
19 ], | 19 ], |
20 'dependencies': [ | 20 'dependencies': [ |
21 'skia_lib.gyp:skia_lib', | 21 'skia_lib.gyp:skia_lib', |
22 ], | 22 ], |
23 'direct_dependent_settings': { | 23 'direct_dependent_settings': { |
24 'include_dirs': [ | 24 'include_dirs': [ |
25 '../tools/flags', | 25 '../tools/flags', |
26 ], | 26 ], |
27 } | 27 }, |
| 28 'conditions': [ |
| 29 ['skia_gpu', { |
| 30 'dependencies': [ |
| 31 'gputest.gyp:skgputest', |
| 32 ], |
| 33 }], |
| 34 ], |
28 }, | 35 }, |
29 { | 36 { |
30 'target_name': 'flags_common', | 37 'target_name': 'flags_common', |
31 'type': 'static_library', | 38 'type': 'static_library', |
32 'include_dirs': [ | 39 'include_dirs': [ |
33 '../include/gpu', | 40 '../include/gpu', |
34 '../include/private', | 41 '../include/private', |
35 '../src/gpu', | 42 '../src/gpu', |
36 ], | 43 ], |
37 'sources': [ | 44 'sources': [ |
(...skipping 10 matching lines...) Expand all Loading... |
48 'include_dirs': [ | 55 'include_dirs': [ |
49 '../include/gpu', | 56 '../include/gpu', |
50 '../include/private', | 57 '../include/private', |
51 '../src/gpu', | 58 '../src/gpu', |
52 '../tools/flags', | 59 '../tools/flags', |
53 ], | 60 ], |
54 } | 61 } |
55 }, | 62 }, |
56 ], | 63 ], |
57 } | 64 } |
OLD | NEW |