Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Side by Side Diff: ui/native_theme/BUILD.gn

Issue 294423004: Add more BUILD.gn files to build these targets with GN. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/metro_viewer/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_aura.cc",
18 "native_theme_aura.h",
19 "native_theme_aurawin.cc",
20 "native_theme_aurawin.h",
21 "native_theme_base.cc",
22 "native_theme_base.h",
23 "native_theme_mac.h",
24 "native_theme_mac.mm",
25 "native_theme_observer.cc",
26 "native_theme_observer.h",
27 "native_theme_switches.cc",
28 "native_theme_switches.h",
29 "native_theme_win.cc",
30 "native_theme_win.h",
31 ]
32
33 defines = [
34 "NATIVE_THEME_IMPLEMENTATION",
35 ]
36
37 deps = [
38 "//base",
39 "//base/third_party/dynamic_annotations",
40 "//skia",
41 "//ui/base:ui_base",
42 "//ui/gfx",
43 "//ui/gfx/geometry",
44 "//ui/resources",
45 ]
46
47 if (!use_aura || !is_win) {
scottmg 2014/05/24 01:57:06 this seems a bit funny, how about not adding them
tfarina 2014/05/24 02:10:32 Done.
48 sources -= [
49 "native_theme_aurawin.cc",
50 "native_theme_aurawin.h",
51 ]
52 }
53 }
OLDNEW
« no previous file with comments | « ui/metro_viewer/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698