summaryrefslogtreecommitdiffstats
path: root/url/url.gyp
diff options
context:
space:
mode:
authorlliabraa@chromium.org <lliabraa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-03 18:56:57 +0000
committerlliabraa@chromium.org <lliabraa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-03 18:56:57 +0000
commit6ee126d275be184cba074f2638d122c0a3d774ef (patch)
tree6716eeeb0d8dc2e54408cb25a4629f5d29310b45 /url/url.gyp
parentf3c8bcf9bbe095b30500717f630e229b01cdc748 (diff)
downloadchromium_src-6ee126d275be184cba074f2638d122c0a3d774ef.zip
chromium_src-6ee126d275be184cba074f2638d122c0a3d774ef.tar.gz
chromium_src-6ee126d275be184cba074f2638d122c0a3d774ef.tar.bz2
Fix the googleurl_unittests hack so iOS builds work again.
For this to work on iOS, the entire .app bundle needs to be dulpicated. Further, the executable name can't be changed because the build process puts the name of the executable in the Info.plist. BUG=229660 TBR=brettw NOTRY=true Review URL: https://chromiumcodereview.appspot.com/14921002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198149 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'url/url.gyp')
-rw-r--r--url/url.gyp11
1 files changed, 4 insertions, 7 deletions
diff --git a/url/url.gyp b/url/url.gyp
index aff709e..0434669 100644
--- a/url/url.gyp
+++ b/url/url.gyp
@@ -129,17 +129,14 @@
],
},
],
- }
- ],
- ['OS == "ios"',
- {
+ }, { # else 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',
+ 'source_file': '<(PRODUCT_DIR)/url_unittests.app/',
+ 'dest_file': '<(PRODUCT_DIR)/googleurl_unittests.app',
},
'inputs': [
'../build/cp.py',
@@ -149,7 +146,7 @@
'<(dest_file)',
],
'action': [
- 'python', '../build/cp.py', '<(source_file)', '<(dest_file)',
+ 'cp', '-R', '<(source_file)', '<(dest_file)',
],
},
],