blob: 0fd52b375b18c9c5e69bfcd88c5cf4a0ef1ec2b5 [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',
32 'sources': [
33 '../tools/flags/SkCommonFlags.cpp',
34 '../tools/flags/SkCommonFlags.h',
35 ],
36 'dependencies': [
37 'skia_lib.gyp:skia_lib',
38 'flags.gyp:flags',
39 ],
40 'direct_dependent_settings': {
41 'include_dirs': [
42 '../tools/flags',
43 ],
44 }
45 },
scroggo@google.com09fd4d22013-03-20 14:20:18 +000046 ],
47}