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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « win8/BUILD.gn ('k') | win8/delegate_execute/chrome_util.cc » ('j') | 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 2015 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/chrome_build.gni")
6 import("//build/config/ui.gni")
7 import("//chrome/version.gni")
8 import("//testing/test.gni")
9
10 executable("delegate_execute") {
11 sources = [
12 "delegate_execute.cc",
13 "delegate_execute.rc",
14 ]
15
16 configs -= [ "//build/config/win:console" ]
17 configs += [ "//build/config/win:windowed" ]
18
19 deps = [
20 ":lib",
21 ":version_resources",
22 ]
23 }
24
25 source_set("lib") {
26 visibility = [ ":*" ]
27 sources = [
28 "chrome_util.cc",
29 "chrome_util.h",
30 "command_execute_impl.cc",
31 "command_execute_impl.h",
32 "command_execute_impl.rgs",
33 "crash_server_init.cc",
34 "crash_server_init.h",
35 "delegate_execute_operation.cc",
36 "delegate_execute_operation.h",
37 "delegate_execute_util.cc",
38 "delegate_execute_util.h",
39 "resource.h",
40 ]
41
42 public_deps = [
43 "//base",
44 "//breakpad:breakpad_handler",
45 "//chrome/common:constants",
46 "//chrome/installer/util",
47 "//ui/base",
48 "//ui/gfx",
49 "//ui/gfx/geometry",
50 ]
51
52 if (use_aura) {
53 public_deps += [ "//win8:metro_viewer_constants" ]
54 }
55
56 if (is_chrome_branded) {
57 public_deps += [ "//google_update" ]
58 }
59 }
60
61 process_version("version_resources") {
62 visibility = [ ":*" ]
63 sources = [
64 "delegate_execute_exe.ver",
65 ]
66 output = "$target_gen_dir/delegate_execute_exe.rc"
67 template_file = chrome_version_rc_template
68 }
69
70 test("delegate_execute_unittests") {
71 sources = [
72 "delegate_execute_util_unittest.cc",
73 ]
74 deps = [
75 ":lib",
76 "//base/test:run_all_unittests",
77 "//testing/gtest",
78 ]
79 }
OLDNEW
« 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