| // Generated by `regen-test-files`. Do not edit manually. |
| |
| // Build rules for ART run-test `024-illegal-access`. |
| |
| 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"], |
| } |
| |
| // Library with src/ sources for the test. |
| java_library { |
| name: "art-run-test-024-illegal-access-src", |
| defaults: ["art-run-test-defaults"], |
| srcs: ["src/**/*.java"], |
| } |
| |
| // Test's Dex code. |
| java_test { |
| name: "art-run-test-024-illegal-access", |
| defaults: ["art-run-test-defaults"], |
| test_config_template: ":art-run-test-target-template", |
| srcs: ["src2/**/*.java"], |
| static_libs: [ |
| "art-run-test-024-illegal-access-src" |
| ], |
| data: [ |
| ":art-run-test-024-illegal-access-expected-stdout", |
| ":art-run-test-024-illegal-access-expected-stderr", |
| ], |
| } |
| |
| // Test's expected standard output. |
| genrule { |
| name: "art-run-test-024-illegal-access-expected-stdout", |
| out: ["art-run-test-024-illegal-access-expected-stdout.txt"], |
| srcs: ["expected-stdout.txt"], |
| cmd: "cp -f $(in) $(out)", |
| } |
| |
| // Test's expected standard error. |
| genrule { |
| name: "art-run-test-024-illegal-access-expected-stderr", |
| out: ["art-run-test-024-illegal-access-expected-stderr.txt"], |
| srcs: ["expected-stderr.txt"], |
| cmd: "cp -f $(in) $(out)", |
| } |