summaryrefslogtreecommitdiffstats
path: root/url
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-25 21:41:49 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-25 21:41:49 +0000
commit665c80fbeea649603d3b748d8f032803d099d18a (patch)
treec2a8002e215310c141933604ecbe01391c624aad /url
parent32bcd928883674962566172f7e76b47fdbdb43eb (diff)
downloadchromium_src-665c80fbeea649603d3b748d8f032803d099d18a.zip
chromium_src-665c80fbeea649603d3b748d8f032803d099d18a.tar.gz
chromium_src-665c80fbeea649603d3b748d8f032803d099d18a.tar.bz2
url: Copy 'googleurl_unittests' target from 'url_unittests'. Third attempt.
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://codereview.chromium.org/13825012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196507 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)',
+ ],
+ },
+ ],
+ }
+ ]
+ ],
+ },
],
}