Chromium Code Reviews

Issue 1859803002: Cleanup webrtc/base/base.gyp (Closed)

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

Description

Cleanup webrtc/base/base.gyp * Remove all source exclusions since they make the file very hard to read and heavily increases the risk for mistakes. * Don't compile the openssl* sources if use_openssl==0. * Move platform specific sources into conditional includes to make it easier to verify a 1:1 mapping with BUILD.gn (since GN doesn't support automatic detection of platform specific sources based on filenames). * Add missing sources for the GN build. * Reorder some blocks to make GYP vs GN mapping match. BUG=webrtc:4256 R=perkj@webrtc.org, torbjorng@webrtc.org Committed: https://crrev.com/47f33cb28ffb0fa0f053ae0aa0086e11f85bf444 Cr-Commit-Position: refs/heads/master@{#12235}

Patch Set 1 : #

Total comments: 9

Patch Set 2 : Removed use_openssl condition for GYP and GN #

Unified diffs Side-by-side diffs Stats (+154 lines, -278 lines)
M webrtc/base/BUILD.gn View 16 chunks +49 lines, -64 lines 0 comments
M webrtc/base/base.gyp View 19 chunks +105 lines, -214 lines 0 comments

Messages

Total messages: 20 (9 generated)
kjellander_webrtc
4 years, 8 months ago (2016-04-05 06:37:07 UTC) #5
perkj_webrtc
https://codereview.webrtc.org/1859803002/diff/40001/webrtc/base/BUILD.gn File webrtc/base/BUILD.gn (left): https://codereview.webrtc.org/1859803002/diff/40001/webrtc/base/BUILD.gn#oldcode260 webrtc/base/BUILD.gn:260: "mathutils.h", intentionally removed? https://codereview.webrtc.org/1859803002/diff/40001/webrtc/base/BUILD.gn#oldcode377 webrtc/base/BUILD.gn:377: "genericslot.h", why removed? https://codereview.webrtc.org/1859803002/diff/40001/webrtc/base/BUILD.gn ...
4 years, 8 months ago (2016-04-05 07:08:12 UTC) #6
kjellander_webrtc
torbjorng: please see my question about the openssl* sources. https://codereview.webrtc.org/1859803002/diff/40001/webrtc/base/BUILD.gn File webrtc/base/BUILD.gn (left): https://codereview.webrtc.org/1859803002/diff/40001/webrtc/base/BUILD.gn#oldcode260 webrtc/base/BUILD.gn:260: ...
4 years, 8 months ago (2016-04-05 07:21:38 UTC) #8
perkj_webrtc
On 2016/04/05 07:21:38, kjellander (webrtc) wrote: > torbjorng: please see my question about the openssl* ...
4 years, 8 months ago (2016-04-05 08:16:52 UTC) #9
torbjorng (webrtc)
I think this change wrt openssl* is incorrect. A correct change would be to remove ...
4 years, 8 months ago (2016-04-05 08:18:16 UTC) #10
kjellander_webrtc
On 2016/04/05 08:18:16, torbjorng (webrtc) wrote: > I think this change wrt openssl* is incorrect. ...
4 years, 8 months ago (2016-04-05 09:53:36 UTC) #12
torbjorng (webrtc)
lgtm Feel free to clean out use_openssl from these files too: webrtc/build/isolate.gypi webrtc/media/media.gyp webrtc/supplement.gypi :-)
4 years, 8 months ago (2016-04-05 10:41:58 UTC) #13
kjellander_webrtc
On 2016/04/05 10:41:58, torbjorng (webrtc) wrote: > lgtm > > Feel free to clean out ...
4 years, 8 months ago (2016-04-05 11:28:20 UTC) #14
kjellander_webrtc
Committed patchset #2 (id:80001) manually as 47f33cb28ffb0fa0f053ae0aa0086e11f85bf444 (presubmit successful).
4 years, 8 months ago (2016-04-05 11:28:58 UTC) #17
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/47f33cb28ffb0fa0f053ae0aa0086e11f85bf444 Cr-Commit-Position: refs/heads/master@{#12235}
4 years, 8 months ago (2016-04-05 11:29:01 UTC) #18
kjellander_webrtc
4 years, 8 months ago (2016-04-05 11:53:52 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:80001) has been created in
https://codereview.webrtc.org/1856323003/ by kjellander@webrtc.org.

The reason for reverting is: For some odd reason this breaks chromium.webrtc.fyi
bots:
../../third_party/webrtc_overrides/webrtc/base/win32socketinit.cc:13:2: error:
"Only compile this on Windows"
#error "Only compile this on Windows"
 ^
1 error generated.

https://build.chromium.org/p/chromium.webrtc.fyi/builders/Mac%20Builder/build...
https://build.chromium.org/p/chromium.webrtc.fyi/builders/Linux%20Builder/bui....

Powered by Google App Engine