summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp30
1 files changed, 4 insertions, 26 deletions
diff --git a/Android.bp b/Android.bp
index 0d92caf..07923d7 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,26 +1,5 @@
-// Copyright (C) 2011 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.
-
-package {
- default_visibility: ["//visibility:private"],
-}
-
java_test {
name: "apache-harmony-tests",
- visibility: [
- "//cts/tests/libcore/luni",
- ],
hostdex: true,
srcs: [
"beans/src/test/java/**/*.java",
@@ -46,15 +25,14 @@ java_test {
"sql/src/test/resources",
"support/src/test/resources",
],
- sdk_version: "none",
- system_modules: "core-all-system-modules",
+ no_standard_libs: true,
libs: [
+ "core-all",
"junit",
],
- static_libs: [
- "core-tests-support",
- ],
+ system_modules: "core-all-system-modules",
javacflags: ["-Xmaxwarns 9999999"],
+ jarjar_rules: "jarjar-rules.txt",
// Pin java_version until jarjar is certified to support later versions. http://b/72703434
java_version: "1.8",