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 ], | |
35 }, | 28 }, |
36 { | 29 { |
37 'target_name': 'flags_common', | 30 'target_name': 'flags_common', |
38 'type': 'static_library', | 31 'type': 'static_library', |
39 'include_dirs': [ | 32 'include_dirs': [ |
40 '../include/gpu', | 33 '../include/gpu', |
41 '../include/private', | 34 '../include/private', |
42 '../src/gpu', | 35 '../src/gpu', |
43 ], | 36 ], |
44 'sources': [ | 37 'sources': [ |
(...skipping 10 matching lines...) Expand all Loading... |
55 'include_dirs': [ | 48 'include_dirs': [ |
56 '../include/gpu', | 49 '../include/gpu', |
57 '../include/private', | 50 '../include/private', |
58 '../src/gpu', | 51 '../src/gpu', |
59 '../tools/flags', | 52 '../tools/flags', |
60 ], | 53 ], |
61 } | 54 } |
62 }, | 55 }, |
63 ], | 56 ], |
64 } | 57 } |
OLD | NEW |