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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 component("native_theme") { | 8 component("native_theme") { |
9 sources = [ | 9 sources = [ |
10 "common_theme.cc", | 10 "common_theme.cc", |
11 "common_theme.h", | 11 "common_theme.h", |
12 "native_theme.cc", | 12 "native_theme.cc", |
13 "native_theme.h", | 13 "native_theme.h", |
14 "native_theme_android.cc", | 14 "native_theme_android.cc", |
15 "native_theme_android.h", | 15 "native_theme_android.h", |
16 "native_theme_base.cc", | 16 "native_theme_base.cc", |
17 "native_theme_base.h", | 17 "native_theme_base.h", |
18 "native_theme_mac.h", | 18 "native_theme_mac.h", |
19 "native_theme_mac.mm", | 19 "native_theme_mac.mm", |
20 "native_theme_observer.cc", | 20 "native_theme_observer.cc", |
21 "native_theme_observer.h", | 21 "native_theme_observer.h", |
22 "native_theme_switches.cc", | 22 "native_theme_switches.cc", |
23 "native_theme_switches.h", | 23 "native_theme_switches.h", |
24 ] | 24 ] |
25 | 25 |
26 if (use_aura) { | 26 if (use_aura) { |
27 sources += [ | 27 sources += [ |
28 "native_theme_aura.cc", | 28 "native_theme_aura.cc", |
29 "native_theme_aura.h", | 29 "native_theme_aura.h", |
| 30 "native_theme_aura_overlay.cc", |
| 31 "native_theme_aura_overlay.h", |
30 "native_theme_dark_aura.cc", | 32 "native_theme_dark_aura.cc", |
31 "native_theme_dark_aura.h", | 33 "native_theme_dark_aura.h", |
32 "overlay_scrollbar_constants_aura.h", | 34 "overlay_scrollbar_constants_aura.h", |
33 ] | 35 ] |
34 } | 36 } |
35 | 37 |
36 defines = [ "NATIVE_THEME_IMPLEMENTATION" ] | 38 defines = [ "NATIVE_THEME_IMPLEMENTATION" ] |
37 | 39 |
38 deps = [ | 40 deps = [ |
39 "//base", | 41 "//base", |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 deps = [ | 95 deps = [ |
94 ":native_theme", | 96 ":native_theme", |
95 "//base/test:run_all_unittests", | 97 "//base/test:run_all_unittests", |
96 "//base/test:test_support", | 98 "//base/test:test_support", |
97 "//skia:skia", | 99 "//skia:skia", |
98 "//testing/gtest", | 100 "//testing/gtest", |
99 "//ui/base", | 101 "//ui/base", |
100 "//ui/gfx/geometry:geometry", | 102 "//ui/gfx/geometry:geometry", |
101 ] | 103 ] |
102 } | 104 } |
OLD | NEW |