summaryrefslogtreecommitdiff
path: root/tests/testapp/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testapp/Android.bp')
-rw-r--r--tests/testapp/Android.bp20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/testapp/Android.bp b/tests/testapp/Android.bp
index 0624356fd..62d6f6fed 100644
--- a/tests/testapp/Android.bp
+++ b/tests/testapp/Android.bp
@@ -12,6 +12,17 @@
// See the License for the specific language governing permissions and
// 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 "packages_apps_CellBroadcastReceiver_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: [
+ "packages_apps_CellBroadcastReceiver_license",
+ ],
+}
+
android_test {
name: "CellBroadcastReceiverTests",
// We only want this apk build for tests.
@@ -34,3 +45,12 @@ android_test {
certificate: "platform",
instrumentation_for: "CellBroadcastApp",
}
+
+// used to share src with sl4a test app
+filegroup {
+ name: "cellbroadcast-shared-with-sl4a",
+ srcs: [
+ "src/com/android/cellbroadcastreceiver/tests/SendTestMessages.java",
+ "src/com/android/cellbroadcastreceiver/tests/GsmSmsCbMessage.java",
+ ],
+}