aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/flags.gyp
blob: 769a7bdb57721d1b35e212b7b41335c52006ae38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright 2015 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# GYP file to build flag parser
#
{
  'targets': [
    {
      'target_name': 'flags',
      'type': 'static_library',
      'include_dirs': [
          '../include/private',
          '../src/core',
      ],
      'sources': [
        '../tools/flags/SkCommandLineFlags.cpp',
        '../tools/flags/SkCommandLineFlags.h',
      ],
      'dependencies': [
        'skia_lib.gyp:skia_lib',
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          '../tools/flags',
        ],
      }
    },
    {
      'target_name': 'flags_common',
      'type': 'static_library',
      'include_dirs': [
          '../include/gpu',
          '../src/gpu',
      ],
      'sources': [
        '../tools/flags/SkCommonFlags.cpp',
        '../tools/flags/SkCommonFlags.h',
        '../tools/flags/SkCommonFlagsConfig.cpp',
        '../tools/flags/SkCommonFlagsConfig.h',
      ],
      'dependencies': [
        'skia_lib.gyp:skia_lib',
        'flags.gyp:flags',
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          '../include/gpu',
          '../src/gpu',
          '../tools/flags',
        ],
      }
    },
  ],
}