Roll src/third_party/skia 47326ab:17bfe0d
[chromium-blink-merge.git] / ui / native_theme / BUILD.gn
blob3a9a104847d02fcff5840ae6da81fd28d062736c
1 # Copyright 2014 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.
5 import("//build/config/ui.gni")
7 component("native_theme") {
8   sources = [
9     "common_theme.cc",
10     "common_theme.h",
11     "fallback_theme.cc",
12     "fallback_theme.h",
13     "native_theme.cc",
14     "native_theme.h",
15     "native_theme_android.cc",
16     "native_theme_android.h",
17     "native_theme_base.cc",
18     "native_theme_base.h",
19     "native_theme_mac.h",
20     "native_theme_mac.mm",
21     "native_theme_observer.cc",
22     "native_theme_observer.h",
23     "native_theme_switches.cc",
24     "native_theme_switches.h",
25     "native_theme_win.cc",
26     "native_theme_win.h",
27   ]
29   if (use_aura) {
30     sources += [
31       "native_theme_aura.cc",
32       "native_theme_aura.h",
33     ]
35     if (is_win) {
36       sources += [
37         "native_theme_aurawin.cc",
38         "native_theme_aurawin.h",
39       ]
40     }
41   }
43   defines = [
44     "NATIVE_THEME_IMPLEMENTATION",
45   ]
47   deps = [
48     "//base",
49     "//base/third_party/dynamic_annotations",
50     "//skia",
51     "//ui/base",
52     "//ui/gfx",
53     "//ui/gfx/geometry",
54     "//ui/resources",
55   ]