Roll src/third_party/skia 2893784:0963f5d
[chromium-blink-merge.git] / win8 / BUILD.gn
blobfe2a830af9329ac858e5d839addab52b66a16812
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   ]
33   # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
34   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
36   sources = [
37     "test/metro_registration_helper.cc",
38     "test/metro_registration_helper.h",
39     "test/open_with_dialog_async.cc",
40     "test/open_with_dialog_async.h",
41     "test/open_with_dialog_controller.cc",
42     "test/open_with_dialog_controller.h",
43     "test/ui_automation_client.cc",
44     "test/ui_automation_client.h",
45   ]
48 source_set("test_registrar_constants") {
49   sources = [
50     "test/test_registrar_constants.cc",
51     "test/test_registrar_constants.h",
52   ]
55 executable("test_registrar") {
56   deps = [
57     "//base",
59     # Chrome is the default viewer process currently used by the tests.
60     # TODO(robertshield): Investigate building a standalone metro viewer
61     # process.
62     "//chrome",
63     ":test_registrar_constants",
64   ]
65   sources = [
66     "test/test_registrar.cc",
67     "test/test_registrar.rc",
68     "test/test_registrar.rgs",
69     "test/test_registrar_resource.h",
70   ]
71   configs += [ "//build/config/win:windowed" ]