Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 static_library("metro_viewer_constants") { | |
|
Dirk Pranke
2015/01/15 17:53:30
Is there a reason this is a static_library instead
| |
| 6 include_dirs = [ ".." ] | |
|
Dirk Pranke
2015/01/15 17:53:30
".." refers to src/, right? Why would we need to i
| |
| 7 sources = [ | |
| 8 "viewer/metro_viewer_constants.cc", | |
| 9 "viewer/metro_viewer_constants.h", | |
| 10 ] | |
| 11 } | |
| 12 | |
| 13 component("metro_viewer") { | |
| 14 deps = [ | |
| 15 "//base", | |
| 16 "//ipc", | |
| 17 "//ui/aura", | |
| 18 "//ui/metro_viewer", | |
| 19 ":metro_viewer_constants", | |
| 20 ] | |
| 21 sources = [ | |
| 22 "viewer/metro_viewer_process_host.cc", | |
| 23 "viewer/metro_viewer_process_host.h", | |
| 24 ] | |
| 25 defines = [ "METRO_VIEWER_IMPLEMENTATION" ] | |
| 26 } | |
| 27 | |
| 28 static_library("test_support_win8") { | |
| 29 deps = [ | |
| 30 "//base", | |
| 31 ":test_registrar_constants", | |
| 32 ] | |
| 33 sources = [ | |
| 34 "test/metro_registration_helper.cc", | |
| 35 "test/metro_registration_helper.h", | |
| 36 "test/open_with_dialog_async.cc", | |
| 37 "test/open_with_dialog_async.h", | |
| 38 "test/open_with_dialog_controller.cc", | |
| 39 "test/open_with_dialog_controller.h", | |
| 40 "test/ui_automation_client.cc", | |
| 41 "test/ui_automation_client.h", | |
| 42 ] | |
| 43 | |
| 44 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 45 cflags = [ "/wd4267" ] | |
| 46 } | |
| 47 | |
| 48 static_library("test_registrar_constants") { | |
| 49 include_dirs = [ ".." ] | |
|
Dirk Pranke
2015/01/15 17:53:30
same comment ...
| |
| 50 sources = [ | |
| 51 "test/test_registrar_constants.cc", | |
| 52 "test/test_registrar_constants.h", | |
| 53 ] | |
| 54 } | |
| 55 | |
| 56 executable("test_registrar") { | |
| 57 deps = [ | |
| 58 "//base", | |
| 59 | |
| 60 # Chrome is the default viewer process currently used by the tests. | |
| 61 # TODO(robertshield): Investigate building a standalone metro viewer | |
| 62 # process. | |
| 63 "//chrome", | |
| 64 ":test_registrar_constants", | |
| 65 ] | |
| 66 sources = [ | |
| 67 "test/test_registrar.cc", | |
| 68 "test/test_registrar.rc", | |
| 69 "test/test_registrar.rgs", | |
| 70 "test/test_registrar_resource.h", | |
| 71 ] | |
| 72 configs += [ "//build/config/win:windowed" ] | |
| 73 } | |
| OLD | NEW |