| # Copyright 2023 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") |
| import("//chrome/android/features/android_library_factory_tmpl.gni") |
| |
| android_library("java") { |
| sources = [ "java/src/org/chromium/chrome/browser/ui/edge_to_edge/EdgeToEdgeController.java" ] |
| deps = [ "//chrome/browser/android/lifecycle:java" ] |
| } |
| |
| android_library_factory("factory_java") { |
| # These deps will be inherited by the resulting android_library target. |
| deps = [ |
| ":java", |
| "//third_party/androidx:androidx_appcompat_appcompat_java", |
| ] |
| |
| # This internal file will be replaced by a generated file so the resulting |
| # android_library target does not actually depend on this internal file. |
| sources = [ "//chrome/browser/ui/android/edge_to_edge/internal/java/src/org/chromium/chrome/browser/ui/edge_to_edge/EdgeToEdgeControllerFactory.java" ] |
| } |