solenv: add COMPILER_EXTERNAL_TOOL
COMPILER_PLUGIN_TOOL has two effects: 1) It makes LinkTarget aware that no object code will be generated by the compiler (as the compiler is just a tool, not a real compiler), so e.g. it's expected that no dependency output will be generated. 2) It puts some of the clang plugins into rewriter mode. When using some external compiler tool (like a wrapper around clang-rename), then 1) is wanted, but not 2), i.e. getting rid of the dependency generation part is wanted, but none of the rewriter plugins should be activated. So add COMPILER_EXTERNAL_TOOL that does 1) without 2). Change-Id: I83c21da5763a62d654f93c574d89573cdc7c2138
Showing
Please
register
or
sign in
to comment