blob: 10984ed009f8afae9d0bf7687abfad07ce54f216 [file] [log] [blame]
Chris Wailesbefdad42021-01-12 16:37:57 -08001//
2// Copyright (C) 2021 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
Bob Badour9150de62021-02-26 03:22:24 -080017package {
18 // See: http://go/android-license-faq
19 // A large-scale-change added 'default_applicable_licenses' to import
20 // all of the 'license_kinds' from "art_license"
21 // to get the below license kinds:
22 // SPDX-license-identifier-Apache-2.0
23 default_applicable_licenses: ["art_license"],
24}
25
Chris Wailesbefdad42021-01-12 16:37:57 -080026cc_library {
27 // This library contains low-level interfaces used to call dex2oat and
28 // related tools. It will translate structured messages into command line
29 // arguments. This will allow other libraries or programs besides the ART
30 // Service to make use of this functionality.
31
32 name: "libarttools",
33 host_supported: true,
34 srcs: [
35 "tools/tools.cc",
36 ],
37 export_include_dirs: ["."],
38 apex_available: [
39 "com.android.art",
40 "com.android.art.debug",
41 ],
42 shared_libs: [
43 "libbase",
44 ],
45 export_shared_lib_headers: ["libbase"],
46}
Chris Wailesbfd622a2021-01-13 16:13:41 -080047
48art_cc_test {
49 name: "art_libarttools_tests",
50 defaults: [
51 "art_gtest_defaults",
52 ],
53 srcs: [
54 "tools/tools_test.cc",
55 ],
56 shared_libs: [
57 "libbase",
58 "libarttools",
59 ],
60}