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