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

Commit f20f181c authored by Jiyong Park's avatar Jiyong Park
Browse files

glob pattern is used for AIDL files under frameworks/base

This change removes the manullay curated list of AIDL files and replace
them with globs.

In addition, framework-aidl-mappings no longer sets frameworks-defaults
to its src property, but instead uses the several variables like
framework_srcs, framework_aidl_local_include_dirs, etc. to get the
same files/dirs list as the framework.

The variables will eventually be replaced with filegroups when aidl
include paths are better handled (i.e. 'path' property of all filegroups
for a module contributes to the AIDL include paths for all AIDL files in
the module).

Bug: 70046217
Test: m

Merged-In: I59728ed06d66d44bc19bcd8530042c01add5fc2b
(cherry picked from commit 1cc9566e)
Change-Id: I59728ed06d66d44bc19bcd8530042c01add5fc2b
parent ba28a3a5
Loading
Loading
Loading
Loading
+111 −689

File changed.

Preview size limit exceeded, changes collapsed.

+4 −2
Original line number Original line Diff line number Diff line
@@ -19,6 +19,8 @@ java_sdk_library {
    srcs: ["java/**/*.java"],
    srcs: ["java/**/*.java"],
    api_packages: ["com.android.location.provider"],
    api_packages: ["com.android.location.provider"],
    srcs_lib: "framework",
    srcs_lib: "framework",
    srcs_lib_whitelist_dirs: ["location/java"],
    // TODO(b/70046217): remove core/java and android below. It was added to provide definitions for
    srcs_lib_whitelist_pkgs: ["com.android.internal.location"],
    // types like android.os.Bundle
    srcs_lib_whitelist_dirs: ["core/java", "location/java"],
    srcs_lib_whitelist_pkgs: ["android", "com.android.internal.location"],
}
}