1<?xml version="1.0" encoding="utf-8"?> 2 3<!-- Copyright (C) 2009 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<!--Defines the list of test code coverage targets for core android platform 19 Intent is to list all modules that are present in a typical 'user' build 20 21 TODO: auto-generate this file from build 22 23 Expected syntax in this file is 24 <coverage_targets> 25 <coverage_target name type build_path 26 [<src path=""/>] (0..*) 27 >/coverage_target> 28 29 Where 30 name - unique name of Android target 31 type - one of JAVA_LIBRARIES,APPS 32 build_path - path to build directory for this module, relative to android 33 source tree root 34 src - optional sub-elements. Contains complete set of source code locations 35 for target, relative to build_path. If not present, assumes valeu of "src" 36 37 38--> 39 40<coverage_targets> 41 <!-- Java libs --> 42 <coverage_target name="framework" type="JAVA_LIBRARIES" 43 build_path="frameworks/base"> 44 <src path="core/java" /> 45 <src path="graphics/java" /> 46 <src path="im/java" /> 47 <src path="location/java" /> 48 <src path="media/java" /> 49 <src path="opengl/java" /> 50 <src path="sax/java" /> 51 <src path="telephony/java" /> 52 <src path="wifi/java" /> 53 </coverage_target> 54 <coverage_target name="android.test.runner" 55 build_path="frameworks/base/test-runner" type="JAVA_LIBRARIES" /> 56 57 <!-- apps --> 58 <coverage_target name="ApiDemos" build_path="development/samples/ApiDemos" 59 type="APPS" /> 60 <coverage_target name="Calculator" build_path="packages/apps/Calculator" 61 type="APPS" /> 62 <coverage_target name="Calendar" build_path="packages/apps/Calendar" 63 type="APPS" /> 64 <coverage_target name="Camera" build_path="packages/apps/Camera" 65 type="APPS" /> 66 <coverage_target name="Contacts" build_path="packages/apps/Contacts" 67 type="APPS" /> 68 <coverage_target name="DeskClock" build_path="packages/apps/DeskClock" 69 type="APPS" /> 70 <coverage_target name="Dialer" build_path="packages/apps/Dialer" 71 type="APPS" /> 72 <coverage_target name="Email" build_path="packages/apps/Email" 73 type="APPS" /> 74 <coverage_target name="Exchange" build_path="packages/apps/Exchange" 75 type="APPS" /> 76 <coverage_target name="Settings" build_path="packages/apps/Settings" 77 type="APPS" /> 78 <coverage_target name="Phone" build_path="packages/apps/Phone" 79 type="APPS" /> 80 <coverage_target name="QuickSearchBox" build_path="packages/apps/QuickSearchBox" 81 type="APPS" /> 82 <coverage_target name="Launcher2" build_path="packages/apps/Launcher2" 83 type="APPS" /> 84 <coverage_target name="Mms" build_path="packages/apps/Mms" type="APPS" /> 85 <coverage_target name="Music" build_path="packages/apps/Music" 86 type="APPS" /> 87 <coverage_target name="SystemUI" build_path="frameworks/base/packages/SystemUI" 88 type="APPS" /> 89 <coverage_target name="VoiceDialer" build_path="packages/apps/VoiceDialer" 90 type="APPS" /> 91 92 <!-- content providers --> 93 <coverage_target name="CalendarProvider" 94 build_path="packages/providers/CalendarProvider" type="APPS" /> 95 <coverage_target name="ContactsProvider" 96 build_path="packages/providers/ContactsProvider" type="APPS" /> 97 <coverage_target name="DownloadProvider" 98 build_path="packages/providers/DownloadProvider" type="APPS" /> 99 <coverage_target name="DrmProvider" build_path="packages/providers/drm" 100 type="APPS" /> 101 <coverage_target name="MediaProvider" 102 build_path="packages/providers/MediaProvider" type="APPS" /> 103 <coverage_target name="SettingsProvider" 104 build_path="frameworks/base/packages/SettingsProvider" type="APPS" /> 105 <coverage_target name="TelephonyProvider" 106 build_path="packages/providers/telephony" type="APPS" /> 107 108 <!-- input methods --> 109 <coverage_target name="LatinIME" build_path="packages/inputmethods/LatinIME" 110 type="APPS" /> 111 112</coverage_targets> 113