xref: /aosp_15_r20/art/test/075-verification-error/Android.bp (revision 795d594fd825385562da6b089ea9b2033f3abf5a)
1*795d594fSAndroid Build Coastguard Worker// Generated by `regen-test-files`. Do not edit manually.
2*795d594fSAndroid Build Coastguard Worker
3*795d594fSAndroid Build Coastguard Worker// Build rules for ART run-test `075-verification-error`.
4*795d594fSAndroid Build Coastguard Worker
5*795d594fSAndroid Build Coastguard Workerpackage {
6*795d594fSAndroid Build Coastguard Worker    // See: http://go/android-license-faq
7*795d594fSAndroid Build Coastguard Worker    // A large-scale-change added 'default_applicable_licenses' to import
8*795d594fSAndroid Build Coastguard Worker    // all of the 'license_kinds' from "art_license"
9*795d594fSAndroid Build Coastguard Worker    // to get the below license kinds:
10*795d594fSAndroid Build Coastguard Worker    //   SPDX-license-identifier-Apache-2.0
11*795d594fSAndroid Build Coastguard Worker    default_applicable_licenses: ["art_license"],
12*795d594fSAndroid Build Coastguard Worker}
13*795d594fSAndroid Build Coastguard Worker
14*795d594fSAndroid Build Coastguard Worker// Library with src/ sources for the test.
15*795d594fSAndroid Build Coastguard Workerjava_library {
16*795d594fSAndroid Build Coastguard Worker    name: "art-run-test-075-verification-error-src",
17*795d594fSAndroid Build Coastguard Worker    defaults: ["art-run-test-defaults"],
18*795d594fSAndroid Build Coastguard Worker    srcs: ["src/**/*.java"],
19*795d594fSAndroid Build Coastguard Worker}
20*795d594fSAndroid Build Coastguard Worker
21*795d594fSAndroid Build Coastguard Worker// Test's Dex code.
22*795d594fSAndroid Build Coastguard Workerjava_test {
23*795d594fSAndroid Build Coastguard Worker    name: "art-run-test-075-verification-error",
24*795d594fSAndroid Build Coastguard Worker    defaults: ["art-run-test-defaults"],
25*795d594fSAndroid Build Coastguard Worker    test_config_template: ":art-run-test-target-template",
26*795d594fSAndroid Build Coastguard Worker    srcs: ["src2/**/*.java"],
27*795d594fSAndroid Build Coastguard Worker    static_libs: [
28*795d594fSAndroid Build Coastguard Worker        "art-run-test-075-verification-error-src",
29*795d594fSAndroid Build Coastguard Worker    ],
30*795d594fSAndroid Build Coastguard Worker    data: [
31*795d594fSAndroid Build Coastguard Worker        ":art-run-test-075-verification-error-expected-stdout",
32*795d594fSAndroid Build Coastguard Worker        ":art-run-test-075-verification-error-expected-stderr",
33*795d594fSAndroid Build Coastguard Worker    ],
34*795d594fSAndroid Build Coastguard Worker    test_suites: [
35*795d594fSAndroid Build Coastguard Worker        "mts-art",
36*795d594fSAndroid Build Coastguard Worker    ],
37*795d594fSAndroid Build Coastguard Worker}
38*795d594fSAndroid Build Coastguard Worker
39*795d594fSAndroid Build Coastguard Worker// Test's expected standard output.
40*795d594fSAndroid Build Coastguard Workergenrule {
41*795d594fSAndroid Build Coastguard Worker    name: "art-run-test-075-verification-error-expected-stdout",
42*795d594fSAndroid Build Coastguard Worker    out: ["art-run-test-075-verification-error-expected-stdout.txt"],
43*795d594fSAndroid Build Coastguard Worker    srcs: ["expected-stdout.txt"],
44*795d594fSAndroid Build Coastguard Worker    cmd: "cp -f $(in) $(out)",
45*795d594fSAndroid Build Coastguard Worker}
46*795d594fSAndroid Build Coastguard Worker
47*795d594fSAndroid Build Coastguard Worker// Test's expected standard error.
48*795d594fSAndroid Build Coastguard Workergenrule {
49*795d594fSAndroid Build Coastguard Worker    name: "art-run-test-075-verification-error-expected-stderr",
50*795d594fSAndroid Build Coastguard Worker    out: ["art-run-test-075-verification-error-expected-stderr.txt"],
51*795d594fSAndroid Build Coastguard Worker    srcs: ["expected-stderr.txt"],
52*795d594fSAndroid Build Coastguard Worker    cmd: "cp -f $(in) $(out)",
53*795d594fSAndroid Build Coastguard Worker}
54