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

Unified Diff: win8/delegate_execute/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 | « win8/BUILD.gn ('k') | win8/delegate_execute/chrome_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/delegate_execute/BUILD.gn
diff --git a/win8/delegate_execute/BUILD.gn b/win8/delegate_execute/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..87cc1b132f0ca2ed5b9d06bdd864c506dddab1fe
--- /dev/null
+++ b/win8/delegate_execute/BUILD.gn
@@ -0,0 +1,79 @@
+# Copyright 2015 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/chrome_build.gni")
+import("//build/config/ui.gni")
+import("//chrome/version.gni")
+import("//testing/test.gni")
+
+executable("delegate_execute") {
+ sources = [
+ "delegate_execute.cc",
+ "delegate_execute.rc",
+ ]
+
+ configs -= [ "//build/config/win:console" ]
+ configs += [ "//build/config/win:windowed" ]
+
+ deps = [
+ ":lib",
+ ":version_resources",
+ ]
+}
+
+source_set("lib") {
+ visibility = [ ":*" ]
+ sources = [
+ "chrome_util.cc",
+ "chrome_util.h",
+ "command_execute_impl.cc",
+ "command_execute_impl.h",
+ "command_execute_impl.rgs",
+ "crash_server_init.cc",
+ "crash_server_init.h",
+ "delegate_execute_operation.cc",
+ "delegate_execute_operation.h",
+ "delegate_execute_util.cc",
+ "delegate_execute_util.h",
+ "resource.h",
+ ]
+
+ public_deps = [
+ "//base",
+ "//breakpad:breakpad_handler",
+ "//chrome/common:constants",
+ "//chrome/installer/util",
+ "//ui/base",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ ]
+
+ if (use_aura) {
+ public_deps += [ "//win8:metro_viewer_constants" ]
+ }
+
+ if (is_chrome_branded) {
+ public_deps += [ "//google_update" ]
+ }
+}
+
+process_version("version_resources") {
+ visibility = [ ":*" ]
+ sources = [
+ "delegate_execute_exe.ver",
+ ]
+ output = "$target_gen_dir/delegate_execute_exe.rc"
+ template_file = chrome_version_rc_template
+}
+
+test("delegate_execute_unittests") {
+ sources = [
+ "delegate_execute_util_unittest.cc",
+ ]
+ deps = [
+ ":lib",
+ "//base/test:run_all_unittests",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « win8/BUILD.gn ('k') | win8/delegate_execute/chrome_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698