summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Harshit Mahajan <harshitmahajan@google.com> 2024-10-10 22:52:08 +0000
committer Harshit Mahajan <harshitmahajan@google.com> 2024-10-10 22:52:08 +0000
commitb0ec6da6af0b53940d93ed6981dba83e98f99883 (patch)
treeb01bb388e3f2b05fe3b09f80bf56f25d9a08e7b6
parentbb1810c42836b98c24ce49cb636700f7f8441d46 (diff)
Remove separate framework crashrecovery filegroups
We will have a single filegroup that would be used in both: 1. framework platform crashrecovery jar 2. framework crashrecovery jar in apex. We will control the jar being used behind the build flag. Bug: 289203818 Test: TH Flag: build.release_crashrecovery_module Change-Id: I104ca9b6f1150feee9f5952b596c2b6fd0eb8774
-rw-r--r--packages/CrashRecovery/framework/Android.bp57
1 files changed, 8 insertions, 49 deletions
diff --git a/packages/CrashRecovery/framework/Android.bp b/packages/CrashRecovery/framework/Android.bp
index 9480327253f4..1be776d07674 100644
--- a/packages/CrashRecovery/framework/Android.bp
+++ b/packages/CrashRecovery/framework/Android.bp
@@ -1,53 +1,12 @@
-soong_config_module_type {
- name: "platform_filegroup",
- module_type: "filegroup",
- config_namespace: "ANDROID",
- bool_variables: [
- "crashrecovery_files_in_platform",
- ],
- properties: [
- "srcs",
- ],
-}
-
-platform_filegroup {
+filegroup {
name: "framework-crashrecovery-sources",
- soong_config_variables: {
- // if this flag is enabled, then files are part of platform
- crashrecovery_files_in_platform: {
- srcs: [
- "java/**/*.java",
- "java/**/*.aidl",
- ],
- },
- },
- path: "java",
- visibility: ["//frameworks/base:__subpackages__"],
-}
-
-soong_config_module_type {
- name: "module_filegroup",
- module_type: "filegroup",
- config_namespace: "ANDROID",
- bool_variables: [
- "crashrecovery_files_in_module",
- ],
- properties: [
- "srcs",
+ srcs: [
+ "java/**/*.java",
+ "java/**/*.aidl",
],
-}
-
-module_filegroup {
- name: "framework-crashrecovery-module-sources",
- soong_config_variables: {
- // if this flag is enabled, then files are part of module
- crashrecovery_files_in_module: {
- srcs: [
- "java/**/*.java",
- "java/**/*.aidl",
- ],
- },
- },
path: "java",
- visibility: ["//packages/modules/CrashRecovery/framework"],
+ visibility: [
+ "//frameworks/base:__subpackages__",
+ "//packages/modules/CrashRecovery/framework",
+ ],
}