Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2440980 authored by Muhammad Qureshi's avatar Muhammad Qureshi Committed by Android (Google) Code Review
Browse files

Merge "Add visibility property to framework-statsd stubs"

parents 59e09ca5 974f4e83
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
    default_visibility: [ ":__pkg__" ]
}

genrule {
    name: "statslog-statsd-java-gen",
    tools: ["stats-log-api-gen"],
@@ -25,6 +29,9 @@ java_library_static {
    srcs: [
        ":statslog-statsd-java-gen",
    ],
    visibility: [
        "//cts/hostsidetests/statsd/apps:__subpackages__",
    ]
}

filegroup {
@@ -34,6 +41,9 @@ filegroup {
        ":framework-statsd-aidl-sources",
        ":statslog-statsd-java-gen",
    ],
    visibility: [
        "//frameworks/base", // For the "global" stubs.
    ],
}

java_defaults {
@@ -139,6 +149,10 @@ java_library {
        "framework-statsd-defaults",
    ],
    srcs: [ ":framework-statsd-stubs-srcs-publicapi" ],
    visibility: [
        "//frameworks/base", // Framework
        "//frameworks/base/apex/statsd", // statsd apex
    ]
}

java_library {
@@ -147,6 +161,10 @@ java_library {
        "framework-statsd-defaults",
    ],
    srcs: [ ":framework-statsd-stubs-srcs-systemapi" ],
    visibility: [
        "//frameworks/base", // Framework
        "//frameworks/base/apex/statsd", // statsd apex
    ]
}

java_library {
@@ -155,4 +173,9 @@ java_library {
        "framework-statsd-defaults",
    ],
    srcs: [ ":framework-statsd-stubs-srcs-module_libs_api" ],
    visibility: [
        "//frameworks/base", // Framework
        "//frameworks/base/apex/statsd", // statsd apex
        "//frameworks/opt/net/wifi/service" // wifi service
    ]
}