1 # Copyright (c) 2013 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 'variables': { 6 'chromium_code': 1, 7 }, 8 'includes': [ 9 '../build/win_precompile.gypi', 10 ], 11 'targets': [ 12 { 13 'target_name': 'test_registrar', 14 'type': 'executable', 15 'dependencies': [ 16 '../base/base.gyp:base', 17 # Chrome is the default viewer process currently used by the tests. 18 # TODO(robertshield): Investigate building a standalone metro viewer 19 # process. 20 '../chrome/chrome.gyp:chrome', 21 'win8.gyp:test_registrar_constants', 22 ], 23 'sources': [ 24 'test/test_registrar.cc', 25 'test/test_registrar.rc', 26 'test/test_registrar.rgs', 27 'test/test_registrar_resource.h', 28 ], 29 'msvs_settings': { 30 'VCLinkerTool': { 31 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS 32 }, 33 }, 34 }, 35 ], 36 } 37