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") {
7 "viewer/metro_viewer_constants.cc",
8 "viewer/metro_viewer_constants.h",
12 component("metro_viewer") {
18 ":metro_viewer_constants",
21 "viewer/metro_viewer_process_host.cc",
22 "viewer/metro_viewer_process_host.h",
24 defines = [ "METRO_VIEWER_IMPLEMENTATION" ]
27 source_set("test_support_win8") {
30 ":test_registrar_constants",
33 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
34 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
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",
48 source_set("test_registrar_constants") {
50 "test/test_registrar_constants.cc",
51 "test/test_registrar_constants.h",
55 executable("test_registrar") {
59 # Chrome is the default viewer process currently used by the tests.
60 # TODO(robertshield): Investigate building a standalone metro viewer
63 ":test_registrar_constants",
66 "test/test_registrar.cc",
67 "test/test_registrar.rc",
68 "test/test_registrar.rgs",
69 "test/test_registrar_resource.h",
71 configs += [ "//build/config/win:windowed" ]