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', |
raftias | 7c602de | 2016-10-13 10:45:44 -0700 | [diff] [blame] | 42 | '../src/core', |
kkinnunen | 3e980c3 | 2015-12-23 01:33:00 -0800 | [diff] [blame] | 43 | '../src/gpu', |
| 44 | ], |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 45 | 'sources': [ |
| 46 | '../tools/flags/SkCommonFlags.cpp', |
| 47 | '../tools/flags/SkCommonFlags.h', |
kkinnunen | 3e980c3 | 2015-12-23 01:33:00 -0800 | [diff] [blame] | 48 | '../tools/flags/SkCommonFlagsConfig.cpp', |
| 49 | '../tools/flags/SkCommonFlagsConfig.h', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 50 | ], |
| 51 | 'dependencies': [ |
| 52 | 'skia_lib.gyp:skia_lib', |
| 53 | 'flags.gyp:flags', |
| 54 | ], |
| 55 | 'direct_dependent_settings': { |
| 56 | 'include_dirs': [ |
kkinnunen | 3e980c3 | 2015-12-23 01:33:00 -0800 | [diff] [blame] | 57 | '../include/gpu', |
bungeman | bf521ff | 2016-02-17 13:13:44 -0800 | [diff] [blame] | 58 | '../include/private', |
kkinnunen | 3e980c3 | 2015-12-23 01:33:00 -0800 | [diff] [blame] | 59 | '../src/gpu', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 60 | '../tools/flags', |
| 61 | ], |
| 62 | } |
| 63 | }, |
scroggo@google.com | 09fd4d2 | 2013-03-20 14:20:18 +0000 | [diff] [blame] | 64 | ], |
| 65 | } |