OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 import ("//build/config/ui.gni") | |
6 | |
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_aura.cc", | |
18 "native_theme_aura.h", | |
19 "native_theme_aurawin.cc", | |
20 "native_theme_aurawin.h", | |
21 "native_theme_base.cc", | |
22 "native_theme_base.h", | |
23 "native_theme_mac.h", | |
24 "native_theme_mac.mm", | |
25 "native_theme_observer.cc", | |
26 "native_theme_observer.h", | |
27 "native_theme_switches.cc", | |
28 "native_theme_switches.h", | |
29 "native_theme_win.cc", | |
30 "native_theme_win.h", | |
31 ] | |
32 | |
33 defines = [ | |
34 "NATIVE_THEME_IMPLEMENTATION", | |
35 ] | |
36 | |
37 deps = [ | |
38 "//base", | |
39 "//base/third_party/dynamic_annotations", | |
40 "//skia", | |
41 "//ui/base:ui_base", | |
42 "//ui/gfx", | |
43 "//ui/gfx/geometry", | |
44 "//ui/resources", | |
45 ] | |
46 | |
47 if (!use_aura || !is_win) { | |
scottmg
2014/05/24 01:57:06
this seems a bit funny, how about not adding them
tfarina
2014/05/24 02:10:32
Done.
| |
48 sources -= [ | |
49 "native_theme_aurawin.cc", | |
50 "native_theme_aurawin.h", | |
51 ] | |
52 } | |
53 } | |
OLD | NEW |