commit | a79abd40545c4e32907de7c60555443ba6d41133 | [log] [tgz] |
---|---|---|
author | Oleh Prypin <oprypin@webrtc.org> | Tue Jun 25 21:19:17 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jun 26 07:18:15 2019 |
tree | 659b14da37a7d60d195f243b8aee7d9a1508ef67 | |
parent | f97f342fd352633ef1b2ced5cf1b340f994be515 [diff] |
Specify min_sdk_version for unittest apks also in GN configs This is a followup to https://webrtc-review.googlesource.com/142235 This was missed and it fails the new assert in https://chromium-review.googlesource.com/1675323 Example of failing roll: https://webrtc-review.googlesource.com/143844 This comes with the same caveats, i.e. the information is duplicated in AndroidManifest. But the new assert prevents de-sync between them :) The version is being specified unconditionally because so is AndroidManifest. Bug: chromium:891996 Change-Id: I92a2011c8fda55849bd9ba8df619f897f48e58da Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/143795 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Oleh Prypin <oprypin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28378}
diff --git a/webrtc.gni b/webrtc.gni index d7cc238..9e13283 100644 --- a/webrtc.gni +++ b/webrtc.gni
@@ -401,6 +401,7 @@ } if (!build_with_chromium && is_android) { android_manifest = webrtc_root + "test/android/AndroidManifest.xml" + min_sdk_version = 16 deps += [ webrtc_root + "test:native_test_java" ] } }