1// Copyright (C) 2017 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// 16// This is the shared library included by the JNI test app. 17// 18 19package { 20 default_applicable_licenses: ["Android-Apache-2.0"], 21} 22 23cc_test_library { 24 name: "libjvmtiattachingtestagent1", 25 gtest: false, 26 srcs: ["agent.c"], 27 sdk_version: "current", 28 cflags: [ 29 "-Wall", 30 "-Werror", 31 "-Wno-unused-parameter", 32 "-DAGENT_NR=1", 33 ], 34 header_libs: ["jni_headers"], 35} 36 37cc_test_library { 38 name: "libjvmtiattachingtestagent2", 39 gtest: false, 40 srcs: ["agent.c"], 41 sdk_version: "current", 42 cflags: [ 43 "-Wall", 44 "-Werror", 45 "-Wno-unused-parameter", 46 "-DAGENT_NR=2", 47 ], 48 header_libs: ["jni_headers"], 49} 50 51cc_test_library { 52 name: "libjvmtiattachingtestagent3", 53 gtest: false, 54 srcs: ["agent.c"], 55 sdk_version: "current", 56 cflags: [ 57 "-Wall", 58 "-Werror", 59 "-Wno-unused-parameter", 60 "-DAGENT_NR=3", 61 ], 62 header_libs: ["jni_headers"], 63} 64 65cc_test_library { 66 name: "libjvmtiattachingtestagent4", 67 gtest: false, 68 srcs: ["agent.c"], 69 sdk_version: "current", 70 cflags: [ 71 "-Wall", 72 "-Werror", 73 "-Wno-unused-parameter", 74 "-DAGENT_NR=4", 75 ], 76 header_libs: ["jni_headers"], 77} 78