OLD | NEW |
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 } |
(...skipping 11 matching lines...) Expand all Loading... |
22 "viewer/metro_viewer_process_host.h", | 22 "viewer/metro_viewer_process_host.h", |
23 ] | 23 ] |
24 defines = [ "METRO_VIEWER_IMPLEMENTATION" ] | 24 defines = [ "METRO_VIEWER_IMPLEMENTATION" ] |
25 } | 25 } |
26 | 26 |
27 source_set("test_support_win8") { | 27 source_set("test_support_win8") { |
28 deps = [ | 28 deps = [ |
29 "//base", | 29 "//base", |
30 ":test_registrar_constants", | 30 ":test_registrar_constants", |
31 ] | 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 |
32 sources = [ | 36 sources = [ |
33 "test/metro_registration_helper.cc", | 37 "test/metro_registration_helper.cc", |
34 "test/metro_registration_helper.h", | 38 "test/metro_registration_helper.h", |
35 "test/open_with_dialog_async.cc", | 39 "test/open_with_dialog_async.cc", |
36 "test/open_with_dialog_async.h", | 40 "test/open_with_dialog_async.h", |
37 "test/open_with_dialog_controller.cc", | 41 "test/open_with_dialog_controller.cc", |
38 "test/open_with_dialog_controller.h", | 42 "test/open_with_dialog_controller.h", |
39 "test/ui_automation_client.cc", | 43 "test/ui_automation_client.cc", |
40 "test/ui_automation_client.h", | 44 "test/ui_automation_client.h", |
41 ] | 45 ] |
42 | |
43 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
44 cflags = [ "/wd4267" ] | |
45 } | 46 } |
46 | 47 |
47 source_set("test_registrar_constants") { | 48 source_set("test_registrar_constants") { |
48 sources = [ | 49 sources = [ |
49 "test/test_registrar_constants.cc", | 50 "test/test_registrar_constants.cc", |
50 "test/test_registrar_constants.h", | 51 "test/test_registrar_constants.h", |
51 ] | 52 ] |
52 } | 53 } |
53 | 54 |
54 executable("test_registrar") { | 55 executable("test_registrar") { |
55 deps = [ | 56 deps = [ |
56 "//base", | 57 "//base", |
57 | 58 |
58 # Chrome is the default viewer process currently used by the tests. | 59 # Chrome is the default viewer process currently used by the tests. |
59 # TODO(robertshield): Investigate building a standalone metro viewer | 60 # TODO(robertshield): Investigate building a standalone metro viewer |
60 # process. | 61 # process. |
61 "//chrome", | 62 "//chrome", |
62 ":test_registrar_constants", | 63 ":test_registrar_constants", |
63 ] | 64 ] |
64 sources = [ | 65 sources = [ |
65 "test/test_registrar.cc", | 66 "test/test_registrar.cc", |
66 "test/test_registrar.rc", | 67 "test/test_registrar.rc", |
67 "test/test_registrar.rgs", | 68 "test/test_registrar.rgs", |
68 "test/test_registrar_resource.h", | 69 "test/test_registrar_resource.h", |
69 ] | 70 ] |
70 configs += [ "//build/config/win:windowed" ] | 71 configs += [ "//build/config/win:windowed" ] |
71 } | 72 } |
OLD | NEW |