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

Commit 8a55a7b4 authored by Baligh Uddin's avatar Baligh Uddin
Browse files

Prepare to extract apex/media to packages/modules/Media

- Use Android-Apache-2.0 as default license.

- Adding visibility to non-existing path is there for post-migration
  path [ which currently does not exist ] -- it is not a build error
  to add non-existent paths to visibility.

BUG: 171106157
Test: Local build and TH
Change-Id: I4adea9da4df8f6ae51b9849dfd6a30bf22e28637
parent 08bb4076
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -18,11 +18,7 @@ package {
        "//frameworks/av/apex/testing",
    ],
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
    default_applicable_licenses: ["Android-Apache-2.0"],
}

sdk {
+1 −5
Original line number Diff line number Diff line
@@ -16,11 +16,7 @@

package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
    default_applicable_licenses: ["Android-Apache-2.0"],
}

filegroup {
+2 −5
Original line number Diff line number Diff line
@@ -14,11 +14,7 @@

package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
    default_applicable_licenses: ["Android-Apache-2.0"],
}

java_library {
@@ -65,6 +61,7 @@ java_library {
        "//frameworks/av/apex:__subpackages__",
        "//frameworks/base/apex/media/service",
        "//frameworks/base/api", // For framework-all
        "//packages/modules/Media/apex/service",
    ],
}

+1 −5
Original line number Diff line number Diff line
@@ -13,11 +13,7 @@
// limitations under the License.
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
    default_applicable_licenses: ["Android-Apache-2.0"],
}

filegroup {