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