Title: [270828] trunk/Tools
Revision
270828
Author
[email protected]
Date
2020-12-15 03:31:00 -0800 (Tue, 15 Dec 2020)

Log Message

generate-bundle: don't ignore --no-strip
https://bugs.webkit.org/show_bug.cgi?id=219855

Patch by Angelos Oikonomopoulos <[email protected]> on 2020-12-15
Reviewed by Jonathan Bedard.

* Scripts/generate-bundle:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (270827 => 270828)


--- trunk/Tools/ChangeLog	2020-12-15 10:17:53 UTC (rev 270827)
+++ trunk/Tools/ChangeLog	2020-12-15 11:31:00 UTC (rev 270828)
@@ -1,3 +1,12 @@
+2020-12-15  Angelos Oikonomopoulos  <[email protected]>
+
+        generate-bundle: don't ignore --no-strip
+        https://bugs.webkit.org/show_bug.cgi?id=219855
+
+        Reviewed by Jonathan Bedard.
+
+        * Scripts/generate-bundle:
+
 2020-12-15  Dmitry Bezhetskov  <[email protected]>
 
         [WASM-References] Add support for type annotated select

Modified: trunk/Tools/Scripts/generate-bundle (270827 => 270828)


--- trunk/Tools/Scripts/generate-bundle	2020-12-15 10:17:53 UTC (rev 270827)
+++ trunk/Tools/Scripts/generate-bundle	2020-12-15 11:31:00 UTC (rev 270828)
@@ -333,12 +333,13 @@
         else:
                 _log.warning('patchelf not found. Not modifying rpath')
 
-        if shutil.which('strip'):
-            strip_command = ['strip', '--strip-unneeded', os.path.join(destination_dir, os.path.basename(orig_file))]
-            if subprocess.call(strip_command) != 0:
-                _log.warning('The strip command returned non-zero status')
-        else:
-            _log.warning('strip not found. Not stripping object')
+        if self._should_strip_objects:
+            if shutil.which('strip'):
+                strip_command = ['strip', '--strip-unneeded', os.path.join(destination_dir, os.path.basename(orig_file))]
+                if subprocess.call(strip_command) != 0:
+                    _log.warning('The strip command returned non-zero status')
+            else:
+                _log.warning('strip not found. Not stripping object')
 
     def _remove_tempdir(self):
         if not self._tmpdir:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to