diff options
author | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-15 02:44:10 +0000 |
---|---|---|
committer | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-15 02:44:10 +0000 |
commit | 81ada34d1bbb4ed96fd1eb8707cbf87f8afaec79 (patch) | |
tree | 4e0aa6a759fc9b7f660d41154eb3158b97e3cd73 /win8/win8_tests.gyp | |
parent | e034aa087e7df78dd37b411841148993ad03b53b (diff) | |
download | chromium_src-81ada34d1bbb4ed96fd1eb8707cbf87f8afaec79.zip chromium_src-81ada34d1bbb4ed96fd1eb8707cbf87f8afaec79.tar.gz chromium_src-81ada34d1bbb4ed96fd1eb8707cbf87f8afaec79.tar.bz2 |
split test_registrar target into a new win8_tests.gyp.
r171366 introduced a new 'test_registrar' binary that depends on chrome
into the win8.gyp file; unfortunately, the win8.gyp file is needed by
printing.gyp, which is needed by webkit_support, making the webkit files
now have a circular dependency on chrome, and breaking the webkit.org
win builds, which don't check out chrome/ at all.
This change fixes this temporarily (?) by moving the test binary into
a separate gyp file, but we probably need to do something else to avoid
making ash and win8 depend on chrome.
R=ananta@chromium.org, sky@chromium.org
Review URL: https://codereview.chromium.org/12207186
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182605 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'win8/win8_tests.gyp')
-rw-r--r-- | win8/win8_tests.gyp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/win8/win8_tests.gyp b/win8/win8_tests.gyp new file mode 100644 index 0000000..256dd13 --- /dev/null +++ b/win8/win8_tests.gyp @@ -0,0 +1,36 @@ +# Copyright (c) 2013 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. +{ + 'variables': { + 'chromium_code': 1, + }, + 'includes': [ + '../build/win_precompile.gypi', + ], + 'targets': [ + { + 'target_name': 'test_registrar', + 'type': 'executable', + 'dependencies': [ + '../base/base.gyp:base', + # Chrome is the default viewer process currently used by the tests. + # TODO(robertshield): Investigate building a standalone metro viewer + # process. + '../chrome/chrome.gyp:chrome', + 'win8.gyp:test_registrar_constants', + ], + 'sources': [ + 'test/test_registrar.cc', + 'test/test_registrar.rc', + 'test/test_registrar.rgs', + 'test/test_registrar_resource.h', + ], + 'msvs_settings': { + 'VCLinkerTool': { + 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS + }, + }, + }, + ], +} |