Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 1 | // Copyright (C) 2015 The Android Open Source Project |
| 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 | |
| 15 | art_cc_binary { |
| 16 | name: "dexlist", |
Andreas Gampe | 70dfb69 | 2018-09-18 16:50:18 -0700 | [diff] [blame] | 17 | defaults: ["art_defaults"], |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 18 | host_supported: true, |
| 19 | srcs: ["dexlist.cc"], |
David Sehr | 1f01016 | 2018-05-15 08:59:32 -0700 | [diff] [blame] | 20 | shared_libs: [ |
| 21 | "libdexfile", |
| 22 | "libartbase", |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 23 | "libbase", |
David Sehr | 1f01016 | 2018-05-15 08:59:32 -0700 | [diff] [blame] | 24 | ], |
Jiyong Park | 066dd902 | 2019-12-19 02:11:59 +0000 | [diff] [blame] | 25 | apex_available: [ |
| 26 | "com.android.art.release", |
| 27 | "com.android.art.debug", |
| 28 | ], |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 29 | } |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 30 | |
David Sehr | 9d9227a | 2018-12-19 12:32:50 -0800 | [diff] [blame] | 31 | art_cc_binary { |
| 32 | name: "dexlists", |
| 33 | defaults: [ |
| 34 | "art_defaults", |
| 35 | "libartbase_static_defaults", |
| 36 | "libdexfile_static_defaults", |
| 37 | ], |
| 38 | host_supported: true, |
| 39 | srcs: ["dexlist.cc"], |
| 40 | device_supported: false, |
| 41 | target: { |
| 42 | darwin: { |
| 43 | enabled: false, |
| 44 | }, |
| 45 | windows: { |
| 46 | enabled: true, |
| 47 | }, |
| 48 | }, |
| 49 | } |
| 50 | |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 51 | art_cc_test { |
| 52 | name: "art_dexlist_tests", |
| 53 | defaults: [ |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 54 | "art_gtest_defaults", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 55 | ], |
| 56 | srcs: ["dexlist_test.cc"], |
David Srbecky | 2280b53 | 2020-05-27 00:30:44 +0100 | [diff] [blame] | 57 | required: ["dexlist"], |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 58 | } |