| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 cflags = [ "/wd4267" ] | 44 cflags = [ "/wd4267" ] |
| 45 } | 45 } |
| 46 | 46 |
| 47 source_set("test_registrar_constants") { | 47 source_set("test_registrar_constants") { |
| 48 sources = [ | 48 sources = [ |
| 49 "test/test_registrar_constants.cc", | 49 "test/test_registrar_constants.cc", |
| 50 "test/test_registrar_constants.h", | 50 "test/test_registrar_constants.h", |
| 51 ] | 51 ] |
| 52 } | 52 } |
| 53 | 53 |
| 54 executable("test_registrar") { | 54 # TODO(brettw) enable on Windows. This should link but is disabled due to bot |
| 55 deps = [ | 55 # capacity issues. |
| 56 "//base", | 56 if (!is_win) { |
| 57 executable("test_registrar") { |
| 58 deps = [ |
| 59 "//base", |
| 57 | 60 |
| 58 # Chrome is the default viewer process currently used by the tests. | 61 # Chrome is the default viewer process currently used by the tests. |
| 59 # TODO(robertshield): Investigate building a standalone metro viewer | 62 # TODO(robertshield): Investigate building a standalone metro viewer |
| 60 # process. | 63 # process. |
| 61 "//chrome", | 64 "//chrome", |
| 62 ":test_registrar_constants", | 65 ":test_registrar_constants", |
| 63 ] | 66 ] |
| 64 sources = [ | 67 sources = [ |
| 65 "test/test_registrar.cc", | 68 "test/test_registrar.cc", |
| 66 "test/test_registrar.rc", | 69 "test/test_registrar.rc", |
| 67 "test/test_registrar.rgs", | 70 "test/test_registrar.rgs", |
| 68 "test/test_registrar_resource.h", | 71 "test/test_registrar_resource.h", |
| 69 ] | 72 ] |
| 70 configs += [ "//build/config/win:windowed" ] | 73 configs += [ "//build/config/win:windowed" ] |
| 74 } |
| 71 } | 75 } |
| OLD | NEW |