Updated buffet and attestation to use platform2.gyp

When building platform2, platform2-9999.ebuild used to invoke
platform2.py from src/platform/common-mk/ which caused some issues
for native platform targets such as platform2/attestation and
platform2/buffet.
Now that all the necessary platform2 build files are moved into
src/platform2/common-mk/, platform2.gyp, plaform2.py and
platform2-9999.ebuild have been updated to treat platform2 as the
correct root dir for platform2 target, with additional component
source files pulled from src/platform (e.g. shill, chaps,...)
When platform2.py invokes 'gyp' it now passes 'chromeos/src' as the
root dir through --depth parameter, so that both src/platform and
src/platfotm2 targets can be referenced as equals.

BUG=chromium:358237
TEST=cros_workon_make chromeos-base/platform2 --test
     build_packages
     emerge-link platform2
     USE=buffet emerge-link platform2
CQ-DEPEND=CL:193681

Change-Id: I84a6cbc118582628bbb6a4ff157d37a66b804b40
Reviewed-on: https://chromium-review.googlesource.com/194116
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
1 file changed
tree: 9c70aa4dd56c681f1f82a51a25db950245d530c2
  1. buffet/