Skip to content

Commit 3972979

Browse files
Googlera-maurice
authored andcommitted
Add support for "data" attribute to cc_test_on_android rule.
Previously, data was being passed on only to the cc_binary rule, and not to the android_test, which wasn't sufficient. This also required adding READ_EXTERNAL_STORAGE permission for tests built with cc_test_on_android, since that permission is needed for accessing test runfiles. PiperOrigin-RevId: 256110232
1 parent 3d09133 commit 3972979

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testing/templates/ActivityManifest.xml.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
android:versionCode="1"
55
android:versionName="1.0.0">
66
<uses-sdk android:targetSdkVersion="25" android:minSdkVersion="14" />
7+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
78
<application
89
android:allowBackup="false"
910
android:label=".$activity_name">

0 commit comments

Comments
 (0)