aboutsummaryrefslogtreecommitdiffstats
path: root/manifmerger/tests/src/com/android/manifmerger/data/32_uses_sdk_minsdk_ok.xml
blob: b94efe80be64b70435a1442c3efbe7f9416b100c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#
# Test uses-sdk: it's ok for a library to have a smaller minSdkVersion than the main manifest.
#

@main

<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.app1"
    android:versionCode="100"
    android:versionName="1.0.0">

    <uses-sdk android:minSdkVersion="14" />

    <application />

</manifest>


@lib1

<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.lib1">

    <!-- it's ok for a library to have a smaller minSdkVersion than the main manifest. -->
    <uses-sdk android:minSdkVersion="4" />

</manifest>


@lib2

<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.lib2">

    <uses-sdk android:minSdkVersion="10" />

</manifest>


@lib3

<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.lib3">

    <uses-sdk android:minSdkVersion="11" />

</manifest>


@result

<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.app1"
    android:versionCode="100"
    android:versionName="1.0.0">

    <uses-sdk android:minSdkVersion="14" />

    <application />

</manifest>


@errors