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