Alex Light | 3979571 | 2017-12-14 11:58:21 -0800 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2017 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 | |
| 19 | cc_defaults { |
| 20 | name: "dt_fd_forward-defaults", |
| 21 | host_supported: true, |
| 22 | srcs: ["dt_fd_forward.cc"], |
| 23 | defaults: ["art_defaults"], |
| 24 | |
| 25 | // Note that this tool needs to be built for both 32-bit and 64-bit since it needs to be same |
| 26 | // ISA as what it is attached to. |
| 27 | compile_multilib: "both", |
| 28 | |
| 29 | shared_libs: [ |
| 30 | "libbase", |
| 31 | ], |
| 32 | target: { |
| 33 | android: { |
| 34 | }, |
| 35 | host: { |
| 36 | }, |
Alex Light | c7547c3 | 2017-12-20 08:05:06 -0800 | [diff] [blame] | 37 | darwin: { |
| 38 | enabled: false, |
| 39 | }, |
Alex Light | 3979571 | 2017-12-14 11:58:21 -0800 | [diff] [blame] | 40 | }, |
| 41 | header_libs: [ |
| 42 | "javavm_headers", |
| 43 | "dt_fd_forward_export", |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 44 | "art_libartbase_headers", // For strlcpy emulation. |
Alex Light | 3979571 | 2017-12-14 11:58:21 -0800 | [diff] [blame] | 45 | ], |
Alex Light | 3979571 | 2017-12-14 11:58:21 -0800 | [diff] [blame] | 46 | } |
| 47 | |
| 48 | art_cc_library { |
| 49 | name: "libdt_fd_forward", |
| 50 | defaults: ["dt_fd_forward-defaults"], |
Jiyong Park | 066dd902 | 2019-12-19 02:11:59 +0000 | [diff] [blame] | 51 | apex_available: [ |
| 52 | "com.android.art.release", |
| 53 | "com.android.art.debug", |
| 54 | ], |
Alex Light | 3979571 | 2017-12-14 11:58:21 -0800 | [diff] [blame] | 55 | } |
| 56 | |
| 57 | art_cc_library { |
| 58 | name: "libdt_fd_forwardd", |
| 59 | defaults: [ |
| 60 | "art_debug_defaults", |
| 61 | "dt_fd_forward-defaults", |
| 62 | ], |
| 63 | } |