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 19cc_test_library { 20 name: "libjvmtiattachingtestagent1", 21 gtest: false, 22 srcs: ["agent.c"], 23 sdk_version: "current", 24 cflags: [ 25 "-Wall", 26 "-Werror", 27 "-Wno-unused-parameter", 28 "-DAGENT_NR=1", 29 ], 30 header_libs: ["jni_headers"], 31} 32 33cc_test_library { 34 name: "libjvmtiattachingtestagent2", 35 gtest: false, 36 srcs: ["agent.c"], 37 sdk_version: "current", 38 cflags: [ 39 "-Wall", 40 "-Werror", 41 "-Wno-unused-parameter", 42 "-DAGENT_NR=2", 43 ], 44 header_libs: ["jni_headers"], 45} 46 47cc_test_library { 48 name: "libjvmtiattachingtestagent3", 49 gtest: false, 50 srcs: ["agent.c"], 51 sdk_version: "current", 52 cflags: [ 53 "-Wall", 54 "-Werror", 55 "-Wno-unused-parameter", 56 "-DAGENT_NR=3", 57 ], 58 header_libs: ["jni_headers"], 59} 60 61cc_test_library { 62 name: "libjvmtiattachingtestagent4", 63 gtest: false, 64 srcs: ["agent.c"], 65 sdk_version: "current", 66 cflags: [ 67 "-Wall", 68 "-Werror", 69 "-Wno-unused-parameter", 70 "-DAGENT_NR=4", 71 ], 72 header_libs: ["jni_headers"], 73} 74