OSDN Git Service

Fix broken dependencies with the layers.txt files.
authorJoe Onorato <joeo@google.com>
Fri, 26 Oct 2012 23:25:05 +0000 (16:25 -0700)
committerJoe Onorato <joeo@google.com>
Fri, 26 Oct 2012 23:38:14 +0000 (16:38 -0700)
commit9a6a326ccd975af6aa27f5d4043dfd04d85f9c16
tree9f53ae51f2ce21df967199c9308ad78332a5ed9b
parentdaf5e22dbac03e174e22c8209ed97c44c3a2a2c9
Fix broken dependencies with the layers.txt files.

When a device java module was using the layers.txt files, and that device java module depenended on
a host java module, when building the host java module, the layer checker tried to run and would
fail, complaining about the host module.

The problem was that since the value wasn't set for the host module, it would be inherited from its
dependent module (a make "feature") and would cause the layer checker to run.  So this change makes
it explicitly set PRIVATE_JAVA_LAYERS_FILE for host java modules too.

Change-Id: Ifbc085295d0995a2da5d6d63d8cb379ef2631cc4
core/host_java_library.mk