diff options
Diffstat (limited to 'benchmark/Android.bp')
| -rw-r--r-- | benchmark/Android.bp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/benchmark/Android.bp b/benchmark/Android.bp index d781f84e1e..c7f9f6b1da 100644 --- a/benchmark/Android.bp +++ b/benchmark/Android.bp @@ -51,6 +51,7 @@ art_cc_library { // TODO(ngeoffray): find a way to link against the libraries in the apex. shared_libs: [ "libart", + "libartbase", "libbase", ], } @@ -82,3 +83,30 @@ art_cc_library { }, }, } + +art_cc_library { + name: "libgolemtiagent", + host_supported: true, + defaults: ["art_defaults"], + srcs: [ + "golem-tiagent/golem-tiagent.cc", + ], + target: { + // This has to be duplicated for android and host to make sure it + // comes after the -Wframe-larger-than warnings inserted by art.go + // target-specific properties + android: { + cflags: ["-Wno-frame-larger-than="], + }, + host: { + cflags: ["-Wno-frame-larger-than="], + }, + }, + header_libs: [ + "libnativehelper_header_only", + "libopenjdkjvmti_headers" + ], + shared_libs: [ + "libbase", + ], +} |