summaryrefslogtreecommitdiffstats
path: root/ui/native_theme/native_theme.gyp
blob: 7791468336bf262de49228e7a25c31797c4ea05c (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
56
57
58
59
60
61
62
63
64
65
66
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'variables': {
    'chromium_code': 1,
  },
  'targets': [
    {
      'target_name': 'native_theme',
      'type': '<(component)',
      'dependencies': [
        '../../base/base.gyp:base',
        '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
        '../../skia/skia.gyp:skia',
        '../base/ui_base.gyp:ui_base',
        '../gfx/gfx.gyp:gfx',
        '../gfx/gfx.gyp:gfx_geometry',
        '../resources/ui_resources.gyp:ui_resources',
      ],
      'defines': [
        'NATIVE_THEME_IMPLEMENTATION',
      ],
      'sources': [
        'common_theme.cc',
        'common_theme.h',
        'fallback_theme.cc',
        'fallback_theme.h',
        'native_theme.cc',
        'native_theme.h',
        'native_theme_android.cc',
        'native_theme_android.h',
        'native_theme_aura.cc',
        'native_theme_aura.h',
        'native_theme_aurawin.cc',
        'native_theme_aurawin.h',
        'native_theme_base.cc',
        'native_theme_base.h',
        'native_theme_mac.h',
        'native_theme_mac.mm',
        'native_theme_observer.cc',
        'native_theme_observer.h',
        'native_theme_switches.cc',
        'native_theme_switches.h',
        'native_theme_win.cc',
        'native_theme_win.h',
      ],
    },
    {
      'target_name': 'native_theme_unittests',
      'type': '<(gtest_target_type)',
      'dependencies': [
        '../../base/base.gyp:base',
        '../../base/base.gyp:test_support_base',
        '../../skia/skia.gyp:skia',
        '../../testing/gtest.gyp:gtest',
        'native_theme',
      ],
      'sources': [
        '../../base/test/run_all_unittests.cc',
        'native_theme_mac_unittest.cc',
      ],
    },
  ],
}