blob: d1a4004e45c83dc2e1d32ad91e594eb9cbad9215 [file] [log] [blame]
scroggo3e562272015-03-25 10:22:41 -07001# 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.com09fd4d22013-03-20 14:20:18 +00005# GYP file to build flag parser
6#
7{
8 'targets': [
9 {
10 'target_name': 'flags',
11 'type': 'static_library',
mtkleincd1f2da2015-07-28 08:55:14 -070012 'include_dirs': [
13 '../include/private',
14 '../src/core',
15 ],
scroggo@google.com09fd4d22013-03-20 14:20:18 +000016 'sources': [
scroggo@google.comd9ba9a02013-03-21 19:43:15 +000017 '../tools/flags/SkCommandLineFlags.cpp',
tfarina1c4d5782014-06-22 16:13:00 -070018 '../tools/flags/SkCommandLineFlags.h',
scroggo@google.com09fd4d22013-03-20 14:20:18 +000019 ],
20 'dependencies': [
djsollen@google.com52f02972013-06-03 12:10:19 +000021 'skia_lib.gyp:skia_lib',
scroggo@google.com09fd4d22013-03-20 14:20:18 +000022 ],
23 'direct_dependent_settings': {
24 'include_dirs': [
scroggo@google.comd9ba9a02013-03-21 19:43:15 +000025 '../tools/flags',
scroggo@google.com09fd4d22013-03-20 14:20:18 +000026 ],
bsalomon3724e572016-03-30 18:56:19 -070027 },
28 'conditions': [
29 ['skia_gpu', {
30 'dependencies': [
31 'gputest.gyp:skgputest',
32 ],
33 }],
34 ],
scroggo@google.com09fd4d22013-03-20 14:20:18 +000035 },
caryclark17f0b6d2014-07-22 10:15:34 -070036 {
37 'target_name': 'flags_common',
38 'type': 'static_library',
kkinnunen3e980c32015-12-23 01:33:00 -080039 'include_dirs': [
40 '../include/gpu',
bungemanbf521ff2016-02-17 13:13:44 -080041 '../include/private',
raftias7c602de2016-10-13 10:45:44 -070042 '../src/core',
kkinnunen3e980c32015-12-23 01:33:00 -080043 '../src/gpu',
44 ],
caryclark17f0b6d2014-07-22 10:15:34 -070045 'sources': [
46 '../tools/flags/SkCommonFlags.cpp',
47 '../tools/flags/SkCommonFlags.h',
kkinnunen3e980c32015-12-23 01:33:00 -080048 '../tools/flags/SkCommonFlagsConfig.cpp',
49 '../tools/flags/SkCommonFlagsConfig.h',
caryclark17f0b6d2014-07-22 10:15:34 -070050 ],
51 'dependencies': [
52 'skia_lib.gyp:skia_lib',
53 'flags.gyp:flags',
54 ],
55 'direct_dependent_settings': {
56 'include_dirs': [
kkinnunen3e980c32015-12-23 01:33:00 -080057 '../include/gpu',
bungemanbf521ff2016-02-17 13:13:44 -080058 '../include/private',
kkinnunen3e980c32015-12-23 01:33:00 -080059 '../src/gpu',
caryclark17f0b6d2014-07-22 10:15:34 -070060 '../tools/flags',
61 ],
62 }
63 },
scroggo@google.com09fd4d22013-03-20 14:20:18 +000064 ],
65}