Colin Cross | c7376e0 | 2016-09-08 12:52:18 -0700 | [diff] [blame] | 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 | |
| 17 | cc_defaults { |
| 18 | name: "profman-defaults", |
| 19 | host_supported: true, |
| 20 | defaults: ["art_defaults"], |
| 21 | srcs: [ |
| 22 | "profman.cc", |
| 23 | "profile_assistant.cc", |
| 24 | ], |
| 25 | |
| 26 | target: { |
| 27 | android: { |
| 28 | compile_multilib: "prefer32", |
| 29 | }, |
| 30 | }, |
| 31 | |
| 32 | include_dirs: [ |
| 33 | "art/cmdline", |
| 34 | ], |
| 35 | } |
| 36 | |
| 37 | art_cc_binary { |
| 38 | name: "profman", |
| 39 | defaults: ["profman-defaults"], |
| 40 | shared_libs: [ |
| 41 | "libart", |
| 42 | ], |
| 43 | } |
| 44 | |
| 45 | art_cc_binary { |
| 46 | name: "profmand", |
| 47 | defaults: [ |
| 48 | "profman-defaults", |
| 49 | "art_debug_defaults", |
| 50 | ], |
| 51 | shared_libs: [ |
| 52 | "libartd", |
| 53 | ], |
| 54 | } |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 55 | |
| 56 | art_cc_test { |
| 57 | name: "art_profman_tests", |
| 58 | defaults: [ |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame^] | 59 | "art_gtest_defaults", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 60 | ], |
| 61 | srcs: ["profile_assistant_test.cc"], |
| 62 | } |