Commit 8b9cf7cb authored by Natalie Chouinard's avatar Natalie Chouinard Committed by Commit Bot

Replace java_files with sources in //device

Replace usages of java_files with sources in above directory's gn files,
and automatically format.

Bug: 1035074
Change-Id: I0599344d6f00b9a2668dc4fc8cb3b8acab50c819
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1977195Reviewed-by: default avatarKen Rockot <rockot@google.com>
Commit-Queue: Natalie Chouinard <chouinard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#726653}
parent 505a3ffb
......@@ -373,7 +373,7 @@ if (is_android) {
android_library("bluetooth_test_java") {
testonly = true
java_files = bluetooth_java_sources_needing_jni
sources = bluetooth_java_sources_needing_jni
deps = [
"//base:base_java",
"//components/location/android:location_java",
......@@ -386,7 +386,9 @@ if (is_android) {
}
junit_binary("device_junit_tests") {
java_files = [ "gamepad/android/junit/src/org/chromium/device/gamepad/GamepadMappingsTest.java" ]
sources = [
"gamepad/android/junit/src/org/chromium/device/gamepad/GamepadMappingsTest.java",
]
deps = [
"$google_play_services_package:google_play_services_base_java",
"$google_play_services_package:google_play_services_basement_java",
......
......@@ -525,7 +525,7 @@ if (is_android) {
}
android_library("java") {
java_files = java_sources_needing_jni
sources = java_sources_needing_jni
deps = [
"//base:base_java",
"//base:jni_java",
......
......@@ -177,7 +177,7 @@ if (is_android) {
}
android_library("java") {
java_files = [
sources = [
"android/java/src/org/chromium/device/gamepad/GamepadDevice.java",
"android/java/src/org/chromium/device/gamepad/GamepadList.java",
"android/java/src/org/chromium/device/gamepad/GamepadMappings.java",
......
......@@ -389,7 +389,7 @@ if (enable_gvr_services) {
}
android_library("java") {
java_files = java_sources_needing_jni
sources = java_sources_needing_jni
deps = [
"//base:base_java",
"//base:jni_java",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment