OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 component("native_theme") { | 7 component("native_theme") { |
8 sources = [ | 8 sources = [ |
9 "common_theme.cc", | 9 "common_theme.cc", |
10 "common_theme.h", | 10 "common_theme.h", |
11 "native_theme.cc", | 11 "native_theme.cc", |
12 "native_theme.h", | 12 "native_theme.h", |
13 "native_theme_android.cc", | 13 "native_theme_android.cc", |
14 "native_theme_android.h", | 14 "native_theme_android.h", |
15 "native_theme_base.cc", | 15 "native_theme_base.cc", |
16 "native_theme_base.h", | 16 "native_theme_base.h", |
| 17 "native_theme_dark_win.cc", |
| 18 "native_theme_dark_win.h", |
17 "native_theme_mac.h", | 19 "native_theme_mac.h", |
18 "native_theme_mac.mm", | 20 "native_theme_mac.mm", |
19 "native_theme_observer.cc", | 21 "native_theme_observer.cc", |
20 "native_theme_observer.h", | 22 "native_theme_observer.h", |
21 "native_theme_switches.cc", | 23 "native_theme_switches.cc", |
22 "native_theme_switches.h", | 24 "native_theme_switches.h", |
23 "native_theme_win.cc", | 25 "native_theme_win.cc", |
24 "native_theme_win.h", | 26 "native_theme_win.h", |
25 ] | 27 ] |
26 | 28 |
27 if (use_aura) { | 29 if (use_aura) { |
28 sources += [ | 30 sources += [ |
29 "native_theme_aura.cc", | 31 "native_theme_aura.cc", |
30 "native_theme_aura.h", | 32 "native_theme_aura.h", |
| 33 "native_theme_dark_aura.cc", |
| 34 "native_theme_dark_aura.h", |
31 ] | 35 ] |
32 | 36 |
33 if (is_win) { | 37 if (is_win) { |
34 sources += [ | 38 sources += [ |
35 "native_theme_aurawin.cc", | 39 "native_theme_aurawin.cc", |
36 "native_theme_aurawin.h", | 40 "native_theme_aurawin.h", |
37 ] | 41 ] |
38 } | 42 } |
39 } | 43 } |
40 | 44 |
41 defines = [ "NATIVE_THEME_IMPLEMENTATION" ] | 45 defines = [ "NATIVE_THEME_IMPLEMENTATION" ] |
42 | 46 |
43 deps = [ | 47 deps = [ |
44 "//base", | 48 "//base", |
45 "//base/third_party/dynamic_annotations", | 49 "//base/third_party/dynamic_annotations", |
46 "//skia", | 50 "//skia", |
47 "//ui/base", | 51 "//ui/base", |
48 "//ui/gfx", | 52 "//ui/gfx", |
49 "//ui/gfx/geometry", | 53 "//ui/gfx/geometry", |
50 "//ui/resources", | 54 "//ui/resources", |
51 ] | 55 ] |
52 } | 56 } |
OLD | NEW |