summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authornirnimesh@google.com <nirnimesh@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-26 01:07:20 +0000
committernirnimesh@google.com <nirnimesh@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-26 01:07:20 +0000
commitdf025d7e71eed26d58e828340c671e2f8d65ab28 (patch)
tree9ba9034c5a87870b9ca7369bce815b9e58a32663 /chrome
parentb1cb90bf0d8cda2ae1bb4e1c7a0f81334bc5a1c7 (diff)
downloadchromium_src-df025d7e71eed26d58e828340c671e2f8d65ab28.zip
chromium_src-df025d7e71eed26d58e828340c671e2f8d65ab28.tar.gz
chromium_src-df025d7e71eed26d58e828340c671e2f8d65ab28.tar.bz2
Create a symlink to Release/lib.target/_pyautolib.so in Release/ on Linux
Shared libs on linux get created in lib.target. Create a symlink from the product directory (out/Release) to the built shared library, so that pyauto can be run on the bots after building. BUG= TEST= Review URL: http://codereview.chromium.org/4136001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63834 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/chrome_tests.gypi18
1 files changed, 18 insertions, 0 deletions
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi
index e8a3c1b..2b6b02b 100644
--- a/chrome/chrome_tests.gypi
+++ b/chrome/chrome_tests.gypi
@@ -3011,6 +3011,24 @@
'-lpython<(python_ver)',
],
},
+ 'actions': [
+ {
+ # _pyautolib.so gets created in lib.target dir.
+ # Create a symlink from the product dir.
+ 'action_name': 'create_symlink',
+ 'inputs': [
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/_pyautolib.so',
+ ],
+ 'action': [ 'ln',
+ '-sf',
+ '<(PRODUCT_DIR)/lib.target/_pyautolib.so',
+ '<@(_outputs)',
+ ],
+ 'message': 'Creating symlink: '
+ '<(PRODUCT_DIR)/lib.target/_pyautolib.so',
+ }], # actions
}],
['OS=="mac"', {
# See the comment in this section of the unit_tests target for an