Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(392)

Issue 2646443002: Creating libwebrtc bundle jar (Closed)

Created:
3 years, 11 months ago by mbonadei
Modified:
3 years, 11 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, audio-team_agora.io, sdk-team_agora.io, peah-webrtc, henrika_webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Creating libwebrtc bundle jar Creates a JAR which includes: - //webrtc/base:base_java - //webrtc/modules/audio_device:audio_device_java - //webrtc/sdk/android:libjingle_peerconnection_java - //webrtc/sdk/android:libjingle_peerconnection_metrics_default_java The libwebrtc.jar file will be generated at '<output_dir>/lib.java/webrtc/sdk/android/libwebrtc.jar'. BUG=webrtc:6356 Review-Url: https://codereview.webrtc.org/2646443002 Cr-Commit-Position: refs/heads/master@{#16189} Committed: https://chromium.googlesource.com/external/webrtc/+/a62a82b7e7da5a1bbbf8b5614ef19334cc1603ce

Patch Set 1 #

Total comments: 11

Patch Set 2 : Renaming dist_jar target to libwebrtc #

Total comments: 4

Patch Set 3 : Removing unused template and fixing an error #

Patch Set 4 : Skipping base_java in chromium builds #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -34 lines) Patch
M webrtc/base/BUILD.gn View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/build/webrtc.gni View 1 2 1 chunk +0 lines, -29 lines 0 comments Download
M webrtc/examples/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_device/BUILD.gn View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M webrtc/sdk/android/BUILD.gn View 1 2 chunks +14 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
mbonadei
This should generate a libjingle_peerconnection_java_with_deps.jar file with all the .class files from both 'webrtc/base:base_java' and ...
3 years, 11 months ago (2017-01-18 12:15:31 UTC) #2
sakal
I think you are correct this will not be automatically generated because it is not ...
3 years, 11 months ago (2017-01-18 13:21:45 UTC) #3
mbonadei
https://codereview.webrtc.org/2646443002/diff/1/webrtc/examples/BUILD.gn File webrtc/examples/BUILD.gn (right): https://codereview.webrtc.org/2646443002/diff/1/webrtc/examples/BUILD.gn#newcode96 webrtc/examples/BUILD.gn:96: "//webrtc/modules/audio_device:audio_device_java", On 2017/01/18 13:21:44, sakal wrote: > Is this ...
3 years, 11 months ago (2017-01-19 08:30:45 UTC) #4
sakal
https://codereview.webrtc.org/2646443002/diff/1/webrtc/examples/BUILD.gn File webrtc/examples/BUILD.gn (right): https://codereview.webrtc.org/2646443002/diff/1/webrtc/examples/BUILD.gn#newcode96 webrtc/examples/BUILD.gn:96: "//webrtc/modules/audio_device:audio_device_java", On 2017/01/19 08:30:45, mbonadei wrote: > On 2017/01/18 ...
3 years, 11 months ago (2017-01-19 09:06:21 UTC) #5
mbonadei
https://codereview.webrtc.org/2646443002/diff/1/webrtc/examples/BUILD.gn File webrtc/examples/BUILD.gn (right): https://codereview.webrtc.org/2646443002/diff/1/webrtc/examples/BUILD.gn#newcode96 webrtc/examples/BUILD.gn:96: "//webrtc/modules/audio_device:audio_device_java", On 2017/01/19 09:06:21, sakal wrote: > On 2017/01/19 ...
3 years, 11 months ago (2017-01-19 21:20:03 UTC) #6
mbonadei
I am getting this error from a couple of trybots: ERROR at //build/config/android/internal_rules.gni:121:23: Can't load ...
3 years, 11 months ago (2017-01-20 07:31:08 UTC) #7
kjellander_webrtc
I think the trybot problem you're seeing can be solved by adding !build_with_chromium into the ...
3 years, 11 months ago (2017-01-20 07:58:50 UTC) #8
kjellander_webrtc
also update the CL description, as we're creating a libwebrtc bundle jar, right? It would ...
3 years, 11 months ago (2017-01-20 07:59:46 UTC) #9
mbonadei
https://codereview.webrtc.org/2646443002/diff/20001/webrtc/modules/audio_device/BUILD.gn File webrtc/modules/audio_device/BUILD.gn (left): https://codereview.webrtc.org/2646443002/diff/20001/webrtc/modules/audio_device/BUILD.gn#oldcode349 webrtc/modules/audio_device/BUILD.gn:349: if (!build_with_chromium && is_android) { On 2017/01/20 07:58:50, kjellander_webrtc ...
3 years, 11 months ago (2017-01-20 09:30:37 UTC) #10
mbonadei
On 2017/01/20 07:59:46, kjellander_webrtc wrote: > also update the CL description, as we're creating a ...
3 years, 11 months ago (2017-01-20 09:36:26 UTC) #12
sakal
lgtm
3 years, 11 months ago (2017-01-20 09:58:21 UTC) #13
kjellander_webrtc
On 2017/01/20 07:58:50, kjellander_webrtc wrote: > I think the trybot problem you're seeing can be ...
3 years, 11 months ago (2017-01-20 10:26:25 UTC) #14
kjellander_webrtc
On 2017/01/20 10:26:25, kjellander_webrtc wrote: > On 2017/01/20 07:58:50, kjellander_webrtc wrote: > > I think ...
3 years, 11 months ago (2017-01-20 10:27:45 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2646443002/60001
3 years, 11 months ago (2017-01-20 11:53:48 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/external/webrtc/+/a62a82b7e7da5a1bbbf8b5614ef19334cc1603ce
3 years, 11 months ago (2017-01-20 14:15:38 UTC) #22
mbonadei
3 years, 11 months ago (2017-01-20 14:47:50 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.webrtc.org/2640023010/ by mbonadei@webrtc.org.

The reason for reverting is: This breaks some chromium.webrtc.fyi buildbots with
the following error:

ERROR Unresolved dependencies.
//third_party/webrtc/base:base(//build/toolchain/android:android_arm)
  needs
//third_party/webrtc/base:base_java(//build/toolchain/android:android_arm)
.

Powered by Google App Engine
This is Rietveld 408576698