File tree Expand file tree Collapse file tree 3 files changed +40
-2
lines changed Expand file tree Collapse file tree 3 files changed +40
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ exports_files(["LICENSE"])
22
33MANIFEST = "src/main/AndroidManifest.xml"
44
5+ MANIFEST_DEBUG = "src/main/AndroidManifestDebug.xml"
6+
57PACKAGE = "com.afwsamples.testdpc"
68
79aar_import (
@@ -85,6 +87,19 @@ android_binary(
8587 ],
8688)
8789
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+
88103android_library (
89104 name = "testdpc_lib" ,
90105 srcs = glob (["src/main/java/**/*.java" ]),
Original file line number Diff line number Diff line change 6969 <uses-feature android : name =" android.hardware.wifi" android : required =" false" />
7070 <uses-feature android : name =" android.hardware.touchscreen" android : required =" false" />
7171
72- <!-- TODO(b/201271137): Add non-testOnly build config. -->
73- <!-- NOTE: android:testOnly will be stripped by build.gradle (stripTestOnlyForBuild()) -->
7472 <application
7573 android : allowBackup =" true"
7674 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