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

Commit f428975c authored by Anton Hansson's avatar Anton Hansson
Browse files

Fix framework-graphics stub jar build rules

The stub jars need to be building against module_current rather than
the mix of SDKs they were building against before. Remove the
sdk_version declarations and start inheriting the defaults which
specifies the correct sdk_version (among other things).

Bug: 144149403
Test: m
Change-Id: If96fab6926f6f46855169189e40503d6c5ab128b
parent 3264563e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -247,7 +247,7 @@ droidstubs {
java_library {
    name: "framework-graphics-stubs-module_libs_api",
    srcs: [":framework-graphics-stubs-srcs-module_libs_api"],
    sdk_version: "system_current",
    defaults: ["framework-module-stubs-lib-defaults-module_libs_api"],
    visibility: [
        "//frameworks/base", // Framework
        "//frameworks/base/libs/hwui", // UI-rendering module
@@ -257,7 +257,7 @@ java_library {
java_library {
    name: "framework-graphics-stubs-publicapi",
    srcs: [":framework-graphics-stubs-srcs-publicapi"],
    sdk_version: "current",
    defaults: ["framework-module-stubs-lib-defaults-publicapi"],
    visibility: [
        "//frameworks/base", // Framework
        "//frameworks/base/libs/hwui", // UI-rendering module
@@ -267,7 +267,7 @@ java_library {
java_library {
    name: "framework-graphics-stubs-systemapi",
    srcs: [":framework-graphics-stubs-srcs-systemapi"],
    sdk_version: "system_current",
    defaults: ["framework-module-stubs-lib-defaults-systemapi"],
    visibility: [
        "//frameworks/base", // Framework
        "//frameworks/base/libs/hwui", // UI-rendering module