[WebView] Fix automerger breakage.
[chromium-blink-merge.git] / win8 / BUILD.gn
blob84d7972f62e095703610840911fd6e4d9bd22970
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
3 # found in the LICENSE file.
5 source_set("metro_viewer_constants") {
6   sources = [
7     "viewer/metro_viewer_constants.cc",
8     "viewer/metro_viewer_constants.h",
9   ]
12 component("metro_viewer") {
13   deps = [
14     "//base",
15     "//ipc",
16     "//ui/aura",
17     "//ui/metro_viewer",
18     ":metro_viewer_constants",
19   ]
20   sources = [
21     "viewer/metro_viewer_process_host.cc",
22     "viewer/metro_viewer_process_host.h",
23   ]
24   defines = [ "METRO_VIEWER_IMPLEMENTATION" ]
27 source_set("test_support_win8") {
28   deps = [
29     "//base",
30     ":test_registrar_constants",
31   ]
32   sources = [
33     "test/metro_registration_helper.cc",
34     "test/metro_registration_helper.h",
35     "test/open_with_dialog_async.cc",
36     "test/open_with_dialog_async.h",
37     "test/open_with_dialog_controller.cc",
38     "test/open_with_dialog_controller.h",
39     "test/ui_automation_client.cc",
40     "test/ui_automation_client.h",
41   ]
43   # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
44   cflags = [ "/wd4267" ]
47 source_set("test_registrar_constants") {
48   sources = [
49     "test/test_registrar_constants.cc",
50     "test/test_registrar_constants.h",
51   ]
54 executable("test_registrar") {
55   deps = [
56     "//base",
58     # Chrome is the default viewer process currently used by the tests.
59     # TODO(robertshield): Investigate building a standalone metro viewer
60     # process.
61     "//chrome",
62     ":test_registrar_constants",
63   ]
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" ]