Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Issue 1895713002: Move logic of gyp_webrtc into gyp_webrtc.py (Closed)

Created:
4 years, 8 months ago by kjellander_webrtc
Modified:
4 years, 8 months ago
Reviewers:
phoglund, tkchin_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, qiang.lu, niklas.enbom, yujie_mao (webrtc), peah-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Move 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -124 lines) Patch
M DEPS View 1 2 1 chunk +1 line, -1 line 0 comments Download
M talk/app/webrtc/objc/README View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M webrtc/build/gyp_webrtc View 1 chunk +6 lines, -104 lines 0 comments Download
M webrtc/build/gyp_webrtc.py View 1 2 3 4 1 chunk +116 lines, -11 lines 0 comments Download
M webrtc/build/ios/build_ios_libs.sh View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
kjellander_webrtc
https://codereview.webrtc.org/1895713002/diff/40001/webrtc/build/gyp_webrtc.py File webrtc/build/gyp_webrtc.py (right): https://codereview.webrtc.org/1895713002/diff/40001/webrtc/build/gyp_webrtc.py#newcode11 webrtc/build/gyp_webrtc.py:11: # This script is used to run GYP for ...
4 years, 8 months ago (2016-04-18 07:37:04 UTC) #5
phoglund
lgtm https://codereview.webrtc.org/1895713002/diff/40001/webrtc/build/gyp_webrtc.py File webrtc/build/gyp_webrtc.py (right): https://codereview.webrtc.org/1895713002/diff/40001/webrtc/build/gyp_webrtc.py#newcode31 webrtc/build/gyp_webrtc.py:31: def GetSupplementalFiles(): Nit: two blank lines https://codereview.webrtc.org/1895713002/diff/40001/webrtc/build/gyp_webrtc.py#newcode32 webrtc/build/gyp_webrtc.py:32: ...
4 years, 8 months ago (2016-04-18 08:24:25 UTC) #8
kjellander_webrtc
Fixed nits. Will deploy later today when I have time to monitor the bots. https://codereview.webrtc.org/1895713002/diff/40001/webrtc/build/gyp_webrtc.py ...
4 years, 8 months ago (2016-04-18 08:46:45 UTC) #9
kjellander_webrtc
TBRing tkchin regarding the small bugfix in webrtc/build/ios/build_ios_libs.sh
4 years, 8 months ago (2016-04-18 11:26:03 UTC) #12
kjellander_webrtc
On 2016/04/18 11:26:03, kjellander (webrtc) wrote: > TBRing tkchin regarding the small bugfix in webrtc/build/ios/build_ios_libs.sh ...
4 years, 8 months ago (2016-04-18 11:58:04 UTC) #14
kjellander_webrtc
Committed patchset #5 (id:120001) manually as 001c20dd47183823192a9b6bc1e3f7dc3f324648 (presubmit successful).
4 years, 8 months ago (2016-04-18 14:33:10 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-18 14:33:11 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/001c20dd47183823192a9b6bc1e3f7dc3f324648
Cr-Commit-Position: refs/heads/master@{#12410}

Powered by Google App Engine
This is Rietveld 408576698