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

Issue 903793002: Name V8 snapshot according to target architecture (32/64 bit). (Closed)

Created:
5 years, 10 months ago by gsennton
Modified:
5 years, 10 months ago
CC:
chromium-reviews, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Name V8 snapshot according to target architecture (32/64 bit). Renaming webview copy of V8 snapshot to be able to differentiate between snapshots for 32- and 64 bit architectures. This is done so that snapshots for different architectures can be repacked into the same APK. BUG=455699 Committed: https://crrev.com/0ae506b5a6eae5cf0e440752a4fb99b35e2b0f05 Cr-Commit-Position: refs/heads/master@{#315314}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Moved snapshot copying code to a new gypi file and removed tabs. #

Patch Set 3 : Initiating snapshot variables even when not using external V8 snapshot. Also reusing asset location… #

Patch Set 4 : Rebase #

Total comments: 4

Patch Set 5 : Added comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -38 lines) Patch
M android_webview/android_webview.gyp View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
M android_webview/android_webview_tests.gypi View 1 2 3 3 chunks +17 lines, -24 lines 0 comments Download
M android_webview/apk/system_webview_apk_common.gypi View 1 2 3 5 chunks +6 lines, -12 lines 0 comments Download
M android_webview/lib/main/aw_main_delegate.cc View 1 2 3 4 1 chunk +12 lines, -2 lines 0 comments Download
A android_webview/snapshot_copying.gypi View 1 2 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (7 generated)
gsennton
5 years, 10 months ago (2015-02-05 17:39:01 UTC) #2
Torne
+rmcilroy Ross, do you think this is too gross as a short term solution? Would ...
5 years, 10 months ago (2015-02-06 12:17:24 UTC) #4
rmcilroy
This is a bit gross, but it is at least limited to webview and I ...
5 years, 10 months ago (2015-02-06 15:31:50 UTC) #5
gsennton
Removed tabs and added gypi file to avoid duplication.
5 years, 10 months ago (2015-02-06 18:23:10 UTC) #6
Torne
Latest version LGTM.
5 years, 10 months ago (2015-02-09 14:37:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/903793002/60001
5 years, 10 months ago (2015-02-09 14:59:49 UTC) #9
rmcilroy
Do we need to do this for GN as well? https://codereview.chromium.org/903793002/diff/60001/android_webview/lib/main/aw_main_delegate.cc File android_webview/lib/main/aw_main_delegate.cc (right): https://codereview.chromium.org/903793002/diff/60001/android_webview/lib/main/aw_main_delegate.cc#newcode100 ...
5 years, 10 months ago (2015-02-09 14:59:59 UTC) #10
Torne
On 2015/02/09 14:59:59, rmcilroy wrote: > Do we need to do this for GN as ...
5 years, 10 months ago (2015-02-09 15:08:51 UTC) #12
gsennton
https://codereview.chromium.org/903793002/diff/60001/android_webview/lib/main/aw_main_delegate.cc File android_webview/lib/main/aw_main_delegate.cc (right): https://codereview.chromium.org/903793002/diff/60001/android_webview/lib/main/aw_main_delegate.cc#newcode100 android_webview/lib/main/aw_main_delegate.cc:100: const char kSnapshotFileName[] = "snapshot_blob_32.bin"; On 2015/02/09 14:59:59, rmcilroy ...
5 years, 10 months ago (2015-02-09 15:47:46 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/903793002/80001
5 years, 10 months ago (2015-02-09 15:49:03 UTC) #16
rmcilroy
On 2015/02/09 15:47:46, gsennton wrote: > https://codereview.chromium.org/903793002/diff/60001/android_webview/lib/main/aw_main_delegate.cc > File android_webview/lib/main/aw_main_delegate.cc (right): > > https://codereview.chromium.org/903793002/diff/60001/android_webview/lib/main/aw_main_delegate.cc#newcode100 > ...
5 years, 10 months ago (2015-02-09 15:50:30 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-02-09 16:11:48 UTC) #18
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/0ae506b5a6eae5cf0e440752a4fb99b35e2b0f05 Cr-Commit-Position: refs/heads/master@{#315314}
5 years, 10 months ago (2015-02-09 16:12:33 UTC) #19
mef
On 2015/02/09 16:12:33, I haz the power (commit-bot) wrote: > Patchset 5 (id:??) landed as ...
5 years, 10 months ago (2015-02-10 00:54:26 UTC) #20
Kibeom Kim (inactive)
On 2015/02/10 00:54:26, mef wrote: > On 2015/02/09 16:12:33, I haz the power (commit-bot) wrote: ...
5 years, 10 months ago (2015-02-10 01:09:05 UTC) #21
Kibeom Kim (inactive)
On those bots, target_arch variables are x64, mipsel, and ia32.
5 years, 10 months ago (2015-02-10 01:26:48 UTC) #23
boliu
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/868363003/ by boliu@chromium.org. ...
5 years, 10 months ago (2015-02-10 02:17:44 UTC) #24
boliu
build/common.gypi is a good source of truth for what target_arch could be: arm arm64 mipsel ...
5 years, 10 months ago (2015-02-10 02:23:50 UTC) #25
Torne
5 years, 10 months ago (2015-02-10 10:07:24 UTC) #26
Message was sent while issue was closed.
On 2015/02/10 02:23:50, boliu wrote:
> build/common.gypi is a good source of truth for what target_arch could be:
> 
> arm
> arm64
> mipsel
> mips64el
> x64
> ia32
> 
> For when this relands :)

Whoops, sorry, I told Gustav the wrong architecture names (the ones in this
patch are the names Android uses, which are different to Chrome's, woohoo).

Powered by Google App Engine
This is Rietveld 408576698