Supervised user SafeSites: Ignore trailing slash in URL path
[chromium-blink-merge.git] / ui / native_theme / BUILD.gn
blob16701a7ffaa46d801e89a64332c8621f5b33a780
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.
5 import("//build/config/ui.gni")
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   ]
29   if (use_aura) {
30     sources += [
31       "native_theme_aura.cc",
32       "native_theme_aura.h",
33     ]
35     if (is_win) {
36       sources += [
37         "native_theme_aurawin.cc",
38         "native_theme_aurawin.h",
39       ]
40     }
41   }
43   defines = [ "NATIVE_THEME_IMPLEMENTATION" ]
45   deps = [
46     "//base",
47     "//base/third_party/dynamic_annotations",
48     "//skia",
49     "//ui/base",
50     "//ui/gfx",
51     "//ui/gfx/geometry",
52     "//ui/resources",
53   ]