1// 2// Copyright (C) 2016 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// TODO: this header library depends on libart. Find a way to express that. 18package { 19 // See: http://go/android-license-faq 20 // A large-scale-change added 'default_applicable_licenses' to import 21 // all of the 'license_kinds' from "art_license" 22 // to get the below license kinds: 23 // SPDX-license-identifier-Apache-2.0 24 default_applicable_licenses: ["art_license"], 25 default_team: "trendy_team_art_performance", 26} 27 28cc_library_headers { 29 name: "art_cmdlineparser_headers", 30 defaults: ["art_defaults"], 31 host_supported: true, 32 export_include_dirs: ["."], 33 34 apex_available: [ 35 "com.android.art.debug", 36 "com.android.art", 37 ], 38} 39 40art_cc_defaults { 41 name: "art_cmdline_tests_defaults", 42 tidy_timeout_srcs: ["cmdline_parser_test.cc"], 43 srcs: ["cmdline_parser_test.cc"], 44} 45 46// Version of ART gtest `art_cmdline_tests` bundled with the ART APEX on target. 47// TODO(b/192274705): Remove this module when the migration to standalone ART gtests is complete. 48art_cc_test { 49 name: "art_cmdline_tests", 50 defaults: [ 51 "art_gtest_defaults", 52 "art_cmdline_tests_defaults", 53 ], 54} 55 56// Standalone version of ART gtest `art_cmdline_tests`, not bundled with the ART APEX on target. 57art_cc_test { 58 name: "art_standalone_cmdline_tests", 59 defaults: [ 60 "art_standalone_gtest_defaults", 61 "art_cmdline_tests_defaults", 62 ], 63} 64