OSDN Git Service

binary: Allow specifying a path for generated proto headers
authorRicardo Cerqueira <ricardo@cyngn.com>
Mon, 25 Jan 2016 16:49:27 +0000 (16:49 +0000)
committerSteve Kondik <steve@cyngn.com>
Sun, 4 Sep 2016 04:47:36 +0000 (21:47 -0700)
commitf8530d6bc61d5f5c26617300c6584ca57a6f3917
treedb8face527c50400e25a01603300ba3839aafa0e
parent5fef4c48a860cd088d3c5731c4c4063356c4b2c0
binary: Allow specifying a path for generated proto headers

protobuf compilation defaults to dropping the generated objects and
headers onto a path derived from the origin source path. This poses
a problem with some of our repositories since they're not placed in
their original paths, and may include hard references to pb headers
assuming the original directory.

Typical use of this will be to place a

LOCAL_PROTOC_OUTPUT := <original repo path>

line in the relevant module block (for example, "hardware/ril" for our
"hardware/ril-caf")

Change-Id: Ib9b0cadd47e29a0d2e693b331cfc18e71b048ee5
core/binary.mk
core/clear_vars.mk