chromium/chrome/browser/ui/android/searchactivityutils/BUILD.gn

# Copyright 2021 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/ui/searchactivityutils/SearchActivityClient.java",
    "java/src/org/chromium/chrome/browser/ui/searchactivityutils/SearchActivityExtras.java",
    "java/src/org/chromium/chrome/browser/ui/searchactivityutils/SearchActivityPreferencesManager.java",
  ]
  deps = [
    "//base:base_java",
    "//chrome/browser/incognito:java",
    "//chrome/browser/lens:java",
    "//chrome/browser/preferences:java",
    "//chrome/browser/profiles/android:java",
    "//chrome/browser/search_engines/android:java",
    "//chrome/browser/ui/android/omnibox:util_java",
    "//components/search_engines/android:java",
    "//content/public/android:content_main_dex_java",
    "//third_party/androidx:androidx_annotation_annotation_java",
    "//ui/android:ui_no_recycler_view_java",
    "//url:gurl_java",
  ]
}

robolectric_library("junit") {
  sources = [ "java/src/org/chromium/chrome/browser/ui/searchactivityutils/SearchActivityPreferencesManagerTest.java" ]

  deps = [
    ":java",
    "//base:base_java",
    "//base:base_java_test_support",
    "//base:base_junit_test_support",
    "//chrome/browser/incognito:java",
    "//chrome/browser/lens:java",
    "//chrome/browser/preferences:java",
    "//chrome/browser/profiles/android:java",
    "//chrome/browser/search_engines/android:java",
    "//chrome/browser/ui/android/omnibox:util_java",
    "//components/search_engines/android:java",
    "//content/public/test/android:content_java_test_support",
    "//third_party/androidx:androidx_test_rules_java",
    "//third_party/androidx:androidx_test_runner_java",
    "//third_party/junit",
    "//third_party/mockito:mockito_java",
    "//ui/android:ui_java",
    "//url:url_java",
  ]
}