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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/metro_viewer/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/BUILD.gn
diff --git a/ui/native_theme/BUILD.gn b/ui/native_theme/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..04a0a502d97d7c5a81a717394e90314d171f6b7d
--- /dev/null
+++ b/ui/native_theme/BUILD.gn
@@ -0,0 +1,53 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import ("//build/config/ui.gni")
+
+component("native_theme") {
+ sources = [
+ "common_theme.cc",
+ "common_theme.h",
+ "fallback_theme.cc",
+ "fallback_theme.h",
+ "native_theme.cc",
+ "native_theme.h",
+ "native_theme_android.cc",
+ "native_theme_android.h",
+ "native_theme_aura.cc",
+ "native_theme_aura.h",
+ "native_theme_aurawin.cc",
+ "native_theme_aurawin.h",
+ "native_theme_base.cc",
+ "native_theme_base.h",
+ "native_theme_mac.h",
+ "native_theme_mac.mm",
+ "native_theme_observer.cc",
+ "native_theme_observer.h",
+ "native_theme_switches.cc",
+ "native_theme_switches.h",
+ "native_theme_win.cc",
+ "native_theme_win.h",
+ ]
+
+ defines = [
+ "NATIVE_THEME_IMPLEMENTATION",
+ ]
+
+ deps = [
+ "//base",
+ "//base/third_party/dynamic_annotations",
+ "//skia",
+ "//ui/base:ui_base",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ "//ui/resources",
+ ]
+
+ 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.
+ sources -= [
+ "native_theme_aurawin.cc",
+ "native_theme_aurawin.h",
+ ]
+ }
+}
« 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