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

Issue 1338393003: GN: Fix ChromePublic crash on launch from misconfigured resource overrides (Closed)

Created:
5 years, 3 months ago by agrieve
Modified:
5 years, 2 months ago
Reviewers:
newt (away)
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GN: Fix ChromePublic crash on launch from misconfigured resource overrides Turns out process_resources.py never actually correctly supported resource overrides when using --extra-r-text-files, --extra-res-packages BUG=531529 Committed: https://crrev.com/1db26ac88b5195d575f23fe6120ec1f643950300 Cr-Commit-Position: refs/heads/master@{#349116}

Patch Set 1 #

Total comments: 10

Patch Set 2 : review comments 1` #

Total comments: 2

Patch Set 3 : Don't allow duplicate package names in process_resources.py #

Patch Set 4 : line length #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -50 lines) Patch
M build/android/gyp/process_resources.py View 1 2 3 6 chunks +64 lines, -41 lines 0 comments Download
M build/config/android/rules.gni View 1 2 2 chunks +14 lines, -3 lines 0 comments Download
M chrome/android/BUILD.gn View 1 2 3 chunks +10 lines, -6 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 22 (7 generated)
agrieve
5 years, 3 months ago (2015-09-14 18:51:20 UTC) #2
newt (away)
https://codereview.chromium.org/1338393003/diff/1/build/android/gyp/process_resources.py File build/android/gyp/process_resources.py (right): https://codereview.chromium.org/1338393003/diff/1/build/android/gyp/process_resources.py#newcode154 build/android/gyp/process_resources.py:154: # Map of package_id->resource_type->entry s/package_id/package_name/ https://codereview.chromium.org/1338393003/diff/1/build/android/gyp/process_resources.py#newcode157 build/android/gyp/process_resources.py:157: seen_entries_by_package = ...
5 years, 3 months ago (2015-09-15 00:59:37 UTC) #3
agrieve
https://codereview.chromium.org/1338393003/diff/1/build/android/gyp/process_resources.py File build/android/gyp/process_resources.py (right): https://codereview.chromium.org/1338393003/diff/1/build/android/gyp/process_resources.py#newcode154 build/android/gyp/process_resources.py:154: # Map of package_id->resource_type->entry On 2015/09/15 00:59:37, newt wrote: ...
5 years, 3 months ago (2015-09-15 14:19:12 UTC) #4
newt (away)
lgtm after question https://codereview.chromium.org/1338393003/diff/20001/build/android/gyp/process_resources.py File build/android/gyp/process_resources.py (right): https://codereview.chromium.org/1338393003/diff/20001/build/android/gyp/process_resources.py#newcode157 build/android/gyp/process_resources.py:157: seen_entries_by_package = collections.defaultdict(set) Are there legitimate ...
5 years, 3 months ago (2015-09-15 17:07:53 UTC) #5
newt (away)
https://codereview.chromium.org/1338393003/diff/20001/build/android/gyp/process_resources.py File build/android/gyp/process_resources.py (right): https://codereview.chromium.org/1338393003/diff/20001/build/android/gyp/process_resources.py#newcode157 build/android/gyp/process_resources.py:157: seen_entries_by_package = collections.defaultdict(set) On 2015/09/15 17:07:53, newt wrote: > ...
5 years, 3 months ago (2015-09-15 17:14:01 UTC) #6
agrieve
On 2015/09/15 17:14:01, newt wrote: > https://codereview.chromium.org/1338393003/diff/20001/build/android/gyp/process_resources.py > File build/android/gyp/process_resources.py (right): > > https://codereview.chromium.org/1338393003/diff/20001/build/android/gyp/process_resources.py#newcode157 > ...
5 years, 3 months ago (2015-09-15 18:33:07 UTC) #7
newt (away)
lgtm++
5 years, 3 months ago (2015-09-15 18:56:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1338393003/20002 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1338393003/20002
5 years, 3 months ago (2015-09-15 20:08:47 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/100031)
5 years, 3 months ago (2015-09-15 20:26:00 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1338393003/50001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1338393003/50001
5 years, 3 months ago (2015-09-16 01:06:36 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/63372)
5 years, 3 months ago (2015-09-16 01:14:37 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1338393003/50001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1338393003/50001
5 years, 3 months ago (2015-09-16 13:49:49 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:50001)
5 years, 3 months ago (2015-09-16 14:08:51 UTC) #20
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/1db26ac88b5195d575f23fe6120ec1f643950300 Cr-Commit-Position: refs/heads/master@{#349116}
5 years, 3 months ago (2015-09-16 14:09:36 UTC) #21
commit-bot: I haz the power
5 years, 2 months ago (2015-09-23 12:55:21 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1db26ac88b5195d575f23fe6120ec1f643950300
Cr-Commit-Position: refs/heads/master@{#349116}

Powered by Google App Engine
This is Rietveld 408576698