summaryrefslogtreecommitdiffstats
path: root/url
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-20 12:35:40 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-20 12:35:40 +0000
commit43701242f71429a872b6de8a843d7a04e07b5d7b (patch)
treea5c6340452ed54c4508dd8e024d84dc8b8bbf3cd /url
parent913b17c939e0f7dc3bdac9d47ba85de7df528d2a (diff)
downloadchromium_src-43701242f71429a872b6de8a843d7a04e07b5d7b.zip
chromium_src-43701242f71429a872b6de8a843d7a04e07b5d7b.tar.gz
chromium_src-43701242f71429a872b6de8a843d7a04e07b5d7b.tar.bz2
url: Copy 'googleurl_unittests' target from 'url_unittests'. Attempt 2.
To not break the buildbot, this creates a fake target that copies url_unittests to googleurl_unittests as temporary scaffolding. BUG=229660 R=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/14199009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195389 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'url')
-rw-r--r--url/url.gyp62
1 files changed, 62 insertions, 0 deletions
diff --git a/url/url.gyp b/url/url.gyp
index 4f86e5d..aff709e 100644
--- a/url/url.gyp
+++ b/url/url.gyp
@@ -95,5 +95,67 @@
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
+ {
+ # url_unittests was formerly named googleurl_unittests. While the build
+ # bots are being switched to use the new name we need to support both
+ # executables.
+ # TODO(tfarina): Remove this target when build bots are building and
+ # running url_unittests. crbug.com/229660
+ 'target_name': 'googleurl_unittests',
+ 'type': 'none',
+ 'dependencies': [
+ 'url_unittests',
+ ],
+ 'conditions': [
+ ['OS != "ios"',
+ {
+ 'actions': [
+ {
+ 'message': 'TEMPORARY: Copying url_unittests to googleurl_unittests',
+ 'action_name': 'copy_url_unittests',
+ 'variables': {
+ 'source_file': '<(PRODUCT_DIR)/url_unittests<(EXECUTABLE_SUFFIX)',
+ 'dest_file': '<(PRODUCT_DIR)/googleurl_unittests<(EXECUTABLE_SUFFIX)',
+ },
+ 'inputs': [
+ '../build/cp.py',
+ '<(source_file)',
+ ],
+ 'outputs': [
+ '<(dest_file)',
+ ],
+ 'action': [
+ 'python', '../build/cp.py', '<(source_file)', '<(dest_file)',
+ ],
+ },
+ ],
+ }
+ ],
+ ['OS == "ios"',
+ {
+ 'actions': [
+ {
+ 'message': 'TEMPORARY: Copying url_unittests to googleurl_unittests',
+ 'action_name': 'copy_url_unittests',
+ 'variables': {
+ 'source_file': '<(PRODUCT_DIR)/url_unittests.app/url_unittests',
+ 'dest_file': '<(PRODUCT_DIR)/googleurl_unittests.app/googleurl_unittests',
+ },
+ 'inputs': [
+ '../build/cp.py',
+ '<(source_file)',
+ ],
+ 'outputs': [
+ '<(dest_file)',
+ ],
+ 'action': [
+ 'python', '../build/cp.py', '<(source_file)', '<(dest_file)',
+ ],
+ },
+ ],
+ }
+ ]
+ ],
+ },
],
}