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

Issue 650933003: GN: make relocation packing work (Closed)

Created:
6 years, 2 months ago by cjhopman
Modified:
6 years, 2 months ago
Reviewers:
simonb (inactive)
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@gn-parse-error
Project:
chromium
Visibility:
Public.

Description

GN: make relocation packing work This adds pretty straightforward conversion of the relocation package gyp targets. The android_apk template is updated to use pack_arm_relocations.py instead of copy_ex.py for copying native libraries into the directory used to build the apk. This script will copy the files when relocation packing is disabled and otherwise will do the relocation packing (just like it does in gyp). BUG=359249 Committed: https://crrev.com/284a11b8e10b24d85247dc447dfb3ae812b75f91 Cr-Commit-Position: refs/heads/master@{#300969}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : Extract some relocation packer config to //tools/relocation_packer/config.gni #

Total comments: 2

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -18 lines) Patch
M build/android/gyp/pack_arm_relocations.py View 1 2 4 chunks +15 lines, -7 lines 0 comments Download
M build/config/android/config.gni View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M build/config/android/rules.gni View 1 2 3 4 4 chunks +51 lines, -10 lines 0 comments Download
A tools/relocation_packer/BUILD.gn View 1 2 3 1 chunk +135 lines, -0 lines 0 comments Download
A tools/relocation_packer/config.gni View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M tools/relocation_packer/relocation_packer.gyp View 1 2 5 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
cjhopman
simonb, ptal
6 years, 2 months ago (2014-10-16 21:46:16 UTC) #2
simonb (inactive)
https://codereview.chromium.org/650933003/diff/100001/build/config/android/rules.gni File build/config/android/rules.gni (right): https://codereview.chromium.org/650933003/diff/100001/build/config/android/rules.gni#newcode1007 build/config/android/rules.gni:1007: has_relocations_with_addends = 0 Should be 0 for arm, 1 ...
6 years, 2 months ago (2014-10-17 12:30:20 UTC) #3
cjhopman
https://codereview.chromium.org/650933003/diff/100001/build/config/android/rules.gni File build/config/android/rules.gni (right): https://codereview.chromium.org/650933003/diff/100001/build/config/android/rules.gni#newcode1007 build/config/android/rules.gni:1007: has_relocations_with_addends = 0 On 2014/10/17 12:30:20, simonb wrote: > ...
6 years, 2 months ago (2014-10-17 20:55:19 UTC) #4
simonb (inactive)
lgtm https://codereview.chromium.org/650933003/diff/120001/build/config/android/rules.gni File build/config/android/rules.gni (right): https://codereview.chromium.org/650933003/diff/120001/build/config/android/rules.gni#newcode844 build/config/android/rules.gni:844: assert(_enable_relocation_packing || true) Does this do anything? (Also ...
6 years, 2 months ago (2014-10-20 13:06:10 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/650933003/120001
6 years, 2 months ago (2014-10-23 20:55:11 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/83108) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/72755) android_aosp ...
6 years, 2 months ago (2014-10-23 21:01:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/650933003/140001
6 years, 2 months ago (2014-10-23 21:24:53 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:140001)
6 years, 2 months ago (2014-10-23 23:03:49 UTC) #12
commit-bot: I haz the power
6 years, 2 months ago (2014-10-23 23:04:19 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/284a11b8e10b24d85247dc447dfb3ae812b75f91
Cr-Commit-Position: refs/heads/master@{#300969}

Powered by Google App Engine
This is Rietveld 408576698