BUILD.gn 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Copyright 2020 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. import("//build/config/android/rules.gni")
  5. android_library("java") {
  6. sources = [
  7. "java/src/org/chromium/components/webrtc/MediaCaptureNotificationUtil.java",
  8. ]
  9. deps = [
  10. ":java_resources",
  11. "//base:base_java",
  12. "//components/browser_ui/notifications/android:java",
  13. "//components/url_formatter/android:url_formatter_java",
  14. "//third_party/androidx:androidx_annotation_annotation_java",
  15. "//third_party/androidx:androidx_core_core_java",
  16. ]
  17. resources_package = "org.chromium.components.webrtc"
  18. }
  19. android_resources("java_resources") {
  20. deps = [
  21. "//components/browser_ui/strings/android:browser_ui_strings_grd",
  22. "//components/browser_ui/styles/android:java_resources",
  23. ]
  24. sources = [
  25. "java/res/drawable-hdpi/webrtc_audio.png",
  26. "java/res/drawable-hdpi/webrtc_video.png",
  27. "java/res/drawable-mdpi/webrtc_audio.png",
  28. "java/res/drawable-mdpi/webrtc_video.png",
  29. "java/res/drawable-xhdpi/webrtc_audio.png",
  30. "java/res/drawable-xhdpi/webrtc_video.png",
  31. "java/res/drawable-xxhdpi/webrtc_audio.png",
  32. "java/res/drawable-xxhdpi/webrtc_video.png",
  33. "java/res/drawable-xxxhdpi/webrtc_audio.png",
  34. "java/res/drawable-xxxhdpi/webrtc_video.png",
  35. ]
  36. }