| 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_base.cc", | |
| 16 "native_theme_base.h", | |
| 17 "native_theme_observer.cc", | |
| 18 "native_theme_observer.h", | |
| 19 "native_theme_switches.cc", | |
| 20 "native_theme_switches.h", | |
| 21 ] | |
| 22 | |
| 23 if (use_aura) { | |
| 24 sources += [ | |
| 25 "native_theme_aura.cc", | |
| 26 "native_theme_aura.h", | |
| 27 ] | |
| 28 } | |
| 29 | |
| 30 if (is_win) { | |
| 31 sources += [ | |
| 32 "native_theme_aurawin.cc", | |
| 33 "native_theme_aurawin.h", | |
| 34 "native_theme_win.cc", | |
| 35 "native_theme_win.h", | |
| 36 ] | |
| 37 } | |
| 38 | |
| 39 defines = [ "NATIVE_THEME_IMPLEMENTATION" ] | |
| 40 | |
| 41 deps = [ | |
| 42 "//base", | |
| 43 "//base/third_party/dynamic_annotations", | |
| 44 "//skia", | |
| 45 "//ui/base", | |
| 46 "//ui/gfx", | |
| 47 "//ui/gfx/geometry", | |
| 48 "//ui/resources", | |
| 49 ] | |
| 50 } | |
| OLD | NEW |