1# 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.
5# GYP file to build flag parser
6#
7{
8  'targets': [
9    {
10      'target_name': 'flags',
11      'type': 'static_library',
12      'include_dirs': [ '../src/core', ],
13      'sources': [
14        '../tools/flags/SkCommandLineFlags.cpp',
15        '../tools/flags/SkCommandLineFlags.h',
16      ],
17      'dependencies': [
18        'skia_lib.gyp:skia_lib',
19      ],
20      'direct_dependent_settings': {
21        'include_dirs': [
22          '../tools/flags',
23        ],
24      }
25    },
26    {
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    },
43  ],
44}
45