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