Restrict relocation packing to Release build.
commitbc141e92dfb847ab5120ab7daa4ba20f50a40be0
authorsimonb@chromium.org <simonb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 17 Jul 2014 09:05:10 +0000 (17 09:05 +0000)
committersimonb@chromium.org <simonb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 17 Jul 2014 09:05:10 +0000 (17 09:05 +0000)
treecbd33acc63abbeaf10a325509700c4412d1c893c
parent404b7738cdb2cb1f4144bd4785a8cc4769dbd470
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

Review URL: https://codereview.chromium.org/396283002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283721 0039d316-1c4b-4281-b951-d872f2087c98
build/android/gyp/pack_arm_relocations.py
build/android/pack_arm_relocations.gypi