//
// Copyright (C) 2016 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

// TODO: this header library depends on libart. Find a way to express that.
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "art_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["art_license"],
}

cc_library_headers {
    name: "art_cmdlineparser_headers",
    defaults: ["art_defaults"],
    host_supported: true,
    export_include_dirs: ["."],

    apex_available: [
        "com.android.art.debug",
        "com.android.art",
    ],
}

art_cc_defaults {
    name: "art_cmdline_tests_defaults",
    tidy_timeout_srcs: ["cmdline_parser_test.cc"],
    srcs: ["cmdline_parser_test.cc"],
}

// Version of ART gtest `art_cmdline_tests` bundled with the ART APEX on target.
// TODO(b/192274705): Remove this module when the migration to standalone ART gtests is complete.
art_cc_test {
    name: "art_cmdline_tests",
    defaults: [
        "art_gtest_defaults",
        "art_cmdline_tests_defaults",
    ],
}

// Standalone version of ART gtest `art_cmdline_tests`, not bundled with the ART APEX on target.
art_cc_test {
    name: "art_standalone_cmdline_tests",
    defaults: [
        "art_standalone_gtest_defaults",
        "art_cmdline_tests_defaults",
    ],
}
