blob: 166e24b55ad0779a51b1e3b2ada8fe04ae5cb8e3 [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',
kkinnunen3e980c32015-12-23 01:33:00 -080042 '../src/gpu',
43 ],
caryclark17f0b6d2014-07-22 10:15:34 -070044 'sources': [
45 '../tools/flags/SkCommonFlags.cpp',
46 '../tools/flags/SkCommonFlags.h',
kkinnunen3e980c32015-12-23 01:33:00 -080047 '../tools/flags/SkCommonFlagsConfig.cpp',
48 '../tools/flags/SkCommonFlagsConfig.h',
caryclark17f0b6d2014-07-22 10:15:34 -070049 ],
50 'dependencies': [
51 'skia_lib.gyp:skia_lib',
52 'flags.gyp:flags',
53 ],
54 'direct_dependent_settings': {
55 'include_dirs': [
kkinnunen3e980c32015-12-23 01:33:00 -080056 '../include/gpu',
bungemanbf521ff2016-02-17 13:13:44 -080057 '../include/private',
kkinnunen3e980c32015-12-23 01:33:00 -080058 '../src/gpu',
caryclark17f0b6d2014-07-22 10:15:34 -070059 '../tools/flags',
60 ],
61 }
62 },
scroggo@google.com09fd4d22013-03-20 14:20:18 +000063 ],
64}