commit | 34cc69e4bf36cb65bb181b42ccb0f8c792a32cfb | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Wed Sep 23 15:26:20 2015 -0700 |
committer | Dan Willemsen <dwillemsen@google.com> | Wed Dec 09 14:29:12 2015 -0800 |
tree | ecaff919037e29033fa9b3bbfb33baa8e93196cf | |
parent | fafa3dc7e267675610a34b0c335be350eb30936d [diff] |
Use `Path` instead of string for file paths This centralizes verification and common operations, like converting the path to a source file to the path for a built object. It also embeds the configuration knowledge into the path, so that we can remove "${SrcDir}/path" from the ninja file. When SrcDir is '.', that leads to paths like './path' instead of just 'path' like make is doing, causing differences in compiled binaries. Change-Id: Ib4e8910a6e867ce1b7b420d927c04f1142a7589e