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 "material_design_constants.h", |
28 "native_theme_aura.cc", | 29 "native_theme_aura.cc", |
29 "native_theme_aura.h", | 30 "native_theme_aura.h", |
30 "native_theme_dark_aura.cc", | 31 "native_theme_dark_aura.cc", |
31 "native_theme_dark_aura.h", | 32 "native_theme_dark_aura.h", |
32 ] | 33 ] |
33 } | 34 } |
34 | 35 |
35 defines = [ "NATIVE_THEME_IMPLEMENTATION" ] | 36 defines = [ "NATIVE_THEME_IMPLEMENTATION" ] |
36 | 37 |
37 deps = [ | 38 deps = [ |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 deps = [ | 93 deps = [ |
93 ":native_theme", | 94 ":native_theme", |
94 "//base/test:run_all_unittests", | 95 "//base/test:run_all_unittests", |
95 "//base/test:test_support", | 96 "//base/test:test_support", |
96 "//skia:skia", | 97 "//skia:skia", |
97 "//testing/gtest", | 98 "//testing/gtest", |
98 "//ui/base", | 99 "//ui/base", |
99 "//ui/gfx/geometry:geometry", | 100 "//ui/gfx/geometry:geometry", |
100 ] | 101 ] |
101 } | 102 } |
OLD | NEW |