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

Issue 1564773002: Move components/compression to third_party/zlib/google (Closed)

Created:
4 years, 11 months ago by hajimehoshi
Modified:
4 years, 11 months ago
CC:
asvitkine+watch_chromium.org, blundell+watchlist_chromium.org, bondd+autofillwatch_chromium.org, browser-components-watch_chromium.org, chromium-reviews, droger+watchlist_chromium.org, estade+watch_chromium.org, jdonnelly+autofillwatch_chromium.org, rouslan+autofill_chromium.org, sdefresne+watchlist_chromium.org, vabr+watchlistautofill_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move components/compression to third_party/zlib/google We are now implementing CompressibleString in third_party/WebKit/Source/ wtf/text and want to use compression algorithm, but wtf/text can't depend on components. This CL moves components/compression to third_party and enables wtf/text to use the compression utility. The purpose of this CL is similar to crrev.com/14021015. BUG=574317 TEST=n/a Committed: https://crrev.com/1e1cc1a7060ab8eb95a62da608f333e31aaba475 Cr-Commit-Position: refs/heads/master@{#369491}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Nico's review #

Total comments: 2

Patch Set 3 : Edit BUILD.gn; Fix *.gypi #

Patch Set 4 : #

Patch Set 5 : Fix #include #

Patch Set 6 : Bug fix: wrong dependency #

Patch Set 7 : Fix #include #

Patch Set 8 : (rebase) #

