Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

packages-services-Analytics: Commit

packages/services/Analytics


Commit MetaInfo

Révision7bafa6f36919c75289690f10a0f855c32f590453 (tree)
l'heure2019-03-21 17:52:31
AuteurChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Message de Log

Utils: convert Android.mk to Android.bp

Since the framework.jar has been changed to use Android.bp,
we need to change analytics-utils to Android.bp as well.

Change Summary

Modification

--- a/Android.mk
+++ /dev/null
@@ -1,17 +0,0 @@
1-#
2-# Copyright (C) 2016 Jide Technology Ltd.
3-#
4-# Licensed under the Apache License, Version 2.0 (the "License");
5-# you may not use this file except in compliance with the License.
6-# You may obtain a copy of the License at
7-#
8-# http://www.apache.org/licenses/LICENSE-2.0
9-#
10-# Unless required by applicable law or agreed to in writing, software
11-# distributed under the License is distributed on an "AS IS" BASIS,
12-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-# See the License for the specific language governing permissions and
14-# limitations under the License.
15-#
16-
17-include $(call all-subdir-makefiles)
--- /dev/null
+++ b/Utils/Android.bp
@@ -0,0 +1,16 @@
1+// Utilities for Android-x86 Analytics
2+//
3+// Copyright (C) 2016-2019 Android-x86 Open Source Project
4+//
5+// Licensed under the Apache License, Version 2.0 (the "License");
6+// you may not use this file except in compliance with the License.
7+// You may obtain a copy of the License at
8+//
9+// http://www.apache.org/licenses/LICENSE-2.0
10+
11+java_library_static {
12+ name: "analytics-utils",
13+ no_framework_libs: true,
14+ srcs: ["src/**/*.java"],
15+ sdk_version: "current",
16+}
--- a/Utils/Android.mk
+++ /dev/null
@@ -1,13 +0,0 @@
1-# Utilities for Android-x86 Analytics
2-
3-LOCAL_PATH := $(call my-dir)
4-
5-include $(CLEAR_VARS)
6-
7-LOCAL_SRC_FILES := $(call all-subdir-java-files)
8-
9-LOCAL_MODULE := analytics-utils
10-LOCAL_MODULE_TAGS := optional
11-LOCAL_SDK_VERSION := $(PLATFORM_SDK_VERSION)
12-
13-include $(BUILD_STATIC_JAVA_LIBRARY)
Afficher sur ancien navigateur de dépôt.