Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cronet] Build maven modules and test by building sample app with gradle
This change builds maven modules for Cronet. Each maven module includes: 1. POM file defining module and listing dependent modules 2. Jars 3. Proguard files (optional) 4. Native libraries (optional) 5. Resources (optional) 6. Javadocs (optional) We build four maven modules: 1. cronet-api: the Cronet API 2. cronet-embedded: the Cronet native implementation 3. cronet-fallback: the Cronet fallback implementation 4. cronet-common: Cronet implementation in common with #3 and #4 To test the maven modules, this change builds the Cronet sample app using gradle. You can install and run the resulting app by: ninja -C out/Debug cronet_maven_test_build adb install -r out/Debug/cronet_maven/test/build/outputs/apk/debug/test-debug.apk adb install -r out/Debug/cronet_maven/test/build/outputs/apk/androidTest/debug/test-debug-androidTest.apk adb shell am instrument -w org.chromium.cronet_sample_apk.test/android.support.test.runner.AndroidJUnitRunner Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I5ed27e86f3e01dc3a6441ab449bbe942553343af Reviewed-on: https://chromium-review.googlesource.com/998019 Commit-Queue: Paul Jensen <[email protected]> Reviewed-by: Andrei Kapishnikov <[email protected]> Reviewed-by: Eric Stevenson <[email protected]> Cr-Original-Commit-Position: refs/heads/master@{#554608} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 10f4dd8996fe4a028ee2aa61cdf84ad4080ef31c
- Loading branch information