blob: 6aae30b622532f6c6d532c22e7bd461f935214fd [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',
halcanary03758b82015-01-18 10:39:25 -080012 'include_dirs': [ '../src/core', ],
scroggo@google.com09fd4d22013-03-20 14:20:18 +000013 'sources': [
scroggo@google.comd9ba9a02013-03-21 19:43:15 +000014 '../tools/flags/SkCommandLineFlags.cpp',
tfarina1c4d5782014-06-22 16:13:00 -070015 '../tools/flags/SkCommandLineFlags.h',
scroggo@google.com09fd4d22013-03-20 14:20:18 +000016 ],
17 'dependencies': [
djsollen@google.com52f02972013-06-03 12:10:19 +000018 'skia_lib.gyp:skia_lib',
scroggo@google.com09fd4d22013-03-20 14:20:18 +000019 ],
20 'direct_dependent_settings': {
21 'include_dirs': [
scroggo@google.comd9ba9a02013-03-21 19:43:15 +000022 '../tools/flags',
scroggo@google.com09fd4d22013-03-20 14:20:18 +000023 ],
24 }
25 },
caryclark17f0b6d2014-07-22 10:15:34 -070026 {
27 'target_name': 'flags_common',
28 'type': 'static_library',
29 'sources': [
30 '../tools/flags/SkCommonFlags.cpp',
31 '../tools/flags/SkCommonFlags.h',
32 ],
33 'dependencies': [
34 'skia_lib.gyp:skia_lib',
35 'flags.gyp:flags',
36 ],
37 'direct_dependent_settings': {
38 'include_dirs': [
39 '../tools/flags',
40 ],
41 }
42 },
scroggo@google.com09fd4d22013-03-20 14:20:18 +000043 ],
44}