Chromium refactor: Replace "resources_dirs" with "sources"

Bug: chromium:1062263
Change-Id: I4b7b06cfeaf4cb655a0b3533dba25a77756bdcd0
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/171741
Commit-Queue: Andrew Grieve <agrieve@google.com>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30889}
This commit is contained in:
Andrew Grieve
2020-03-25 12:59:50 -04:00
committed by Commit Bot
parent 3a7dba6cd7
commit d4262dffa0
3 changed files with 61 additions and 3 deletions

View File

@ -130,8 +130,24 @@ if (is_android) {
android_resources("NetworkTesterMobile_resources") {
testonly = true
resource_dirs = [ "androidapp/res" ]
custom_package = "com.google.media.networktester"
sources = [
"androidapp/res/layout/activity_main.xml",
"androidapp/res/mipmap-hdpi/ic_launcher.png",
"androidapp/res/mipmap-mdpi/ic_launcher.png",
"androidapp/res/mipmap-xhdpi/ic_launcher.png",
"androidapp/res/mipmap-xxhdpi/ic_launcher.png",
"androidapp/res/mipmap-xxxhdpi/ic_launcher.png",
"androidapp/res/values/colors.xml",
"androidapp/res/values/dimens.xml",
"androidapp/res/values/strings.xml",
"androidapp/res/values-v17/styles.xml",
"androidapp/res/values-w820dp/dimens.xml",
]
# Needed for Bazel converter.
resource_dirs = [ "androidapp/res" ]
assert(resource_dirs != []) # Mark as used.
}
rtc_shared_library("network_tester_so") {