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 | ], |
bsalomon | 3724e57 | 2016-03-30 18:56:19 -0700 | [diff] [blame] | 27 | }, |
| 28 | 'conditions': [ |
| 29 | ['skia_gpu', { |
| 30 | 'dependencies': [ |
| 31 | 'gputest.gyp:skgputest', |
| 32 | ], |
| 33 | }], |
| 34 | ], |
scroggo@google.com | 09fd4d2 | 2013-03-20 14:20:18 +0000 | [diff] [blame] | 35 | }, |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 36 | { |
| 37 | 'target_name': 'flags_common', |
| 38 | 'type': 'static_library', |
kkinnunen | 3e980c3 | 2015-12-23 01:33:00 -0800 | [diff] [blame] | 39 | 'include_dirs': [ |
| 40 | '../include/gpu', |
bungeman | bf521ff | 2016-02-17 13:13:44 -0800 | [diff] [blame] | 41 | '../include/private', |
kkinnunen | 3e980c3 | 2015-12-23 01:33:00 -0800 | [diff] [blame] | 42 | '../src/gpu', |
| 43 | ], |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 44 | 'sources': [ |
| 45 | '../tools/flags/SkCommonFlags.cpp', |
| 46 | '../tools/flags/SkCommonFlags.h', |
kkinnunen | 3e980c3 | 2015-12-23 01:33:00 -0800 | [diff] [blame] | 47 | '../tools/flags/SkCommonFlagsConfig.cpp', |
| 48 | '../tools/flags/SkCommonFlagsConfig.h', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 49 | ], |
| 50 | 'dependencies': [ |
| 51 | 'skia_lib.gyp:skia_lib', |
| 52 | 'flags.gyp:flags', |
| 53 | ], |
| 54 | 'direct_dependent_settings': { |
| 55 | 'include_dirs': [ |
kkinnunen | 3e980c3 | 2015-12-23 01:33:00 -0800 | [diff] [blame] | 56 | '../include/gpu', |
bungeman | bf521ff | 2016-02-17 13:13:44 -0800 | [diff] [blame] | 57 | '../include/private', |
kkinnunen | 3e980c3 | 2015-12-23 01:33:00 -0800 | [diff] [blame] | 58 | '../src/gpu', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 59 | '../tools/flags', |
| 60 | ], |
| 61 | } |
| 62 | }, |
scroggo@google.com | 09fd4d2 | 2013-03-20 14:20:18 +0000 | [diff] [blame] | 63 | ], |
| 64 | } |