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', |
mtklein | cd1f2da | 2015-07-28 08:55:14 -0700 | [diff] [blame] | 12 | 'include_dirs': [ |
| 13 | '../include/private', |
| 14 | '../src/core', |
| 15 | ], |
scroggo@google.com | 09fd4d2 | 2013-03-20 14:20:18 +0000 | [diff] [blame] | 16 | 'sources': [ |
scroggo@google.com | d9ba9a0 | 2013-03-21 19:43:15 +0000 | [diff] [blame] | 17 | '../tools/flags/SkCommandLineFlags.cpp', |
tfarina | 1c4d578 | 2014-06-22 16:13:00 -0700 | [diff] [blame] | 18 | '../tools/flags/SkCommandLineFlags.h', |
scroggo@google.com | 09fd4d2 | 2013-03-20 14:20:18 +0000 | [diff] [blame] | 19 | ], |
| 20 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 21 | 'skia_lib.gyp:skia_lib', |
scroggo@google.com | 09fd4d2 | 2013-03-20 14:20:18 +0000 | [diff] [blame] | 22 | ], |
| 23 | 'direct_dependent_settings': { |
| 24 | 'include_dirs': [ |
scroggo@google.com | d9ba9a0 | 2013-03-21 19:43:15 +0000 | [diff] [blame] | 25 | '../tools/flags', |
scroggo@google.com | 09fd4d2 | 2013-03-20 14:20:18 +0000 | [diff] [blame] | 26 | ], |
| 27 | } |
| 28 | }, |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 29 | { |
| 30 | 'target_name': 'flags_common', |
| 31 | 'type': 'static_library', |
kkinnunen | 3e980c3 | 2015-12-23 01:33:00 -0800 | [diff] [blame] | 32 | 'include_dirs': [ |
| 33 | '../include/gpu', |
bungeman | bf521ff | 2016-02-17 13:13:44 -0800 | [diff] [blame] | 34 | '../include/private', |
kkinnunen | 3e980c3 | 2015-12-23 01:33:00 -0800 | [diff] [blame] | 35 | '../src/gpu', |
| 36 | ], |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 37 | 'sources': [ |
| 38 | '../tools/flags/SkCommonFlags.cpp', |
| 39 | '../tools/flags/SkCommonFlags.h', |
kkinnunen | 3e980c3 | 2015-12-23 01:33:00 -0800 | [diff] [blame] | 40 | '../tools/flags/SkCommonFlagsConfig.cpp', |
| 41 | '../tools/flags/SkCommonFlagsConfig.h', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 42 | ], |
| 43 | 'dependencies': [ |
| 44 | 'skia_lib.gyp:skia_lib', |
| 45 | 'flags.gyp:flags', |
| 46 | ], |
| 47 | 'direct_dependent_settings': { |
| 48 | 'include_dirs': [ |
kkinnunen | 3e980c3 | 2015-12-23 01:33:00 -0800 | [diff] [blame] | 49 | '../include/gpu', |
bungeman | bf521ff | 2016-02-17 13:13:44 -0800 | [diff] [blame] | 50 | '../include/private', |
kkinnunen | 3e980c3 | 2015-12-23 01:33:00 -0800 | [diff] [blame] | 51 | '../src/gpu', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 52 | '../tools/flags', |
| 53 | ], |
| 54 | } |
| 55 | }, |
scroggo@google.com | 09fd4d2 | 2013-03-20 14:20:18 +0000 | [diff] [blame] | 56 | ], |
| 57 | } |