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", |
(...skipping 10 matching lines...) Expand all Loading... | |
21 "native_theme_switches.cc", | 21 "native_theme_switches.cc", |
22 "native_theme_switches.h", | 22 "native_theme_switches.h", |
23 "native_theme_win.cc", | 23 "native_theme_win.cc", |
24 "native_theme_win.h", | 24 "native_theme_win.h", |
25 ] | 25 ] |
26 | 26 |
27 if (use_aura) { | 27 if (use_aura) { |
28 sources += [ | 28 sources += [ |
29 "native_theme_aura.cc", | 29 "native_theme_aura.cc", |
30 "native_theme_aura.h", | 30 "native_theme_aura.h", |
31 "native_theme_aura_dark.cc", | |
32 "native_theme_aura_dark.h", | |
31 ] | 33 ] |
32 | 34 |
33 if (is_win) { | 35 if (is_win) { |
34 sources += [ | 36 sources += [ |
35 "native_theme_aurawin.cc", | 37 "native_theme_aurawin.cc", |
36 "native_theme_aurawin.h", | 38 "native_theme_aurawin.h", |
37 ] | 39 ] |
38 } | 40 } |
39 } | 41 } |
40 | 42 |
43 if (is_win) { | |
44 sources += [ | |
45 "native_theme_win_dark.cc", | |
sky
2015/11/12 21:58:28
Generally platform specific files end with the pla
Evan Stade
2015/11/12 22:11:11
Here is the inheritance chain:
NativeTheme : Nati
sky
2015/11/12 23:45:52
I'm not suggesting moving any code, just the name.
Evan Stade
2015/11/13 18:11:40
changed the name
| |
46 "native_theme_win_dark.h", | |
47 ] | |
48 } | |
49 | |
41 defines = [ "NATIVE_THEME_IMPLEMENTATION" ] | 50 defines = [ "NATIVE_THEME_IMPLEMENTATION" ] |
42 | 51 |
43 deps = [ | 52 deps = [ |
44 "//base", | 53 "//base", |
45 "//base/third_party/dynamic_annotations", | 54 "//base/third_party/dynamic_annotations", |
46 "//skia", | 55 "//skia", |
47 "//ui/base", | 56 "//ui/base", |
48 "//ui/gfx", | 57 "//ui/gfx", |
49 "//ui/gfx/geometry", | 58 "//ui/gfx/geometry", |
50 "//ui/resources", | 59 "//ui/resources", |
51 ] | 60 ] |
52 } | 61 } |
OLD | NEW |