tools/gn: convert NULL to nullptr, header version.
[chromium-blink-merge.git] / ui / native_theme / native_theme.gyp
blob7791468336bf262de49228e7a25c31797c4ea05c
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'targets': [
10     {
11       'target_name': 'native_theme',
12       'type': '<(component)',
13       'dependencies': [
14         '../../base/base.gyp:base',
15         '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
16         '../../skia/skia.gyp:skia',
17         '../base/ui_base.gyp:ui_base',
18         '../gfx/gfx.gyp:gfx',
19         '../gfx/gfx.gyp:gfx_geometry',
20         '../resources/ui_resources.gyp:ui_resources',
21       ],
22       'defines': [
23         'NATIVE_THEME_IMPLEMENTATION',
24       ],
25       'sources': [
26         'common_theme.cc',
27         'common_theme.h',
28         'fallback_theme.cc',
29         'fallback_theme.h',
30         'native_theme.cc',
31         'native_theme.h',
32         'native_theme_android.cc',
33         'native_theme_android.h',
34         'native_theme_aura.cc',
35         'native_theme_aura.h',
36         'native_theme_aurawin.cc',
37         'native_theme_aurawin.h',
38         'native_theme_base.cc',
39         'native_theme_base.h',
40         'native_theme_mac.h',
41         'native_theme_mac.mm',
42         'native_theme_observer.cc',
43         'native_theme_observer.h',
44         'native_theme_switches.cc',
45         'native_theme_switches.h',
46         'native_theme_win.cc',
47         'native_theme_win.h',
48       ],
49     },
50     {
51       'target_name': 'native_theme_unittests',
52       'type': '<(gtest_target_type)',
53       'dependencies': [
54         '../../base/base.gyp:base',
55         '../../base/base.gyp:test_support_base',
56         '../../skia/skia.gyp:skia',
57         '../../testing/gtest.gyp:gtest',
58         'native_theme',
59       ],
60       'sources': [
61         '../../base/test/run_all_unittests.cc',
62         'native_theme_mac_unittest.cc',
63       ],
64     },
65   ],