DescriptionMove logic of gyp_webrtc into gyp_webrtc.py
For historical reasons gyp_webrtc.py was launcher script
for gyp_webrtc and the python logic lived in the
gyp_webrtc. This change moves python code into the
.py file makes the extension-free gyp_webrtc a launcher
for gyp_webrtc.py.
Other changes:
* Move the code into a main() function.
* Add call to disable GC to save some processing time.
* Set executable permission on gyp_webrtc.py and remove it from
gyp_webrtc.
Similar Chromium CL: https://codereview.chromium.org/1216863010
Motivation for this change:
* Gets checked with PyLint
* Easy to add unit tests if we add our own functionality.
R=phoglund@webrtc.org
TBR=tkchin@webrtc.org
Committed: https://crrev.com/001c20dd47183823192a9b6bc1e3f7dc3f324648
Cr-Commit-Position: refs/heads/master@{#12410}
Patch Set 1 : #
Total comments: 7
Patch Set 2 : Documentation nits addressed #Patch Set 3 : Updated some references #Patch Set 4 : Restoring Visual Studio behavior #Patch Set 5 : Fix PyLint warning #
Messages
Total messages: 18 (11 generated)
|