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', |
(...skipping 21 matching lines...) Expand all Loading... |
32 'include_dirs': [ | 32 'include_dirs': [ |
33 '../include/gpu', | 33 '../include/gpu', |
34 '../src/gpu', | 34 '../src/gpu', |
35 ], | 35 ], |
36 'sources': [ | 36 'sources': [ |
37 '../tools/flags/SkCommonFlags.cpp', | 37 '../tools/flags/SkCommonFlags.cpp', |
38 '../tools/flags/SkCommonFlags.h', | 38 '../tools/flags/SkCommonFlags.h', |
39 '../tools/flags/SkCommonFlagsConfig.cpp', | 39 '../tools/flags/SkCommonFlagsConfig.cpp', |
40 '../tools/flags/SkCommonFlagsConfig.h', | 40 '../tools/flags/SkCommonFlagsConfig.h', |
41 ], | 41 ], |
| 42 'conditions':[ |
| 43 # FIXME: We redefine this here because this target does not depend on ra
w_codec, which |
| 44 # defines it. |
| 45 ['skia_codec_decodes_raw', { |
| 46 'defines': [ 'SK_CODEC_DECODES_RAW' ], |
| 47 }], |
| 48 ], |
42 'dependencies': [ | 49 'dependencies': [ |
43 'skia_lib.gyp:skia_lib', | 50 'skia_lib.gyp:skia_lib', |
44 'flags.gyp:flags', | 51 'flags.gyp:flags', |
45 ], | 52 ], |
46 'direct_dependent_settings': { | 53 'direct_dependent_settings': { |
47 'include_dirs': [ | 54 'include_dirs': [ |
48 '../include/gpu', | 55 '../include/gpu', |
49 '../src/gpu', | 56 '../src/gpu', |
50 '../tools/flags', | 57 '../tools/flags', |
51 ], | 58 ], |
52 } | 59 } |
53 }, | 60 }, |
54 ], | 61 ], |
55 } | 62 } |
OLD | NEW |