scroggo | 3e56227 | 2015-03-25 10:22:41 -0700 | [diff] [blame] | 1 | # Copyright 2015 Google Inc. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
scroggo@google.com | 09fd4d2 | 2013-03-20 14:20:18 +0000 | [diff] [blame] | 5 | # GYP file to build flag parser |
| 6 | # |
| 7 | { |
| 8 | 'targets': [ |
| 9 | { |
| 10 | 'target_name': 'flags', |
| 11 | 'type': 'static_library', |
halcanary | 03758b8 | 2015-01-18 10:39:25 -0800 | [diff] [blame] | 12 | 'include_dirs': [ '../src/core', ], |
scroggo@google.com | 09fd4d2 | 2013-03-20 14:20:18 +0000 | [diff] [blame] | 13 | 'sources': [ |
scroggo@google.com | d9ba9a0 | 2013-03-21 19:43:15 +0000 | [diff] [blame] | 14 | '../tools/flags/SkCommandLineFlags.cpp', |
tfarina | 1c4d578 | 2014-06-22 16:13:00 -0700 | [diff] [blame] | 15 | '../tools/flags/SkCommandLineFlags.h', |
scroggo@google.com | 09fd4d2 | 2013-03-20 14:20:18 +0000 | [diff] [blame] | 16 | ], |
| 17 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 18 | 'skia_lib.gyp:skia_lib', |
scroggo@google.com | 09fd4d2 | 2013-03-20 14:20:18 +0000 | [diff] [blame] | 19 | ], |
| 20 | 'direct_dependent_settings': { |
| 21 | 'include_dirs': [ |
scroggo@google.com | d9ba9a0 | 2013-03-21 19:43:15 +0000 | [diff] [blame] | 22 | '../tools/flags', |
scroggo@google.com | 09fd4d2 | 2013-03-20 14:20:18 +0000 | [diff] [blame] | 23 | ], |
| 24 | } |
| 25 | }, |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 26 | { |
| 27 | 'target_name': 'flags_common', |
| 28 | 'type': 'static_library', |
| 29 | 'sources': [ |
| 30 | '../tools/flags/SkCommonFlags.cpp', |
| 31 | '../tools/flags/SkCommonFlags.h', |
| 32 | ], |
| 33 | 'dependencies': [ |
| 34 | 'skia_lib.gyp:skia_lib', |
| 35 | 'flags.gyp:flags', |
| 36 | ], |
| 37 | 'direct_dependent_settings': { |
| 38 | 'include_dirs': [ |
| 39 | '../tools/flags', |
| 40 | ], |
| 41 | } |
| 42 | }, |
scroggo@google.com | 09fd4d2 | 2013-03-20 14:20:18 +0000 | [diff] [blame] | 43 | ], |
| 44 | } |