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 "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",
43 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
44 cflags = [ "/wd4267" ]
47 source_set("test_registrar_constants") {
49 "test/test_registrar_constants.cc",
50 "test/test_registrar_constants.h",
54 executable("test_registrar") {
58 # Chrome is the default viewer process currently used by the tests.
59 # TODO(robertshield): Investigate building a standalone metro viewer
62 ":test_registrar_constants",
65 "test/test_registrar.cc",
66 "test/test_registrar.rc",
67 "test/test_registrar.rgs",
68 "test/test_registrar_resource.h",
70 configs += [ "//build/config/win:windowed" ]