Commit ed8f4a8 1 parent 62a9f6e commit ed8f4a8 Copy full SHA for ed8f4a8
File tree 3 files changed +40
-2
lines changed
3 files changed +40
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ exports_files(["LICENSE"])
2
2
3
3
MANIFEST = "src/main/AndroidManifest.xml"
4
4
5
+ MANIFEST_DEBUG = "src/main/AndroidManifestDebug.xml"
6
+
5
7
PACKAGE = "com.afwsamples.testdpc"
6
8
7
9
aar_import (
@@ -85,6 +87,19 @@ android_binary(
85
87
],
86
88
)
87
89
90
+ android_binary (
91
+ name = "testdpc_debug" ,
92
+ custom_package = PACKAGE ,
93
+ dexopts = [
94
+ "--force-jumbo" ,
95
+ ],
96
+ manifest = MANIFEST_DEBUG ,
97
+ multidex = "native" ,
98
+ deps = [
99
+ ":testdpc_lib" ,
100
+ ],
101
+ )
102
+
88
103
android_library (
89
104
name = "testdpc_lib" ,
90
105
srcs = glob (["src/main/java/**/*.java" ]),
Original file line number Diff line number Diff line change 69
69
<uses-feature android : name =" android.hardware.wifi" android : required =" false" />
70
70
<uses-feature android : name =" android.hardware.touchscreen" android : required =" false" />
71
71
72
- <!-- TODO(b/201271137): Add non-testOnly build config. -->
73
- <!-- NOTE: android:testOnly will be stripped by build.gradle (stripTestOnlyForBuild()) -->
74
72
<application
75
73
android : allowBackup =" true"
76
74
android : icon =" @drawable/ic_launcher"
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ Copyright (C) 2024 The Android Open Source Project
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
16
+ -->
17
+
18
+ <manifest xmlns : android =" http://schemas.android.com/apk/res/android"
19
+ xmlns : tools =" http://schemas.android.com/tools"
20
+ package =" com.afwsamples.testdpc" >
21
+ <uses-sdk android : minSdkVersion =" 21" android : targetSdkVersion =" 34" />
22
+ <application
23
+ android : testOnly =" true" >
24
+ </application >
25
+ </manifest >
You can’t perform that action at this time.
0 commit comments