1// 2// Copyright (C) 2016 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17cc_defaults { 18 name: "profman-defaults", 19 host_supported: true, 20 defaults: ["art_defaults"], 21 srcs: [ 22 "boot_image_profile.cc", 23 "profman.cc", 24 "profile_assistant.cc", 25 ], 26 27 target: { 28 android: { 29 compile_multilib: "prefer32", 30 }, 31 }, 32 33 shared_libs: [ 34 "libbase", 35 ], 36} 37 38art_cc_binary { 39 name: "profman", 40 defaults: ["profman-defaults"], 41 shared_libs: [ 42 "libart", 43 "libdexfile", 44 ], 45} 46 47art_cc_binary { 48 name: "profmand", 49 defaults: [ 50 "art_debug_defaults", 51 "profman-defaults", 52 ], 53 shared_libs: [ 54 "libartd", 55 "libdexfiled", 56 ], 57} 58 59art_cc_test { 60 name: "art_profman_tests", 61 defaults: [ 62 "art_gtest_defaults", 63 ], 64 srcs: ["profile_assistant_test.cc"], 65} 66