Migrate android_resources targets to not create R.java files

R.java file creation responsibilities will be moved to android_library
and android_apk targets and creating R.java files in the
android_resources targets is now deprecated. This cl migrates webrtc
targets to the new way.

Bug: chromium:1073476
Change-Id: I0a2fa759d3ff1d8e201e5719c9238701a58171e9
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/183060
Commit-Queue: Mohamed Heikal <mheikal@chromium.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32026}
This commit is contained in:
Mohamed Heikal
2020-09-01 15:51:12 -04:00
committed by Commit Bot
parent 2597a1b22c
commit 3f94fc53d4
4 changed files with 7 additions and 1 deletions

View File

@ -76,6 +76,7 @@ if (is_android) {
android_resources("resources") {
testonly = true
custom_package = "org.webrtc.examples.androidvoip"
create_srcjar = false
sources = [
"res/layout/activity_main.xml",
"res/values/colors.xml",