1// Copyright 2018 Google Inc. All rights reserved. 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 15package { 16 // See: http://go/android-license-faq 17 // A large-scale-change added 'default_applicable_licenses' to import 18 // all of the 'license_kinds' from "art_license" 19 // to get the below license kinds: 20 // SPDX-license-identifier-Apache-2.0 21 default_applicable_licenses: ["art_license"], 22} 23 24// --- ahat.jar ---------------- 25java_binary_host { 26 name: "ahat", 27 visibility: [ 28 "//libcore/metrictests/memory/host", 29 ], 30 wrapper: "ahat.sh", 31 srcs: ["src/main/**/*.java"], 32 manifest: "etc/ahat.mf", 33 java_resources: ["etc/style.css"], 34 javacflags: ["-Xdoclint:all/protected"], 35} 36 37// --- ahat-test-dump.jar -------------- 38java_test_helper_library { 39 name: "ahat-test-dump", 40 srcs: ["src/test-dump/**/*.java"], 41 sdk_version: "core_platform", 42 optimize: { 43 obfuscate: true, 44 enabled: true, 45 proguard_flags_files: ["etc/test-dump.pro"], 46 }, 47} 48 49// --- ahat-ri-test-dump.jar ------- 50java_test_helper_library { 51 host_supported: true, 52 device_supported: false, 53 name: "ahat-ri-test-dump", 54 srcs: ["src/ri-test-dump/**/*.java"], 55} 56