Fix race condition in gyp/ninja builds.
commit49a1a989fcd17a79789c37cbc75b8e87845b85e4
authorsimonb@chromium.org <simonb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 9 Jul 2014 20:51:21 +0000 (9 20:51 +0000)
committersimonb@chromium.org <simonb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 9 Jul 2014 20:51:21 +0000 (9 20:51 +0000)
treef5483255b35989f9407db6a6ce0241ef451401be
parent93a9886b01066905b785f8e87827327250fba54b
Fix race condition in gyp/ninja builds.

A race can exist where two build targets build the same libchrome.  It
can manifest as:
  .../arm-linux-androideabi-objcopy: error: the input file '.../libchrome.2085.0.so' is empty

Move the temporary directory used to transfer stripped files between the
strip and pack actions from <(SHARED_INTERMEDIATE_DIR) to <(intermediate_dir).
Also, remove nugatory inter-action dependency, and make actions previously
consuming <(strip_stamp) consume <(pack_arm_relocations_stamp) instead.

BUG=392417

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282118 0039d316-1c4b-4281-b951-d872f2087c98
build/java_apk.gypi