mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
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:
parent
3a7dba6cd7
commit
d4262dffa0
3 changed files with 61 additions and 3 deletions
|
@ -154,8 +154,43 @@ if (is_android) {
|
|||
|
||||
android_resources("AppRTCMobile_resources") {
|
||||
testonly = true
|
||||
resource_dirs = [ "androidapp/res" ]
|
||||
sources = [
|
||||
"androidapp/res/drawable-hdpi/disconnect.png",
|
||||
"androidapp/res/drawable-hdpi/ic_action_full_screen.png",
|
||||
"androidapp/res/drawable-hdpi/ic_action_return_from_full_screen.png",
|
||||
"androidapp/res/drawable-hdpi/ic_launcher.png",
|
||||
"androidapp/res/drawable-hdpi/ic_loopback_call.png",
|
||||
"androidapp/res/drawable-ldpi/disconnect.png",
|
||||
"androidapp/res/drawable-ldpi/ic_action_full_screen.png",
|
||||
"androidapp/res/drawable-ldpi/ic_action_return_from_full_screen.png",
|
||||
"androidapp/res/drawable-ldpi/ic_launcher.png",
|
||||
"androidapp/res/drawable-ldpi/ic_loopback_call.png",
|
||||
"androidapp/res/drawable-mdpi/disconnect.png",
|
||||
"androidapp/res/drawable-mdpi/ic_action_full_screen.png",
|
||||
"androidapp/res/drawable-mdpi/ic_action_return_from_full_screen.png",
|
||||
"androidapp/res/drawable-mdpi/ic_launcher.png",
|
||||
"androidapp/res/drawable-mdpi/ic_loopback_call.png",
|
||||
"androidapp/res/drawable-xhdpi/disconnect.png",
|
||||
"androidapp/res/drawable-xhdpi/ic_action_full_screen.png",
|
||||
"androidapp/res/drawable-xhdpi/ic_action_return_from_full_screen.png",
|
||||
"androidapp/res/drawable-xhdpi/ic_launcher.png",
|
||||
"androidapp/res/drawable-xhdpi/ic_loopback_call.png",
|
||||
"androidapp/res/layout/activity_call.xml",
|
||||
"androidapp/res/layout/activity_connect.xml",
|
||||
"androidapp/res/layout/fragment_call.xml",
|
||||
"androidapp/res/layout/fragment_hud.xml",
|
||||
"androidapp/res/menu/connect_menu.xml",
|
||||
"androidapp/res/values/arrays.xml",
|
||||
"androidapp/res/values/strings.xml",
|
||||
"androidapp/res/values-v17/styles.xml",
|
||||
"androidapp/res/values-v21/styles.xml",
|
||||
"androidapp/res/xml/preferences.xml",
|
||||
]
|
||||
custom_package = "org.appspot.apprtc"
|
||||
|
||||
# Needed for Bazel converter.
|
||||
resource_dirs = [ "androidapp/res" ]
|
||||
assert(resource_dirs != []) # Mark as used.
|
||||
}
|
||||
|
||||
rtc_instrumentation_test_apk("AppRTCMobile_test_apk") {
|
||||
|
|
|
@ -65,7 +65,14 @@ if (is_android) {
|
|||
|
||||
android_resources("resources") {
|
||||
testonly = true
|
||||
resource_dirs = [ "res" ]
|
||||
custom_package = "org.webrtc.examples.androidnativeapi"
|
||||
sources = [
|
||||
"res/layout/activity_main.xml",
|
||||
"res/values/strings.xml",
|
||||
]
|
||||
|
||||
# Needed for Bazel converter.
|
||||
resource_dirs = [ "res" ]
|
||||
assert(resource_dirs != []) # Mark as used.
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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") {
|
||||
|
|
Loading…
Reference in a new issue