Jordan Liu | c872fad | 2019-10-11 11:42:03 -0700 | [diff] [blame] | 1 | // Copyright 2019 The Android Open Source Project |
| 2 | |
| 3 | android_app { |
| 4 | name: "CellBroadcastServiceModule", |
| 5 | srcs: [ |
| 6 | "src/**/*.java", |
| 7 | ":framework-cellbroadcast-shared-srcs", |
| 8 | ], |
| 9 | libs: ["telephony-common"], |
| 10 | platform_apis: true, |
| 11 | certificate: "platform", |
| 12 | privileged: true, |
| 13 | resource_dirs: ["res"], |
Jordan Liu | c872fad | 2019-10-11 11:42:03 -0700 | [diff] [blame] | 14 | optimize: { |
| 15 | proguard_flags_files: ["proguard.flags"], |
| 16 | }, |
| 17 | } |
Chen Xu | 682dc6b | 2019-10-20 15:54:06 -0700 | [diff] [blame] | 18 | |
Chen Xu | 6027979 | 2019-11-06 14:40:32 -0800 | [diff] [blame] | 19 | // used to share common constants between cellbroadcastservice and cellbroadcastreceier |
Chen Xu | 682dc6b | 2019-10-20 15:54:06 -0700 | [diff] [blame] | 20 | filegroup { |
| 21 | name: "cellbroadcast-constants-shared-srcs", |
| 22 | srcs: [ |
| 23 | "src/com/android/cellbroadcastservice/SmsCbConstants.java", |
| 24 | ], |
Chen Xu | 6027979 | 2019-11-06 14:40:32 -0800 | [diff] [blame] | 25 | } |
| 26 | |
| 27 | // used to share src with unit test app |
| 28 | filegroup { |
| 29 | name: "cellbroadcast-shared-srcs", |
| 30 | srcs: [ |
| 31 | "src/**/*.java", |
| 32 | ":framework-cellbroadcast-shared-srcs", |
| 33 | ], |
| 34 | } |