diff options
author | Paul Duffin <paulduffin@google.com> | 2019-07-16 12:39:15 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-07-16 12:39:15 -0700 |
commit | 87aa160a30a831b0c7aea66084241d272bade3b6 (patch) | |
tree | 5ccedc69e914f5d108ad20277cf522492f5f98ba | |
parent | 45b3fa3febc80a0c71fdea6c9e1924dc5de0e52c (diff) | |
parent | 10651f8690b0f6da8485bdbf0ff32b417504b396 (diff) | |
download | apache-harmony-87aa160a30a831b0c7aea66084241d272bade3b6.tar.gz |
Merge "Set default visibility to private"
am: 10651f8690
Change-Id: I9bc4a6cf571fac91cdd2a8d9c305b18b0d76998c
-rw-r--r-- | Android.bp | 21 | ||||
-rw-r--r-- | jdwp/Android.bp | 6 |
2 files changed, 27 insertions, 0 deletions
@@ -1,5 +1,26 @@ +// 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", diff --git a/jdwp/Android.bp b/jdwp/Android.bp index 4f921ef..999af88 100644 --- a/jdwp/Android.bp +++ b/jdwp/Android.bp @@ -9,6 +9,12 @@ java_genrule { java_test { name: "apache-harmony-jdwp-tests", + visibility: [ + "//cts/tests/jdwp", + // The preload2 tool in framework uses the JDWP tests from Apache Harmony, for + // convenience (and to not depend on internal JDK APIs). + "//frameworks/base/tools/preload2", + ], hostdex: true, host_supported: true, srcs: ["src/test/java/**/*.java"], |