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} 26 27cc_library_headers { 28 name: "art_cmdlineparser_headers", 29 defaults: ["art_defaults"], 30 host_supported: true, 31 export_include_dirs: ["."], 32 33 apex_available: [ 34 "com.android.art.debug", 35 "com.android.art", 36 ], 37} 38 39art_cc_defaults { 40 name: "art_cmdline_tests_defaults", 41 tidy_timeout_srcs: ["cmdline_parser_test.cc"], 42 srcs: ["cmdline_parser_test.cc"], 43} 44 45// Version of ART gtest `art_cmdline_tests` bundled with the ART APEX on target. 46// TODO(b/192274705): Remove this module when the migration to standalone ART gtests is complete. 47art_cc_test { 48 name: "art_cmdline_tests", 49 defaults: [ 50 "art_gtest_defaults", 51 "art_cmdline_tests_defaults", 52 ], 53} 54 55// Standalone version of ART gtest `art_cmdline_tests`, not bundled with the ART APEX on target. 56art_cc_test { 57 name: "art_standalone_cmdline_tests", 58 defaults: [ 59 "art_standalone_gtest_defaults", 60 "art_cmdline_tests_defaults", 61 ], 62} 63