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

Commit b720291b authored by satayev's avatar satayev
Browse files

Add systemserverclasspath_fragment.

Note that the contents of the fragment are added as dependencies to an
apex, so there is no need to duplicate them in java_libs.

Bug: 180105615
Test: atest CtsClasspathsTestCases
Change-Id: Ie4732ee602983047859b29b939585a3f716d5bdc
parent 551a988b
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -25,9 +25,7 @@ apex {
    name: "com.android.appsearch",
    manifest: "apex_manifest.json",
    bootclasspath_fragments: ["com.android.appsearch-bootclasspath-fragment"],
    java_libs: [
        "service-appsearch",
    ],
    systemserverclasspath_fragments: ["com.android.appsearch-systemserverclasspath-fragment"],
    key: "com.android.appsearch.key",
    certificate: ":com.android.appsearch.certificate",
    updatable: false,
@@ -52,3 +50,10 @@ bootclasspath_fragment {
    contents: ["framework-appsearch"],
    apex_available: ["com.android.appsearch"],
}

// Encapsulate the contributions made by the com.android.appsearch to the systemserverclasspath.
systemserverclasspath_fragment {
    name: "com.android.appsearch-systemserverclasspath-fragment",
    contents: ["service-appsearch"],
    apex_available: ["com.android.appsearch"],
}