# Copyright 2020 The Chromium Authors
# 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/chrome/browser/browser_controls/BottomControlsLayer.java",
"java/src/org/chromium/chrome/browser/browser_controls/BottomControlsStacker.java",
"java/src/org/chromium/chrome/browser/browser_controls/BrowserControlsMarginSupplier.java",
"java/src/org/chromium/chrome/browser/browser_controls/BrowserControlsSizer.java",
"java/src/org/chromium/chrome/browser/browser_controls/BrowserControlsStateProvider.java",
"java/src/org/chromium/chrome/browser/browser_controls/BrowserControlsUtils.java",
"java/src/org/chromium/chrome/browser/browser_controls/BrowserControlsVisibilityManager.java",
"java/src/org/chromium/chrome/browser/browser_controls/BrowserStateBrowserControlsVisibilityDelegate.java",
]
deps = [
"//base:base_java",
"//cc:cc_java",
"//chrome/browser/flags:java",
"//components/browser_ui/util/android:java",
"//content/public/android:content_java",
"//third_party/androidx:androidx_annotation_annotation_java",
"//ui/android:ui_java",
]
}
robolectric_library("junit") {
sources = [
"java/src/org/chromium/chrome/browser/browser_controls/BottomControlsStackerUnitTest.java",
"java/src/org/chromium/chrome/browser/browser_controls/BrowserStateBrowserControlsVisibilityDelegateTest.java",
]
deps = [
":java",
"//base:base_java",
"//base:base_java_test_support",
"//base:base_junit_test_support",
"//cc:cc_java",
"//chrome/browser/flags:java",
"//content/public/android:content_java",
"//third_party/junit",
"//third_party/mockito:mockito_java",
]
}