diff options
author | Alex Vakulenko <avakulenko@chromium.org> | 2014-04-08 14:38:00 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-04-15 03:49:13 +0000 |
commit | 5aa26b1f4ed8c7f77e54d1390af8c58e9478e71e (patch) | |
tree | 44cbbb87a2d8376031f85c81f11d78f63f742b19 /licensing | |
parent | 60741c70ded3fddf18ba4b4ac1f7f40a57d92f36 (diff) | |
download | chromite-5aa26b1f4ed8c7f77e54d1390af8c58e9478e71e.tar.gz |
Bringing buildbot in line with platform2 source file restructuring
Platform2 sources are now contained in either src/platform or
src/platform2 directories. ebuilds were changed to treat sources
in both locations equally. This CL makes similar changes to the
Portage utilites when building using a buildbot. Sources for
projects in 'chromeos-base' category are considered rooted at
|srcroot| by default and |subdirs| containing relative paths
to directories such as platform/shill and platform2/buffet.
However non-platform2 targets haven't been updated yet and assume
that their sources reside under src/platform. So here we try
to see if the folder |srcroot|+|subdir| exists, and if not,
fall back to the legacy |srcroot|+'platform/'+|subdir|.
Once this is done, the previous logic can be restored and we
can default |dir_| to 'platform2'
BUG=chromium:358237
TEST=chromite/bin/cbuildbot --remote -g <CL_ID> x86-mario-paladin
CQ-DEPEND=CL:194116,CL:192433
Change-Id: Ifbb1de623f0f21e56fd0df1c189b174167050ece
Reviewed-on: https://chromium-review.googlesource.com/193681
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
Diffstat (limited to 'licensing')
0 files changed, 0 insertions, 0 deletions