Comment 60 for bug 1476261

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/37892
Committed: http://github.com/Juniper/contrail-build/commit/a66d27c439df28de6096a1233d6bef4f9b020718
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit a66d27c439df28de6096a1233d6bef4f9b020718
Author: Krzysztof Klimonda <email address hidden>
Date: Fri Aug 25 12:53:04 2017 +0200

Extend SandeshGenCpp to generate additional source files

Some targets (e.g. contrail-query-engine) depend on
_request_skeleton.cpp source files, but even though those files are
generated, SandeshGenCpp does not register them with Scons.
Additionally, other targets provide their own implementation of the
autogenerated stub methods, and for them we have to skip adding extra
dependencies.

Expand SandeshGenCpp so that it can be passed an optional argument,
specyfying a list of extra files to add to the Scons dependency system.

Partial-Bug: #1476261
Change-Id: I5f1515ac6a536d03f41449d04802ac7b3525d555
(cherry picked from commit 44188cc63d220a66c58e04ee7665983cf51bfee6)