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

Issue 396283002: Restrict relocation packing to Release build. (Closed)

Created:
6 years, 5 months ago by simonb (inactive)
Modified:
6 years, 5 months ago
Reviewers:
rmcilroy, Torne
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Restrict relocation packing to Release build. Pass CONFIGURATION_NAME as an argument to pack_arm_relocations.py, and turn on packing only if its value is 'Release'. (CONFIGURATION_NAME cannot be used in conditionals because it is not resolved until after the conditional has been processed.) Prior art: https://code.google.com/p/chromium/codesearch#chromium/src/build/android/gyp/apk_obfuscate.py&l=103 https://code.google.com/p/chromium/codesearch#chromium/src/build/java_apk.gypi&l=742 BUG=385553 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283721

Patch Set 1 #

Total comments: 4

Patch Set 2 : Update for review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -7 lines) Patch
M build/android/gyp/pack_arm_relocations.py View 1 3 chunks +12 lines, -6 lines 0 comments Download
M build/android/pack_arm_relocations.gypi View 3 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
simonb (inactive)
6 years, 5 months ago (2014-07-16 15:16:40 UTC) #1
rmcilroy
Adding Torne in case he has any better ideas about how to do this. Please ...
6 years, 5 months ago (2014-07-16 15:24:04 UTC) #2
simonb (inactive)
Thanks. Updates in patch set 2. https://codereview.chromium.org/396283002/diff/1/build/android/gyp/pack_arm_relocations.py File build/android/gyp/pack_arm_relocations.py (right): https://codereview.chromium.org/396283002/diff/1/build/android/gyp/pack_arm_relocations.py#newcode66 build/android/gyp/pack_arm_relocations.py:66: help='Gyp configuration name ...
6 years, 5 months ago (2014-07-16 16:17:00 UTC) #3
Torne
Can't think of a better way to do this, it's probably ok. LGTM :)
6 years, 5 months ago (2014-07-16 16:57:27 UTC) #4
simonb (inactive)
The CQ bit was checked by simonb@chromium.org
6 years, 5 months ago (2014-07-16 17:11:04 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonb@chromium.org/396283002/20001
6 years, 5 months ago (2014-07-16 17:16:37 UTC) #6
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 09:05:14 UTC) #7
Message was sent while issue was closed.
Change committed as 283721

Powered by Google App Engine
This is Rietveld 408576698