Skip to content
Snippets Groups Projects
Commit 97369f8d authored by Anton Hansson's avatar Anton Hansson
Browse files

Rename framework and service jars

Name them framework-* and service-* instead of *-(framework|service).
This matches the proposal in go/android-apex-for-framework.

Test: treehugger
Change-Id: I16754a5f08e002a8bc8862b11281f12cc6c8739f
parent af30a90e
No related branches found
No related tags found
No related merge requests found
......@@ -255,6 +255,7 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/DefaultContainerSer
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/CaptivePortalLogin)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/framework/ext.jar)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/telephony/java/com/google/android/mms)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/framework/*-service.jar)
# ******************************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST ABOVE THIS BANNER
# ******************************************************************
......@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
java_library {
name: "appsearch-service",
name: "service-appsearch",
installable: true,
srcs: [
"java/**/*.java",
......
......@@ -13,7 +13,7 @@
// limitations under the License.
java_library {
name: "blobstore-service",
name: "service-blobstore",
installable: true,
srcs: [
......@@ -24,4 +24,4 @@ java_library {
"framework",
"services.core",
],
}
\ No newline at end of file
}
......@@ -2,14 +2,14 @@
## Current structure
- JS service side classes are put in `jobscheduler-service.jar`.
- JS service side classes are put in `service-jobscheduler.jar`.
It's *not* included in services.jar, and instead it's put in the system server classpath,
which currently looks like the following:
`SYSTEMSERVERCLASSPATH=/system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/com.android.location.provider.jar:/system/framework/jobscheduler-service.jar`
`SYSTEMSERVERCLASSPATH=/system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/com.android.location.provider.jar:/system/framework/service-jobscheduler.jar`
`SYSTEMSERVERCLASSPATH` is generated from `PRODUCT_SYSTEM_SERVER_JARS`.
- JS framework side classes are put in `jobscheduler-framework.jar`,
- JS framework side classes are put in `framework-jobscheduler.jar`,
and the rest of the framework code is put in `framework-minus-apex.jar`,
as of http://ag/9145619.
......
......@@ -11,7 +11,7 @@ filegroup {
}
java_library {
name: "jobscheduler-framework",
name: "framework-jobscheduler",
installable: false,
compile_dex: true,
sdk_version: "core_platform",
......
// Job Scheduler Service jar, which will eventually be put in the jobscheduler mainline apex.
// jobscheduler-service needs to be added to PRODUCT_SYSTEM_SERVER_JARS.
// service-jobscheduler needs to be added to PRODUCT_SYSTEM_SERVER_JARS.
java_library {
name: "jobscheduler-service",
name: "service-jobscheduler",
installable: true,
srcs: [
......
// Statsd Service jar, which will eventually be put in the statsd mainline apex.
// statsd-service needs to be added to PRODUCT_SYSTEM_SERVER_JARS.
// service-statsd needs to be added to PRODUCT_SYSTEM_SERVER_JARS.
// This jar will contain StatsCompanionService
java_library {
name: "statsd-service",
name: "service-statsd",
installable: true,
srcs: [
......@@ -13,4 +13,4 @@ java_library {
"framework",
"services.core",
],
}
\ No newline at end of file
}
......@@ -20,7 +20,7 @@ android_test {
static_libs: [
"services.core",
"services.net",
"jobscheduler-service",
"service-jobscheduler",
"androidx.test.runner",
"mockito-target-extended-minus-junit4",
"platform-test-annotations",
......
......@@ -41,7 +41,7 @@ android_test {
"hamcrest-library",
"servicestests-utils",
"xml-writer-device-lib",
"jobscheduler-service",
"service-jobscheduler",
],
aidl: {
......
......@@ -19,7 +19,7 @@ android_test {
"androidx.test.rules",
"apct-perftests-utils",
"services",
"jobscheduler-service",
"service-jobscheduler",
],
platform_apis: true,
certificate: "platform",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment