• simonb@chromium.org's avatar
    Fix race condition in gyp/ninja builds. · 49a1a989
    simonb@chromium.org authored
    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
    49a1a989
java_apk.gypi 32.8 KB