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

Unified Diff: win8/BUILD.gn

Issue 1464263003: Add metro driver and delegate_execute to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/metro_viewer.gyp ('k') | win8/delegate_execute/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/BUILD.gn
diff --git a/win8/BUILD.gn b/win8/BUILD.gn
index 1d4343d04bc03cdde08bad9f90c7030998eb3d56..fb43d2da1da88998d8ad3308ddc540cb9a5e0597 100644
--- a/win8/BUILD.gn
+++ b/win8/BUILD.gn
@@ -10,29 +10,24 @@ source_set("metro_viewer_constants") {
}
component("metro_viewer") {
- deps = [
- ":metro_viewer_constants",
- "//base",
- "//ipc",
- "//ui/aura",
- "//ui/metro_viewer",
- ]
sources = [
"viewer/metro_viewer_process_host.cc",
"viewer/metro_viewer_process_host.h",
]
+
defines = [ "METRO_VIEWER_IMPLEMENTATION" ]
-}
-source_set("test_support_win8") {
deps = [
- ":test_registrar_constants",
+ ":metro_viewer_constants",
"//base",
+ "//ipc",
+ "//ui/aura",
+ "//ui/gfx",
+ "//ui/metro_viewer",
]
+}
- # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
- configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
-
+source_set("test_support_win8") {
sources = [
"test/open_with_dialog_async.cc",
"test/open_with_dialog_async.h",
@@ -41,6 +36,14 @@ source_set("test_support_win8") {
"test/ui_automation_client.cc",
"test/ui_automation_client.h",
]
+
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
+
+ deps = [
+ ":test_registrar_constants",
+ "//base",
+ ]
}
source_set("test_registrar_constants") {
@@ -51,6 +54,16 @@ source_set("test_registrar_constants") {
}
executable("test_registrar") {
+ sources = [
+ "test/test_registrar.cc",
+ "test/test_registrar.rc",
+ "test/test_registrar.rgs",
+ "test/test_registrar_resource.h",
+ ]
+
+ configs -= [ "//build/config/win:console" ]
+ configs += [ "//build/config/win:windowed" ]
+
deps = [
":test_registrar_constants",
"//base",
@@ -61,11 +74,4 @@ executable("test_registrar") {
# process.
"//chrome",
]
- sources = [
- "test/test_registrar.cc",
- "test/test_registrar.rc",
- "test/test_registrar.rgs",
- "test/test_registrar_resource.h",
- ]
- configs += [ "//build/config/win:windowed" ]
}
« no previous file with comments | « ui/metro_viewer/metro_viewer.gyp ('k') | win8/delegate_execute/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698