OSDN Git Service

Add Header Library support to Make
authorDan Willemsen <dwillemsen@google.com>
Wed, 15 Feb 2017 23:48:11 +0000 (15:48 -0800)
committerDan Willemsen <dwillemsen@google.com>
Thu, 16 Feb 2017 00:04:49 +0000 (16:04 -0800)
commit8dae49c5e11c380e03e95e5b265efd913425e543
treecffe4023a442e7a3aa828e7bcbc4cf4471d3a437
parent74dcb9feb326e665c63fe26249cfa14f54afe06b
Add Header Library support to Make

We currently use static libraries without any source files to represent
header libraries, but Soong actually has cc_library_headers. So to
export those in a separate namespace from static libraries, implement
them in Make as well.

This also adds a nice pretty-warning / pretty-error macro that can be
used to print out standard warning messages pointing to the real source
file having the problem.

Test: Use a header library exported by Soong in a Make module
Change-Id: I3486539e247524cb82a20620745fc7be03014e14
core/base_rules.mk
core/binary.mk
core/clear_vars.mk
core/config.mk
core/definitions.mk
core/envsetup.mk
core/header_library.mk [new file with mode: 0644]
core/header_library_internal.mk [new file with mode: 0644]
core/notice_files.mk