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 18 matching lines...) Expand all Loading... |
29 | 29 |
30 if (is_win) { | 30 if (is_win) { |
31 sources += [ | 31 sources += [ |
32 "native_theme_aurawin.cc", | 32 "native_theme_aurawin.cc", |
33 "native_theme_aurawin.h", | 33 "native_theme_aurawin.h", |
34 "native_theme_win.cc", | 34 "native_theme_win.cc", |
35 "native_theme_win.h", | 35 "native_theme_win.h", |
36 ] | 36 ] |
37 } | 37 } |
38 | 38 |
39 defines = [ | 39 defines = [ "NATIVE_THEME_IMPLEMENTATION" ] |
40 "NATIVE_THEME_IMPLEMENTATION", | |
41 ] | |
42 | 40 |
43 deps = [ | 41 deps = [ |
44 "//base", | 42 "//base", |
45 "//base/third_party/dynamic_annotations", | 43 "//base/third_party/dynamic_annotations", |
46 "//skia", | 44 "//skia", |
47 "//ui/base", | 45 "//ui/base", |
48 "//ui/gfx", | 46 "//ui/gfx", |
49 "//ui/gfx/geometry", | 47 "//ui/gfx/geometry", |
50 "//ui/resources", | 48 "//ui/resources", |
51 ] | 49 ] |
52 } | 50 } |
OLD | NEW |