Add explicit dependencies on jni_headers

Preparation for removing implicit include paths for jni.h from soong.

Bug: 152482542
Test: lunch aosp_x86_64 && m checkbuild
Change-Id: Ib36e679819a3309ccbf12fd592309b16c8bbd6c8
main
Orion Hodson 2020-04-03 12:45:16 +01:00
parent 2e60c56ea9
commit 54c4f2afb5
2 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,7 @@ cc_defaults {
"-Wno-unused-function",
],
header_libs: ["jni_headers"],
local_include_dirs: ["src"],
// TODO
include_dirs: ["packages/inputmethods/LatinIME/native/jni/src"],

View File

@ -130,6 +130,7 @@ cc_library {
"-Wno-unused-parameter",
"-Wno-unused-function",
],
header_libs: ["jni_headers"],
local_include_dirs: ["src"],
srcs: [
@ -167,6 +168,7 @@ cc_library_static {
"-Wall",
"-Werror",
],
header_libs: ["jni_headers"],
local_include_dirs: ["src"],
sdk_version: "14",
stl: "libc++_static",