Patch Set 9 : Fix another #include... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -373 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/autofill/autofill_server_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/importer/edge_importer_browsertest_win.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 2 chunks +1 line, -1 line 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/utility/importer/edge_database_reader_unittest_win.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M components/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M components/autofill.gypi View 1 2 chunks +1 line, -1 line 0 comments Download
M components/autofill/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/browser/BUILD.gn View 1 2 3 4 5 4 chunks +2 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_download_manager.cc View 2 chunks +1 line, -1 line 0 comments Download
M components/autofill/core/browser/autofill_download_manager_unittest.cc View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M components/components.gyp View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 3 chunks +0 lines, -5 lines 0 comments Download
D components/compression.gypi View 1 chunk +0 lines, -24 lines 0 comments Download
D components/compression/BUILD.gn View 1 chunk +0 lines, -27 lines 0 comments Download
D components/compression/DEPS View 1 chunk +0 lines, -3 lines 0 comments Download
D components/compression/OWNERS View 1 chunk +0 lines, -6 lines 0 comments Download
D components/compression/compression_utils.h View 1 chunk +0 lines, -22 lines 0 comments Download
D components/compression/compression_utils.cc View 1 chunk +0 lines, -164 lines 0 comments Download
D components/compression/compression_utils_unittest.cc View 1 chunk +0 lines, -91 lines 0 comments Download
M components/metrics.gypi View 1 1 chunk +1 line, -1 line 0 comments Download
M components/metrics/BUILD.gn View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M components/metrics/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/metrics/metrics_service_unittest.cc View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M components/metrics/persisted_logs.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/metrics/persisted_logs_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M components/variations.gypi View 1 1 chunk +1 line, -1 line 0 comments Download
M components/variations/BUILD.gn View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M components/variations/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/variations/service/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M components/variations/variations_seed_store.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/variations/variations_seed_store_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/zlib/BUILD.gn View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/zlib/google/OWNERS View 1 1 chunk +4 lines, -0 lines 0 comments Download
A + third_party/zlib/google/compression_utils.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + third_party/zlib/google/compression_utils.cc View 1 chunk +1 line, -1 line 0 comments Download
A + third_party/zlib/google/compression_utils_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/zlib/google/zip.gyp View 1 1 chunk +14 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 43 (21 generated)
hajimehoshi
PTAL
4 years, 11 months ago (2016-01-06 11:05:53 UTC) #3
Nico
Two comments about the new .gyp file, other than that looks good: https://codereview.chromium.org/1564773002/diff/1/third_party/zlib/google/OWNERS File third_party/zlib/google/OWNERS ...
4 years, 11 months ago (2016-01-06 14:36:50 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/1564773002/diff/1/third_party/zlib/google/OWNERS File third_party/zlib/google/OWNERS (right): https://codereview.chromium.org/1564773002/diff/1/third_party/zlib/google/OWNERS#newcode4 third_party/zlib/google/OWNERS:4: # compression_utils.h, compression_utils.cc On 2016/01/06 14:36:50, Nico wrote: > ...
4 years, 11 months ago (2016-01-06 16:21:23 UTC) #6
hajimehoshi
Thank you! https://codereview.chromium.org/1564773002/diff/1/third_party/zlib/google/OWNERS File third_party/zlib/google/OWNERS (right): https://codereview.chromium.org/1564773002/diff/1/third_party/zlib/google/OWNERS#newcode4 third_party/zlib/google/OWNERS:4: # compression_utils.h, compression_utils.cc On 2016/01/06 16:21:23, Alexei ...
4 years, 11 months ago (2016-01-07 07:40:10 UTC) #7
Nico
https://codereview.chromium.org/1564773002/diff/20001/third_party/zlib/google/zip.gyp File third_party/zlib/google/zip.gyp (right): https://codereview.chromium.org/1564773002/diff/20001/third_party/zlib/google/zip.gyp#newcode27 third_party/zlib/google/zip.gyp:27: 'target_name': 'compression_utils', You also need a GN version of ...
4 years, 11 months ago (2016-01-07 15:03:42 UTC) #9
Nico
(add it to third_party/zlib/BUILD.gn)
4 years, 11 months ago (2016-01-07 15:03:56 UTC) #10
hajimehoshi
Thanks. Additionally, I've fixed other BUILD.gn files. https://codereview.chromium.org/1564773002/diff/20001/third_party/zlib/google/zip.gyp File third_party/zlib/google/zip.gyp (right): https://codereview.chromium.org/1564773002/diff/20001/third_party/zlib/google/zip.gyp#newcode27 third_party/zlib/google/zip.gyp:27: 'target_name': 'compression_utils', ...
4 years, 11 months ago (2016-01-08 09:20:10 UTC) #11
Alexei Svitkine (slow)
lgtm
4 years, 11 months ago (2016-01-08 15:41:13 UTC) #12
Nico
lgtm. Looks like you need to update a few more include paths until the trybots ...
4 years, 11 months ago (2016-01-08 15:44:28 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1564773002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1564773002/80001
4 years, 11 months ago (2016-01-12 06:19:53 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/51201)
4 years, 11 months ago (2016-01-12 06:24:23 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1564773002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1564773002/100001
4 years, 11 months ago (2016-01-12 07:34:59 UTC) #21
hajimehoshi
+jochen, isherman: PTAL
4 years, 11 months ago (2016-01-12 07:48:13 UTC) #30
jochen (gone - plz use gerrit)
what part do you want me to look at?
4 years, 11 months ago (2016-01-12 15:48:31 UTC) #31
Ilya Sherman
autofill lgtm
4 years, 11 months ago (2016-01-13 01:10:11 UTC) #32
Ilya Sherman
On 2016/01/12 15:48:31, jochen wrote: > what part do you want me to look at? ...
4 years, 11 months ago (2016-01-13 01:11:02 UTC) #33
hajimehoshi
On 2016/01/13 01:11:02, Ilya Sherman wrote: > On 2016/01/12 15:48:31, jochen wrote: > > what ...
4 years, 11 months ago (2016-01-13 04:48:14 UTC) #34
hajimehoshi
ping
4 years, 11 months ago (2016-01-14 11:08:50 UTC) #35
jochen (gone - plz use gerrit)
lgtm
4 years, 11 months ago (2016-01-14 13:57:15 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1564773002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1564773002/160001
4 years, 11 months ago (2016-01-14 17:58:24 UTC) #39
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 11 months ago (2016-01-14 19:09:09 UTC) #41
commit-bot: I haz the power
4 years, 11 months ago (2016-01-14 19:11:00 UTC) #43
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/1e1cc1a7060ab8eb95a62da608f333e31aaba475
Cr-Commit-Position: refs/heads/master@{#369491}

Powered by Google App Engine
This is Rietveld 408576698