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

Issue 1903443002: [GN/iOS] Explicitly list test data in //components. (Closed)

Created:
4 years, 8 months ago by sdefresne
Modified:
4 years, 8 months ago
Reviewers:
Robert Sesek
CC:
bondd+autofillwatch_chromium.org, browser-components-watch_chromium.org, chromium-reviews, estade+watch_chromium.org, gcasto+watchlist_chromium.org, jdonnelly+autofillwatch_chromium.org, mkwst+watchlist-passwords_chromium.org, noyau+watch_chromium.org, rouslan+autofill_chromium.org, tfarina, vabr+watchlistpasswordmanager_chromium.org, vabr+watchlistautofill_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@gn-fix-jingle
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[GN/iOS] Explicitly list test data in //components. Since timestamp of directory is not always updated when the content is changed (e.g. when a file content is changed, ...) listing just the directory lead to flaky incremental builds and bot failures. Explicitly list all test data files to fix those flakes. To make it more manageable, create individual bundle_data for all unit_tests target that require them and put the individual files used there. Enable the same set of unit tests on iOS with gyp and gn and fix some minor errors in the BUILD.gn files to get the target to build and link. BUG=459705, 604721 Committed: https://crrev.com/a986d5d6c1c044953d81b1342ae6ab5e138c6ebc Cr-Commit-Position: refs/heads/master@{#388248}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comments and disable non-fonctional test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+320 lines, -65 lines) Patch
M components/BUILD.gn View 1 4 chunks +47 lines, -58 lines 0 comments Download
M components/autofill/core/browser/BUILD.gn View 2 chunks +24 lines, -0 lines 0 comments Download
M components/bookmarks/browser/BUILD.gn View 2 chunks +14 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/browser/BUILD.gn View 2 chunks +20 lines, -0 lines 0 comments Download
M components/dom_distiller/core/BUILD.gn View 2 chunks +14 lines, -0 lines 0 comments Download
M components/history/core/browser/BUILD.gn View 3 chunks +41 lines, -1 line 0 comments Download
M components/json_schema/BUILD.gn View 2 chunks +19 lines, -0 lines 0 comments Download
M components/omnibox/browser/BUILD.gn View 2 chunks +16 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/BUILD.gn View 2 chunks +33 lines, -0 lines 0 comments Download
M components/password_manager/sync/browser/password_manager_setting_migrator_service_unittest.cc View 1 1 chunk +12 lines, -1 line 0 comments Download
M components/security_state/BUILD.gn View 2 chunks +13 lines, -0 lines 0 comments Download
M components/update_client/BUILD.gn View 2 chunks +22 lines, -0 lines 0 comments Download
M components/user_prefs/tracked/BUILD.gn View 1 chunk +1 line, -5 lines 0 comments Download
M components/webdata/common/BUILD.gn View 2 chunks +26 lines, -0 lines 0 comments Download
M components/webp_transcode/BUILD.gn View 2 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
sdefresne
Please take a look.
4 years, 8 months ago (2016-04-19 11:26:27 UTC) #2
Robert Sesek
LGTM https://codereview.chromium.org/1903443002/diff/1/components/BUILD.gn File components/BUILD.gn (right): https://codereview.chromium.org/1903443002/diff/1/components/BUILD.gn#newcode69 components/BUILD.gn:69: "//components/cloud_devices/common:unit_tests", Listed twice.
4 years, 8 months ago (2016-04-19 12:17:42 UTC) #3
sdefresne
Thank you for the review. https://codereview.chromium.org/1903443002/diff/1/components/BUILD.gn File components/BUILD.gn (right): https://codereview.chromium.org/1903443002/diff/1/components/BUILD.gn#newcode69 components/BUILD.gn:69: "//components/cloud_devices/common:unit_tests", On 2016/04/19 at ...
4 years, 8 months ago (2016-04-19 17:12:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1903443002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1903443002/60001
4 years, 8 months ago (2016-04-19 17:13:11 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1903443002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1903443002/80001
4 years, 8 months ago (2016-04-19 17:32:26 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:80001)
4 years, 8 months ago (2016-04-19 18:19:41 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:13:53 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a986d5d6c1c044953d81b1342ae6ab5e138c6ebc
Cr-Commit-Position: refs/heads/master@{#388248}

Powered by Google App Engine
This is Rietveld 408576698