# Copyright 2020 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import("//build/config/android/rules.gni") android_library("java") { sources = [ "java/src/org/chromium/components/messages/MessageDispatcherImpl.java", "java/src/org/chromium/components/messages/MessageQueueManager.java", "java/src/org/chromium/components/messages/MessagesFactory.java", ] deps = [ "..:java", "..:manager_java", "//base:base_java", "//third_party/android_deps:androidx_annotation_annotation_java", "//ui/android:ui_full_java", ] } java_library("junit") { # Skip platform checks since Robolectric depends on requires_android targets. bypass_platform_checks = true testonly = true sources = [ "java/src/org/chromium/components/messages/MessageQueueManagerTest.java", ] deps = [ ":java", "..:java", "..:manager_java", "//base:base_junit_test_support", "//third_party/android_deps:androidx_test_runner_java", "//third_party/junit", "//third_party/mockito:mockito_java", ] }