blob: 258ca40fab5aafd52c4e6f7c168f4dbe38f050fd [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 ],
27 }
28 },
caryclark17f0b6d2014-07-22 10:15:34 -070029 {
30 'target_name': 'flags_common',
31 'type': 'static_library',
kkinnunen3e980c32015-12-23 01:33:00 -080032 'include_dirs': [
33 '../include/gpu',
bungemanbf521ff2016-02-17 13:13:44 -080034 '../include/private',
kkinnunen3e980c32015-12-23 01:33:00 -080035 '../src/gpu',
36 ],
caryclark17f0b6d2014-07-22 10:15:34 -070037 'sources': [
38 '../tools/flags/SkCommonFlags.cpp',
39 '../tools/flags/SkCommonFlags.h',
kkinnunen3e980c32015-12-23 01:33:00 -080040 '../tools/flags/SkCommonFlagsConfig.cpp',
41 '../tools/flags/SkCommonFlagsConfig.h',
caryclark17f0b6d2014-07-22 10:15:34 -070042 ],
43 'dependencies': [
44 'skia_lib.gyp:skia_lib',
45 'flags.gyp:flags',
46 ],
47 'direct_dependent_settings': {
48 'include_dirs': [
kkinnunen3e980c32015-12-23 01:33:00 -080049 '../include/gpu',
bungemanbf521ff2016-02-17 13:13:44 -080050 '../include/private',
kkinnunen3e980c32015-12-23 01:33:00 -080051 '../src/gpu',
caryclark17f0b6d2014-07-22 10:15:34 -070052 '../tools/flags',
53 ],
54 }
55 },
scroggo@google.com09fd4d22013-03-20 14:20:18 +000056 ],
57}