Alex Light | 9527e3d | 2019-07-30 10:36:36 -0700 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2019 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 | // Build variants {target,host} x {debug,ndebug} x {32,64} |
| 18 | cc_defaults { |
| 19 | name: "listextensions-defaults", |
| 20 | host_supported: true, |
| 21 | srcs: ["list-extensions.cc"], |
| 22 | defaults: ["art_defaults"], |
| 23 | |
| 24 | // Note that this tool needs to be built for both 32-bit and 64-bit since it requires |
| 25 | // to be same ISA as what it is attached to. |
| 26 | compile_multilib: "both", |
| 27 | |
| 28 | shared_libs: [ |
| 29 | "libbase", |
| 30 | ], |
| 31 | header_libs: [ |
| 32 | "libopenjdkjvmti_headers", |
| 33 | ], |
Alex Light | 9527e3d | 2019-07-30 10:36:36 -0700 | [diff] [blame] | 34 | } |
| 35 | |
| 36 | art_cc_library { |
| 37 | name: "liblistextensions", |
| 38 | defaults: ["listextensions-defaults"], |
| 39 | } |
| 40 | |
| 41 | art_cc_library { |
| 42 | name: "liblistextensionsd", |
| 43 | defaults: [ |
| 44 | "art_debug_defaults", |
| 45 | "listextensions-defaults", |
| 46 | ], |
| 47 | } |