OSDN Git Service

Use md5sum as the build.ninja filename suffix if the suffix gets too long.
authorYing Wang <wangying@google.com>
Tue, 22 Sep 2015 21:37:53 +0000 (14:37 -0700)
committerYing Wang <wangying@google.com>
Tue, 22 Sep 2015 23:16:12 +0000 (16:16 -0700)
commit127da9e4aa78d4e26484db2a8daa3f05d90e27fa
treeb0910a976b0770986b65b03cb59b1b96dd2e2a91
parent9412efdc1b9f54e1bc8df3ea3e8e34b7d899cc70
Use md5sum as the build.ninja filename suffix if the suffix gets too long.

Use md5sum as the build.ninja filename suffix if the suffix is longer
than 64 characters. Also store the original suffix in a corresponding
.suf file for human lookup.
This fixes the "File name too long" error when kati tries to write to
build.ninja with the long original suffix.

Bug: 24302576
Change-Id: Ie04b0c14e1a9d593aa5c2a6b357b19a9e8a7158e
core/config.mk
core/ninja.mk