| # 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") { |
| visibility = [ "//chrome/android:*" ] |
| |
| # This target is currently used to ensure that we avoid regressing the Kotlin |
| # support added in http://go/crrv/c/4179272. |
| sources = [ |
| # These two factory files need to stay as Java files for the |
| # //chrome/browser/tabmodel:factory_javafactory target. |
| "android/java/src/org/chromium/chrome/browser/tabmodel/AsyncTabParamsManagerFactory.java", |
| "android/java/src/org/chromium/chrome/browser/tabmodel/TabWindowManagerFactory.java", |
| |
| # Please keep this file in Kotlin to prevent regressions in kotlin support. |
| "android/java/src/org/chromium/chrome/browser/tabmodel/AsyncTabParamsManagerImpl.kt", |
| |
| # Please keep the following file in Java for build_speed/benchmark.py. |
| "android/java/src/org/chromium/chrome/browser/tabmodel/TabWindowManagerImpl.java", |
| ] |
| deps = [ |
| "//base:base_java", |
| "//chrome/browser/tab:java", |
| "//chrome/browser/tabmodel:java", |
| "//third_party/kotlin_stdlib:kotlin_stdlib_java", |
| ] |
| } |