build: Add build arguments for libhardware and core dirs
This patch adds GN arguments to add libhardware and core library include
paths in a generic manner.
Example args.gn file:
libhw_include_path = "../../libhardware/include"
core_include_path = "../../core/include"
Also introduced in this CL is the "OS_GENERIC" preprocessor define, that
will allow us to conditionally compile Android-specific vs generic code
until we shed the Android-specific dependencies.
BUG=21339022
Change-Id: I42b1cc501738653a6e886a0365c9cbef2e9a525e
2 files changed