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 | |
Bob Badour | 9150de6 | 2021-02-26 03:22:24 -0800 | [diff] [blame] | 15 | package { |
| 16 | // See: http://go/android-license-faq |
| 17 | // A large-scale-change added 'default_applicable_licenses' to import |
| 18 | // all of the 'license_kinds' from "art_license" |
| 19 | // to get the below license kinds: |
| 20 | // SPDX-license-identifier-Apache-2.0 |
| 21 | default_applicable_licenses: ["art_license"], |
| 22 | } |
| 23 | |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 24 | art_cc_binary { |
| 25 | name: "dexlist", |
Andreas Gampe | 70dfb69 | 2018-09-18 16:50:18 -0700 | [diff] [blame] | 26 | defaults: ["art_defaults"], |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 27 | host_supported: true, |
| 28 | srcs: ["dexlist.cc"], |
David Sehr | 1f01016 | 2018-05-15 08:59:32 -0700 | [diff] [blame] | 29 | shared_libs: [ |
| 30 | "libdexfile", |
| 31 | "libartbase", |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 32 | "libbase", |
David Sehr | 1f01016 | 2018-05-15 08:59:32 -0700 | [diff] [blame] | 33 | ], |
Jiyong Park | 066dd902 | 2019-12-19 02:11:59 +0000 | [diff] [blame] | 34 | apex_available: [ |
Martin Stjernholm | 3e9abfc | 2020-10-09 22:17:51 +0100 | [diff] [blame] | 35 | "com.android.art", |
Jiyong Park | 066dd902 | 2019-12-19 02:11:59 +0000 | [diff] [blame] | 36 | "com.android.art.debug", |
| 37 | ], |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 38 | } |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 39 | |
David Sehr | 9d9227a | 2018-12-19 12:32:50 -0800 | [diff] [blame] | 40 | art_cc_binary { |
| 41 | name: "dexlists", |
| 42 | defaults: [ |
| 43 | "art_defaults", |
| 44 | "libartbase_static_defaults", |
| 45 | "libdexfile_static_defaults", |
| 46 | ], |
| 47 | host_supported: true, |
| 48 | srcs: ["dexlist.cc"], |
| 49 | device_supported: false, |
| 50 | target: { |
| 51 | darwin: { |
| 52 | enabled: false, |
| 53 | }, |
| 54 | windows: { |
| 55 | enabled: true, |
| 56 | }, |
| 57 | }, |
| 58 | } |
| 59 | |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 60 | art_cc_test { |
| 61 | name: "art_dexlist_tests", |
| 62 | defaults: [ |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 63 | "art_gtest_defaults", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 64 | ], |
| 65 | srcs: ["dexlist_test.cc"], |
Yo Chiang | 169dfb4 | 2020-08-07 04:22:18 +0000 | [diff] [blame] | 66 | target: { |
| 67 | host: { |
| 68 | required: ["dexlist"], |
| 69 | }, |
| 70 | }, |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 71 | } |