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

Issue 14203006: Extract use_system_foo logic out of gyp files, patch 2 (Closed)

Created:
7 years, 8 months ago by Paweł Hajdan Jr.
Modified:
7 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Extract use_system_foo logic out of gyp files, patch 2 This removes use_system_foo logic completely from: * jsoncpp.gyp * libevent.gyp * libpng.gyp * libusb.gyp * libwebp.gyp * opus.gyp * re2.gyp * zlib.gyp R=rsleevi TBR=darin BUG=226860 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=196551

Patch Set 1 #

Total comments: 15
Unified diffs Side-by-side diffs Delta from patch set Stats (+1141 lines, -1113 lines) Patch
A + build/linux/unbundle/bzip2.gyp View 1 chunk +4 lines, -10 lines 0 comments Download
A build/linux/unbundle/expat.gyp View 1 chunk +17 lines, -0 lines 0 comments Download
A build/linux/unbundle/jsoncpp.gyp View 1 chunk +39 lines, -0 lines 0 comments Download
A build/linux/unbundle/libevent.gyp View 1 chunk +27 lines, -0 lines 4 comments Download
A + build/linux/unbundle/libjpeg.gyp View 1 chunk +12 lines, -11 lines 0 comments Download
A build/linux/unbundle/libpng.gyp View 1 chunk +38 lines, -0 lines 3 comments Download
A build/linux/unbundle/libusb.gyp View 1 chunk +34 lines, -0 lines 0 comments Download
A build/linux/unbundle/libwebp.gyp View 1 chunk +28 lines, -0 lines 5 comments Download
A build/linux/unbundle/libxml.gyp View 1 chunk +38 lines, -0 lines 3 comments Download
A + build/linux/unbundle/libxslt.gyp View 1 chunk +4 lines, -7 lines 0 comments Download
A build/linux/unbundle/opus.gyp View 1 chunk +38 lines, -0 lines 0 comments Download
A build/linux/unbundle/re2.gyp View 1 chunk +37 lines, -0 lines 0 comments Download
M build/linux/unbundle/replace_gyp_files.py View 1 chunk +14 lines, -0 lines 0 comments Download
A + build/linux/unbundle/sqlite.gyp View 1 chunk +7 lines, -7 lines 0 comments Download
A build/linux/unbundle/zlib.gyp View 1 chunk +48 lines, -0 lines 0 comments Download
M third_party/jsoncpp/jsoncpp.gyp View 1 chunk +33 lines, -74 lines 0 comments Download
M third_party/libevent/libevent.gyp View 1 chunk +50 lines, -79 lines 0 comments Download
M third_party/libpng/libpng.gyp View 1 chunk +65 lines, -124 lines 0 comments Download
M third_party/libusb/libusb.gyp View 1 chunk +53 lines, -84 lines 0 comments Download
M third_party/libwebp/libwebp.gyp View 1 chunk +131 lines, -161 lines 0 comments Download
M third_party/opus/opus.gyp View 2 chunks +281 lines, -319 lines 0 comments Download
M third_party/re2/re2.gyp View 1 chunk +74 lines, -113 lines 0 comments Download
M third_party/zlib/zlib.gyp View 1 chunk +69 lines, -124 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Paweł Hajdan Jr.
7 years, 8 months ago (2013-04-25 19:13:59 UTC) #1
Lei Zhang
rsleevi's probably more familiar, but I like this approach in general.
7 years, 8 months ago (2013-04-25 22:06:49 UTC) #2
Ryan Sleevi
The third_party/ code appears to just be de-indenting, so I've ignored focusing on that. Please ...
7 years, 8 months ago (2013-04-25 22:19:19 UTC) #3
Paweł Hajdan Jr.
https://codereview.chromium.org/14203006/diff/1/build/linux/unbundle/libevent.gyp File build/linux/unbundle/libevent.gyp (right): https://codereview.chromium.org/14203006/diff/1/build/linux/unbundle/libevent.gyp#newcode10 build/linux/unbundle/libevent.gyp:10: 'toolsets': ['host', 'target'], On 2013/04/25 22:19:19, Ryan Sleevi wrote: ...
7 years, 8 months ago (2013-04-25 22:41:50 UTC) #4
Ryan Sleevi
lgtm https://codereview.chromium.org/14203006/diff/1/build/linux/unbundle/libevent.gyp File build/linux/unbundle/libevent.gyp (right): https://codereview.chromium.org/14203006/diff/1/build/linux/unbundle/libevent.gyp#newcode10 build/linux/unbundle/libevent.gyp:10: 'toolsets': ['host', 'target'], On 2013/04/25 22:41:50, Paweł Hajdan ...
7 years, 8 months ago (2013-04-25 23:12:40 UTC) #5
Paweł Hajdan Jr.
Committed patchset #1 manually as r196551 (presubmit successful).
7 years, 8 months ago (2013-04-26 00:20:38 UTC) #6
Paweł Hajdan Jr.
+Darin TBR third_party OWNERS https://codereview.chromium.org/14203006/diff/1/build/linux/unbundle/libevent.gyp File build/linux/unbundle/libevent.gyp (right): https://codereview.chromium.org/14203006/diff/1/build/linux/unbundle/libevent.gyp#newcode10 build/linux/unbundle/libevent.gyp:10: 'toolsets': ['host', 'target'], Ryan, don't ...
7 years, 8 months ago (2013-04-26 00:55:18 UTC) #7
Paweł Hajdan Jr.
https://codereview.chromium.org/14203006/diff/1/build/linux/unbundle/libwebp.gyp File build/linux/unbundle/libwebp.gyp (right): https://codereview.chromium.org/14203006/diff/1/build/linux/unbundle/libwebp.gyp#newcode17 build/linux/unbundle/libwebp.gyp:17: # Check for presence of webpdemux library, use it ...
7 years, 8 months ago (2013-04-26 18:21:40 UTC) #8
Noel Gordon
Well making changes to webp image decoder in Blink is a real pain given all ...
7 years, 7 months ago (2013-05-10 04:28:35 UTC) #9
Paweł Hajdan Jr.
7 years, 7 months ago (2013-05-10 17:14:25 UTC) #10
Message was sent while issue was closed.
On 2013/05/10 04:28:35, Noel Gordon (Google) wrote:
> Well making changes to webp image decoder in Blink is a real pain given all
> these webp versions. Since we don't need to support WebKit ports anymore, I'd
> really like to simplify and require libwebp/mux 0.3.

Don't worry about bits in build/linux/unbundle - they are not used for Chrome
build.

> Also, it's getting very hard to work out just reading .gypi files to determine
> who/what is turning on a use_system_foo, at least for me.

This is exactly what the linked bug is about. :) Feel free to star it and check
out other changes there.

> So for libpng, noting
> https://chromiumcodereview.appspot.com/9365007 I was curious to know if the
> changes here undid that?

Yes, this patch removes use_system_foo bits from libpng.gyp completely.

Powered by Google App Engine
This is Rietveld 408576698