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

Issue 2567393003: [Chromecast] Fix for building Android Cast builds with virtualenv. (Closed)

Created:
4 years ago by mbjorge
Modified:
4 years ago
Reviewers:
slan, agrieve
CC:
agrieve+watch_chromium.org, chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chromecast] Fix for building Android Cast builds with virtualenv. The Chromecast CQ bots are failing to build the Android builds. Iterating over sys.modules with itervalues() results in a runtime error because sys.modules is apparently changing size. Using sys.modules.values() instead lets sys.modules change without a runtime error since it makes a copy. BUG=673915 Committed: https://crrev.com/d00168a948a32f378a0c05842ee52ca35905c9d5 Cr-Commit-Position: refs/heads/master@{#439234}

Patch Set 1 #

Patch Set 2 : Better describe the root cause of the issue #

Total comments: 1

Patch Set 3 : Ensure sys.modules is stabilized before getting the final list of modules. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -2 lines) Patch
M build/android/gyp/util/build_utils.py View 1 2 2 chunks +25 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
mbjorge
4 years ago (2016-12-13 23:00:46 UTC) #2
slan
lgtm
4 years ago (2016-12-13 23:02:11 UTC) #3
agrieve
https://codereview.chromium.org/2567393003/diff/20001/build/android/gyp/util/build_utils.py File build/android/gyp/util/build_utils.py (right): https://codereview.chromium.org/2567393003/diff/20001/build/android/gyp/util/build_utils.py#newcode412 build/android/gyp/util/build_utils.py:412: module_paths = (m.__file__ for m in sys.modules.values() If it's ...
4 years ago (2016-12-14 15:35:28 UTC) #4
mbjorge
On 2016/12/14 at 15:35:28, agrieve wrote: > https://codereview.chromium.org/2567393003/diff/20001/build/android/gyp/util/build_utils.py > File build/android/gyp/util/build_utils.py (right): > > https://codereview.chromium.org/2567393003/diff/20001/build/android/gyp/util/build_utils.py#newcode412 ...
4 years ago (2016-12-14 19:06:32 UTC) #5
mbjorge
friendly ping!
4 years ago (2016-12-15 21:20:34 UTC) #6
agrieve
On 2016/12/15 21:20:34, mbjorge wrote: > friendly ping! sorry, lgtm!
4 years ago (2016-12-16 20:04:11 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2567393003/40001
4 years ago (2016-12-16 20:49:46 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/87890)
4 years ago (2016-12-16 22:21:29 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2567393003/40001
4 years ago (2016-12-16 22:29:38 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-16 23:49:09 UTC) #17
commit-bot: I haz the power
4 years ago (2016-12-16 23:53:12 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d00168a948a32f378a0c05842ee52ca35905c9d5
Cr-Commit-Position: refs/heads/master@{#439234}

Powered by Google App Engine
This is Rietveld 408576698