Chris Banes | e17c519 | 2016-06-01 13:36:05 +0100 | [diff] [blame] | 1 | ///////////////////////////// |
| 2 | // |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 3 | // Buildscript utils |
| 4 | // |
| 5 | ///////////////////////////// |
| 6 | |
| 7 | |
| 8 | // Calling includeProject(name, filePath) is shorthand for: |
| 9 | // |
| 10 | // include(name) |
| 11 | // project(name).projectDir = new File(filePath) |
| 12 | // |
| 13 | // Note that <name> directly controls the Gradle project name, and also indirectly sets: |
| 14 | // the project name in the IDE |
| 15 | // the Maven artifactId |
| 16 | // |
| 17 | def includeProject(name, filePath) { |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 18 | settings.include(name) |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 19 | |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 20 | def file |
| 21 | if (filePath instanceof String) { |
| 22 | file = new File(filePath) |
| 23 | } else { |
| 24 | file = filePath |
| 25 | } |
| 26 | project(name).projectDir = file |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 27 | } |
| 28 | |
| 29 | |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 30 | ///////////////////////////// |
| 31 | // |
Chris Banes | e17c519 | 2016-06-01 13:36:05 +0100 | [diff] [blame] | 32 | // Libraries |
| 33 | // |
| 34 | ///////////////////////////// |
| 35 | |
Aurimas Liutikas | b7b47a1 | 2018-03-14 17:10:10 -0700 | [diff] [blame] | 36 | includeProject(":annotation", "annotations") |
Aurimas Liutikas | caf9845 | 2018-06-06 16:16:44 -0700 | [diff] [blame] | 37 | includeProject(":appcompat", "appcompat") |
Aurimas Liutikas | 4a107ca | 2018-04-26 13:41:59 -0700 | [diff] [blame] | 38 | includeProject(":arch:core-common", "app-toolkit/common") |
| 39 | includeProject(":arch:core-testing", "app-toolkit/core-testing") |
| 40 | includeProject(":arch:core-runtime", "app-toolkit/runtime") |
Aurimas Liutikas | 9064fa4 | 2018-02-13 15:17:37 -0800 | [diff] [blame] | 41 | includeProject(":asynclayoutinflater", "asynclayoutinflater") |
Aurimas Liutikas | b7b47a1 | 2018-03-14 17:10:10 -0700 | [diff] [blame] | 42 | includeProject(":browser", "browser") |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 43 | includeProject(":car", "car") |
Jake Wharton | e94ca66 | 2018-03-09 09:50:16 -0500 | [diff] [blame] | 44 | includeProject(":cardview", "cardview") |
Jake Wharton | 3f4d91b | 2018-03-08 12:23:52 -0500 | [diff] [blame] | 45 | includeProject(":collection", "collection") |
Jake Wharton | b9b8af24 | 2018-03-15 16:54:55 -0400 | [diff] [blame] | 46 | includeProject(":collection-ktx", "collection/ktx") |
Filip Pavlis | 4805884 | 2018-05-03 17:49:59 +0100 | [diff] [blame] | 47 | includeProject(":contentpager", "content") |
Aurimas Liutikas | d4219a7 | 2018-02-08 16:00:17 -0800 | [diff] [blame] | 48 | includeProject(":coordinatorlayout", "coordinatorlayout") |
Aurimas Liutikas | b7b47a1 | 2018-03-14 17:10:10 -0700 | [diff] [blame] | 49 | includeProject(":core", "compat") |
Jake Wharton | 6889aa5 | 2018-03-28 16:04:32 -0400 | [diff] [blame] | 50 | includeProject(":core-ktx", "core/ktx") |
Aurimas Liutikas | fa72a48 | 2018-02-21 11:48:48 -0800 | [diff] [blame] | 51 | includeProject(":cursoradapter", "cursoradapter") |
Aurimas Liutikas | 2ffc579 | 2018-02-09 17:17:47 -0800 | [diff] [blame] | 52 | includeProject(":customview", "customview") |
Aurimas Liutikas | 9d274e1 | 2018-02-13 17:57:56 -0800 | [diff] [blame] | 53 | includeProject(":documentfile", "documentfile") |
Aurimas Liutikas | 629ed7f | 2018-02-12 14:47:46 -0800 | [diff] [blame] | 54 | includeProject(":drawerlayout", "drawerlayout") |
Aurimas Liutikas | b7b47a1 | 2018-03-14 17:10:10 -0700 | [diff] [blame] | 55 | includeProject(":dynamicanimation", "dynamic-animation") |
| 56 | includeProject(":emoji", "emoji/core") |
| 57 | includeProject(":emoji-bundled", "emoji/bundled") |
| 58 | includeProject(":emoji-appcompat", "emoji/appcompat") |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 59 | includeProject(":exifinterface", "exifinterface") |
Aurimas Liutikas | b7b47a1 | 2018-03-14 17:10:10 -0700 | [diff] [blame] | 60 | includeProject(":fragment", "fragment") |
| 61 | includeProject(":fragment-ktx", "fragment/ktx") |
Jake Wharton | e94ca66 | 2018-03-09 09:50:16 -0500 | [diff] [blame] | 62 | includeProject(":gridlayout", "gridlayout") |
Chong Zhang | 7cabcac | 2018-01-25 16:18:44 -0800 | [diff] [blame] | 63 | includeProject(":heifwriter", "heifwriter") |
Aurimas Liutikas | 368a8e5 | 2018-02-13 09:55:20 -0800 | [diff] [blame] | 64 | includeProject(":interpolator", "interpolator") |
Jeff Gaston | a2208ae | 2018-01-29 17:48:21 -0500 | [diff] [blame] | 65 | includeProject(":jetifier-core", "jetifier/jetifier/core") |
Filip Pavlis | 4a360e3 | 2018-03-23 18:42:42 +0000 | [diff] [blame] | 66 | includeProject(":jetifier-processor", "jetifier/jetifier/processor") |
Jeff Gaston | a2208ae | 2018-01-29 17:48:21 -0500 | [diff] [blame] | 67 | includeProject(":jetifier-gradle-plugin", "jetifier/jetifier/gradle-plugin") |
| 68 | includeProject(":jetifier-standalone", "jetifier/jetifier/standalone") |
| 69 | includeProject(":jetifier-preprocessor", "jetifier/jetifier/preprocessor") |
Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 70 | includeProject(":leanback", "leanback") |
Aurimas Liutikas | b7b47a1 | 2018-03-14 17:10:10 -0700 | [diff] [blame] | 71 | includeProject(":leanback-preference", "leanback-preference") |
Aurimas Liutikas | 4a107ca | 2018-04-26 13:41:59 -0700 | [diff] [blame] | 72 | includeProject(":lifecycle:integration-tests:testapp", "lifecycle/integration-tests/testapp") |
| 73 | includeProject(":lifecycle:lifecycle-common", "lifecycle/common") |
| 74 | includeProject(":lifecycle:lifecycle-common-java8", "lifecycle/common-java8") |
| 75 | includeProject(":lifecycle:lifecycle-compiler", "lifecycle/compiler") |
| 76 | includeProject(":lifecycle:lifecycle-extensions", "lifecycle/extensions") |
| 77 | includeProject(":lifecycle:lifecycle-livedata-core", "lifecycle/livedata-core") |
| 78 | includeProject(":lifecycle:lifecycle-livedata", "lifecycle/livedata") |
| 79 | includeProject(":lifecycle:lifecycle-process", "lifecycle/process") |
| 80 | includeProject(":lifecycle:lifecycle-reactivestreams", "lifecycle/reactivestreams") |
Ian Lake | 3fde41c | 2018-05-07 09:11:44 -0700 | [diff] [blame] | 81 | includeProject(":lifecycle:lifecycle-reactivestreams-ktx", "lifecycle/reactivestreams/ktx") |
Aurimas Liutikas | 4a107ca | 2018-04-26 13:41:59 -0700 | [diff] [blame] | 82 | includeProject(":lifecycle:lifecycle-runtime", "lifecycle/runtime") |
| 83 | includeProject(":lifecycle:lifecycle-service", "lifecycle/service") |
| 84 | includeProject(":lifecycle:lifecycle-viewmodel", "lifecycle/viewmodel") |
Ian Lake | ab56489 | 2018-05-07 08:32:17 -0700 | [diff] [blame] | 85 | includeProject(":lifecycle:lifecycle-viewmodel-ktx", "lifecycle/viewmodel/ktx") |
Ian Lake | 2e77297 | 2018-02-16 16:22:47 -0800 | [diff] [blame] | 86 | includeProject(":loader", "loader") |
Aurimas Liutikas | 9c9c464 | 2018-02-13 18:26:36 -0800 | [diff] [blame] | 87 | includeProject(":localbroadcastmanager", "localbroadcastmanager") |
Aurimas Liutikas | b7b47a1 | 2018-03-14 17:10:10 -0700 | [diff] [blame] | 88 | includeProject(":media", "media") |
Aurimas Liutikas | 6b7a499 | 2018-06-06 16:07:02 -0700 | [diff] [blame] | 89 | includeProject(":media2", "media2") |
Jin Seok Park | 3aa13ea | 2018-04-09 17:18:07 +0900 | [diff] [blame] | 90 | includeProject(":media-widget", "media-widget") |
Jake Wharton | e94ca66 | 2018-03-09 09:50:16 -0500 | [diff] [blame] | 91 | includeProject(":mediarouter", "mediarouter") |
Aurimas Liutikas | 4a107ca | 2018-04-26 13:41:59 -0700 | [diff] [blame] | 92 | includeProject(":navigation:navigation-common", "navigation/common") |
| 93 | includeProject(":navigation:navigation-common-ktx", "navigation/common/ktx") |
| 94 | includeProject(":navigation:navigation-runtime", "navigation/runtime/") |
| 95 | includeProject(":navigation:navigation-runtime-ktx", "navigation/runtime/ktx") |
| 96 | includeProject(":navigation:navigation-testing", "navigation/testing") |
| 97 | includeProject(":navigation:navigation-testing-ktx", "navigation/testing/ktx") |
| 98 | includeProject(":navigation:navigation-fragment", "navigation/fragment") |
| 99 | includeProject(":navigation:navigation-fragment-ktx", "navigation/fragment/ktx") |
| 100 | includeProject(":navigation:navigation-ui", "navigation/ui") |
| 101 | includeProject(":navigation:navigation-ui-ktx", "navigation/ui/ktx") |
| 102 | includeProject(":navigation:navigation-integration-tests:testapp", "navigation/integration-tests/testapp") |
| 103 | includeProject(":navigation:navigation-safe-args-generator", "navigation/safe-args-generator") |
| 104 | includeProject(":navigation:navigation-safe-args-gradle-plugin", "navigation/safe-args-gradle-plugin") |
| 105 | includeProject(":paging:integration-tests:testapp", "paging/integration-tests/testapp") |
| 106 | includeProject(":paging:paging-common", "paging/common") |
Chris Craik | 51f6bc2 | 2018-05-23 18:11:26 -0700 | [diff] [blame] | 107 | includeProject(":paging:paging-common-ktx", "paging/common/ktx") |
Aurimas Liutikas | 4a107ca | 2018-04-26 13:41:59 -0700 | [diff] [blame] | 108 | includeProject(":paging:paging-runtime", "paging/runtime") |
Chris Craik | 51f6bc2 | 2018-05-23 18:11:26 -0700 | [diff] [blame] | 109 | includeProject(":paging:paging-runtime-ktx", "paging/runtime/ktx") |
Aurimas Liutikas | 4a107ca | 2018-04-26 13:41:59 -0700 | [diff] [blame] | 110 | includeProject(":paging:paging-rxjava2", "paging/rxjava2") |
Chris Craik | 51f6bc2 | 2018-05-23 18:11:26 -0700 | [diff] [blame] | 111 | includeProject(":paging:paging-rxjava2-ktx", "paging/rxjava2/ktx") |
Jake Wharton | e94ca66 | 2018-03-09 09:50:16 -0500 | [diff] [blame] | 112 | includeProject(":palette", "palette") |
Jake Wharton | b9b8af24 | 2018-03-15 16:54:55 -0400 | [diff] [blame] | 113 | includeProject(":palette-ktx", "palette/ktx") |
Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 114 | includeProject(":percentlayout", "percent") |
Jake Wharton | e94ca66 | 2018-03-09 09:50:16 -0500 | [diff] [blame] | 115 | includeProject(":preference", "preference") |
Jake Wharton | c70fa8c | 2018-05-29 11:03:00 -0400 | [diff] [blame] | 116 | includeProject(":preference-ktx", "preference/ktx") |
Aurimas Liutikas | a00210b | 2018-02-13 18:40:38 -0800 | [diff] [blame] | 117 | includeProject(":print", "print") |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 118 | includeProject(":recommendation", "recommendation") |
Aurimas Liutikas | caf9845 | 2018-06-06 16:16:44 -0700 | [diff] [blame] | 119 | includeProject(":recyclerview", "recyclerview") |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 120 | includeProject(":recyclerview-selection", "recyclerview-selection") |
Aurimas Liutikas | 4a107ca | 2018-04-26 13:41:59 -0700 | [diff] [blame] | 121 | includeProject(":room:integration-tests:testapp", "room/integration-tests/testapp") |
| 122 | includeProject(":room:integration-tests:kotlintestapp", "room/integration-tests/kotlintestapp") |
| 123 | includeProject(":room:room-common", "room/common") |
| 124 | includeProject(":room:room-compiler", "room/compiler") |
| 125 | includeProject(":room:room-guava", "room/guava") |
| 126 | includeProject(":room:room-migration", "room/migration") |
| 127 | includeProject(":room:room-runtime", "room/runtime") |
| 128 | includeProject(":room:room-rxjava2", "room/rxjava2") |
| 129 | includeProject(":room:room-testing", "room/testing") |
Jason Monk | 9d82688 | 2018-05-17 11:22:14 -0400 | [diff] [blame] | 130 | includeProject(":versionedparcelable-annotation", "versionedparcelable/annotation") |
| 131 | includeProject(":versionedparcelable", "versionedparcelable") |
Aurimas Liutikas | 4d33d5f | 2018-04-10 11:09:27 -0700 | [diff] [blame] | 132 | includeProject(":slice-core", "slices/core") |
| 133 | includeProject(":slice-view", "slices/view") |
| 134 | includeProject(":slice-builders", "slices/builders") |
Jason Monk | b2e0351 | 2018-06-01 14:11:26 -0400 | [diff] [blame] | 135 | includeProject(":slice-test", "slices/test") |
Doug Sigelbaum | 7f8b000 | 2018-05-10 13:53:19 -0700 | [diff] [blame] | 136 | includeProject(":slice-builders-ktx", "slices/builders/ktx") |
Aurimas Liutikas | 0888e16 | 2018-02-12 14:59:46 -0800 | [diff] [blame] | 137 | includeProject(":slidingpanelayout", "slidingpanelayout") |
Aurimas Liutikas | 4a107ca | 2018-04-26 13:41:59 -0700 | [diff] [blame] | 138 | includeProject(":sqlite:sqlite", "persistence/db") |
Jake Wharton | f09c227 | 2018-05-04 15:31:19 -0400 | [diff] [blame] | 139 | includeProject(":sqlite:sqlite-ktx", "persistence/db/ktx") |
Aurimas Liutikas | 4a107ca | 2018-04-26 13:41:59 -0700 | [diff] [blame] | 140 | includeProject(":sqlite:sqlite-framework", "persistence/db-framework") |
Aurimas Liutikas | 368a8e5 | 2018-02-13 09:55:20 -0800 | [diff] [blame] | 141 | includeProject(":swiperefreshlayout", "swiperefreshlayout") |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 142 | includeProject(":textclassifier", "textclassifier") |
| 143 | includeProject(":transition", "transition") |
Aurimas Liutikas | b7b47a1 | 2018-03-14 17:10:10 -0700 | [diff] [blame] | 144 | includeProject(":tvprovider", "tv-provider") |
| 145 | includeProject(":vectordrawable", "graphics/drawable/static") |
| 146 | includeProject(":vectordrawable-animated", "graphics/drawable/animated") |
Aurimas Liutikas | f1efe44 | 2018-02-08 14:21:20 -0800 | [diff] [blame] | 147 | includeProject(":viewpager", "viewpager") |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 148 | includeProject(":viewpager2", "viewpager2") |
| 149 | includeProject(":wear", "wear") |
| 150 | includeProject(":webkit", "webkit") |
Aurimas Liutikas | 4a107ca | 2018-04-26 13:41:59 -0700 | [diff] [blame] | 151 | includeProject(":work:work-runtime", "work/workmanager") |
Jake Wharton | f09c227 | 2018-05-04 15:31:19 -0400 | [diff] [blame] | 152 | includeProject(":work:work-runtime-ktx", "work/workmanager-ktx") |
Aurimas Liutikas | 4a107ca | 2018-04-26 13:41:59 -0700 | [diff] [blame] | 153 | includeProject(":work:work-firebase", "work/workmanager-firebase") |
| 154 | includeProject(":work:work-testing", "work/workmanager-test") |
| 155 | includeProject(":work:integration-tests:testapp", "work/integration-tests/testapp") |
Gustav Sennton | 18f68e7 | 2017-12-15 12:00:40 +0000 | [diff] [blame] | 156 | |
Chris Banes | e17c519 | 2016-06-01 13:36:05 +0100 | [diff] [blame] | 157 | ///////////////////////////// |
| 158 | // |
Jake Wharton | 65c15e1c | 2018-03-08 12:56:46 -0500 | [diff] [blame] | 159 | // Legacy |
| 160 | // |
| 161 | ///////////////////////////// |
| 162 | |
| 163 | includeProject(":legacy-support-core-ui", "legacy/core-ui") |
| 164 | includeProject(":legacy-support-core-utils", "legacy/core-utils") |
| 165 | includeProject(":legacy-support-v4", "legacy/v4") |
| 166 | includeProject(":legacy-support-v13", "legacy/v13") |
| 167 | includeProject(":legacy-preference-v14", "legacy/preference-v14") |
| 168 | |
| 169 | ///////////////////////////// |
| 170 | // |
Chris Banes | e17c519 | 2016-06-01 13:36:05 +0100 | [diff] [blame] | 171 | // Samples |
| 172 | // |
| 173 | ///////////////////////////// |
| 174 | |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 175 | File samplesRoot = new File(rootDir, "samples") |
Chris Banes | e17c519 | 2016-06-01 13:36:05 +0100 | [diff] [blame] | 176 | |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 177 | includeProject(":support-animation-demos", new File(samplesRoot, "SupportAnimationDemos")) |
| 178 | includeProject(":support-app-navigation", new File(samplesRoot, "SupportAppNavigation")) |
Aurimas Liutikas | f27b1ff | 2018-03-06 22:38:27 +0000 | [diff] [blame] | 179 | includeProject(":support-car-demos", new File(samplesRoot, "SupportCarDemos")) |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 180 | includeProject(":support-content-demos", new File(samplesRoot, "SupportContentDemos")) |
Aurimas Liutikas | f27b1ff | 2018-03-06 22:38:27 +0000 | [diff] [blame] | 181 | includeProject(":support-design-demos", new File(samplesRoot, "SupportDesignDemos")) |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 182 | includeProject(":support-emoji-demos", new File(samplesRoot, "SupportEmojiDemos")) |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 183 | includeProject(":support-leanback-demos", new File(samplesRoot, "SupportLeanbackDemos")) |
Jeff Gaston | f4d6cce | 2018-03-20 15:15:24 -0400 | [diff] [blame] | 184 | //includeProject(":support-leanback-jank", new File(samplesRoot, "SupportLeanbackJank")) |
Insun Kang | bc048d0 | 2018-04-13 03:41:13 +0900 | [diff] [blame] | 185 | includeProject(":support-media-demos", new File(samplesRoot, "SupportMediaDemos")) |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 186 | includeProject(":support-percent-demos", new File(samplesRoot, "SupportPercentDemos")) |
| 187 | includeProject(":support-preference-demos", new File(samplesRoot, "SupportPreferenceDemos")) |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 188 | includeProject(":support-slices-demos", new File(samplesRoot, "SupportSliceDemos")) |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 189 | includeProject(":support-transition-demos", new File(samplesRoot, "SupportTransitionDemos")) |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 190 | includeProject(":support-vector-drawable-demos", new File(samplesRoot, "SupportVectorDrawableDemos")) |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 191 | includeProject(":support-v4-demos", new File(samplesRoot, "Support4Demos")) |
| 192 | includeProject(":support-v7-demos", new File(samplesRoot, "Support7Demos")) |
| 193 | includeProject(":support-v13-demos", new File(samplesRoot, "Support13Demos")) |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 194 | includeProject(":support-wear-demos", new File(samplesRoot, "SupportWearDemos")) |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 195 | includeProject(":viewpager2-demos", new File(samplesRoot, "ViewPager2Demos")) |
Jason Monk | b2c4579 | 2017-12-14 17:30:21 -0500 | [diff] [blame] | 196 | |
Alan Viverette | cc5197e | 2016-06-13 12:45:07 -0400 | [diff] [blame] | 197 | ///////////////////////////// |
| 198 | // |
Aurimas Liutikas | 6d20a52 | 2017-03-10 17:13:03 -0800 | [diff] [blame] | 199 | // Testing libraries |
| 200 | // |
| 201 | ///////////////////////////// |
| 202 | |
Aurimas Liutikas | 67171c8 | 2018-02-27 13:10:25 -0800 | [diff] [blame] | 203 | includeProject(":internal-testutils", "testutils") |
Jake Wharton | bf04c31 | 2018-03-09 13:50:42 -0500 | [diff] [blame] | 204 | includeProject(":internal-testutils-ktx", "testutils-ktx") |
Aurimas Liutikas | 6d20a52 | 2017-03-10 17:13:03 -0800 | [diff] [blame] | 205 | |
| 206 | ///////////////////////////// |
| 207 | // |
Hyundo Moon | da9ee6b2 | 2017-07-21 14:32:12 +0900 | [diff] [blame] | 208 | // Applications and libraries for tests |
Hyundo Moon | 72e64db | 2017-07-20 14:09:13 +0900 | [diff] [blame] | 209 | // |
| 210 | ///////////////////////////// |
| 211 | |
Jake Wharton | 0efa1d5 | 2018-03-09 11:37:18 -0500 | [diff] [blame] | 212 | includeProject(":support-media-compat-test-client", "media/version-compat-tests/current/client") |
| 213 | includeProject(":support-media-compat-test-client-previous", "media/version-compat-tests/previous/client") |
| 214 | includeProject(":support-media-compat-test-service", "media/version-compat-tests/current/service") |
| 215 | includeProject(":support-media-compat-test-service-previous", "media/version-compat-tests/previous/service") |
| 216 | includeProject(":support-media-compat-test-lib", "media/version-compat-tests/lib") |
Hyundo Moon | da9ee6b2 | 2017-07-21 14:32:12 +0900 | [diff] [blame] | 217 | |
Hyundo Moon | 72e64db | 2017-07-20 14:09:13 +0900 | [diff] [blame] | 218 | ///////////////////////////// |
| 219 | // |
Alan Viverette | cc5197e | 2016-06-13 12:45:07 -0400 | [diff] [blame] | 220 | // External |
| 221 | // |
| 222 | ///////////////////////////// |
| 223 | |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 224 | apply(from: "include-composite-deps.gradle") |
| 225 | File externalRoot = new File(rootDir, "../../external") |
Alan Viverette | cc5197e | 2016-06-13 12:45:07 -0400 | [diff] [blame] | 226 | |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 227 | includeProject(":noto-emoji-compat", new File(externalRoot, "noto-fonts/emoji-compat")) |
Gustav Sennton | f9916c3 | 2018-02-14 14:27:45 +0000 | [diff] [blame] | 228 | includeProject(":webview-support-interfaces", new File(externalRoot, "webview_support_interfaces")) |
Siyamed Sinir | 75b9131 | 2017-04-21 19:10:41 -0700 | [diff] [blame] | 229 | |
Yigit Boyar | 95c6a87 | 2017-03-03 10:54:49 -0800 | [diff] [blame] | 230 | ///// FLATFOOT START |
| 231 | |
Steve McKay | c01ec96 | 2017-05-23 14:32:58 -0700 | [diff] [blame] | 232 | ///// FLATFOOT END |
Sergey Vasilinets | cb30642 | 2018-05-22 14:39:17 -0700 | [diff] [blame] | 233 | |
| 234 | // fake project which is used for docs generation from prebuilts |
| 235 | // we need real android project to generate R.java, aidl etc files that mentioned in sources |
| 236 | if (!startParameter.projectProperties.containsKey('android.injected.invoked.from.ide')) { |
| 237 | // we don't need it in ide, so we don't configure it there |
| 238 | includeProject(":docs-fake", "docs-fake") |
| 239 | } |