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

Unified Diff: ui/gfx/BUILD.gn

Issue 603273003: Prevent static mojo builds from pulling //ui/gl into mojo_shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« mojo/shell/BUILD.gn ('K') | « mojo/shell/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/BUILD.gn
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn
index d8c71f5d43fe4c379d48239cb6a2164bf766d8a9..f0820c51adccccd2313bbbd9b866520e37e5cea7 100644
--- a/ui/gfx/BUILD.gn
+++ b/ui/gfx/BUILD.gn
@@ -19,6 +19,13 @@ source_set("gfx_export") {
]
}
+source_set("switches") {
jamesr 2014/09/25 20:09:44 the switches are exported from the gfx component,
DaveMoore 2014/09/26 18:29:23 Copied switch instead. On 2014/09/25 20:09:44, ja
+ sources = [
+ "switches.cc",
+ "switches.h",
+ ]
+}
+
component("gfx") {
sources = [
"android/device_display_info.cc",
@@ -187,8 +194,6 @@ component("gfx") {
"skbitmap_operations.h",
"skia_util.cc",
"skia_util.h",
- "switches.cc",
- "switches.h",
"sys_color_change_listener.cc",
"sys_color_change_listener.h",
"text_constants.h",
@@ -221,6 +226,7 @@ component("gfx") {
deps = [
":gfx_export",
+ ":switches",
"//base:i18n",
"//base:base_static",
"//base/third_party/dynamic_annotations",
« mojo/shell/BUILD.gn ('K') | « mojo/shell/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698