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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 source_set("metro_viewer_constants") { 5 source_set("metro_viewer_constants") {
6 sources = [ 6 sources = [
7 "viewer/metro_viewer_constants.cc", 7 "viewer/metro_viewer_constants.cc",
8 "viewer/metro_viewer_constants.h", 8 "viewer/metro_viewer_constants.h",
9 ] 9 ]
10 } 10 }
11 11
12 component("metro_viewer") { 12 component("metro_viewer") {
13 sources = [
14 "viewer/metro_viewer_process_host.cc",
15 "viewer/metro_viewer_process_host.h",
16 ]
17
18 defines = [ "METRO_VIEWER_IMPLEMENTATION" ]
19
13 deps = [ 20 deps = [
14 ":metro_viewer_constants", 21 ":metro_viewer_constants",
15 "//base", 22 "//base",
16 "//ipc", 23 "//ipc",
17 "//ui/aura", 24 "//ui/aura",
25 "//ui/gfx",
18 "//ui/metro_viewer", 26 "//ui/metro_viewer",
19 ] 27 ]
20 sources = [
21 "viewer/metro_viewer_process_host.cc",
22 "viewer/metro_viewer_process_host.h",
23 ]
24 defines = [ "METRO_VIEWER_IMPLEMENTATION" ]
25 } 28 }
26 29
27 source_set("test_support_win8") { 30 source_set("test_support_win8") {
28 deps = [
29 ":test_registrar_constants",
30 "//base",
31 ]
32
33 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
34 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
35
36 sources = [ 31 sources = [
37 "test/open_with_dialog_async.cc", 32 "test/open_with_dialog_async.cc",
38 "test/open_with_dialog_async.h", 33 "test/open_with_dialog_async.h",
39 "test/open_with_dialog_controller.cc", 34 "test/open_with_dialog_controller.cc",
40 "test/open_with_dialog_controller.h", 35 "test/open_with_dialog_controller.h",
41 "test/ui_automation_client.cc", 36 "test/ui_automation_client.cc",
42 "test/ui_automation_client.h", 37 "test/ui_automation_client.h",
43 ] 38 ]
39
40 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
41 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
42
43 deps = [
44 ":test_registrar_constants",
45 "//base",
46 ]
44 } 47 }
45 48
46 source_set("test_registrar_constants") { 49 source_set("test_registrar_constants") {
47 sources = [ 50 sources = [
48 "test/test_registrar_constants.cc", 51 "test/test_registrar_constants.cc",
49 "test/test_registrar_constants.h", 52 "test/test_registrar_constants.h",
50 ] 53 ]
51 } 54 }
52 55
53 executable("test_registrar") { 56 executable("test_registrar") {
57 sources = [
58 "test/test_registrar.cc",
59 "test/test_registrar.rc",
60 "test/test_registrar.rgs",
61 "test/test_registrar_resource.h",
62 ]
63
64 configs -= [ "//build/config/win:console" ]
65 configs += [ "//build/config/win:windowed" ]
66
54 deps = [ 67 deps = [
55 ":test_registrar_constants", 68 ":test_registrar_constants",
56 "//base", 69 "//base",
57 "//build/config/sanitizers:deps", 70 "//build/config/sanitizers:deps",
58 71
59 # Chrome is the default viewer process currently used by the tests. 72 # Chrome is the default viewer process currently used by the tests.
60 # TODO(robertshield): Investigate building a standalone metro viewer 73 # TODO(robertshield): Investigate building a standalone metro viewer
61 # process. 74 # process.
62 "//chrome", 75 "//chrome",
63 ] 76 ]
64 sources = [
65 "test/test_registrar.cc",
66 "test/test_registrar.rc",
67 "test/test_registrar.rgs",
68 "test/test_registrar_resource.h",
69 ]
70 configs += [ "//build/config/win:windowed" ]
71 } 77 }
OLDNEW
« 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