| # Copyright 2019 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/config.gni") |
| import("//build/config/android/rules.gni") |
| |
| source_set("thin_webview") { |
| sources = [ "compositor_view.h" ] |
| public_deps = [ "//base" ] |
| } |
| |
| android_library("java") { |
| sources = [ |
| "java/src/org/chromium/chrome/browser/thinwebview/CompositorView.java", |
| "java/src/org/chromium/chrome/browser/thinwebview/ThinWebView.java", |
| "java/src/org/chromium/chrome/browser/thinwebview/ThinWebViewConstraints.java", |
| ] |
| |
| deps = [ |
| "//base:base_java", |
| "//components/embedder_support/android:web_contents_delegate_java", |
| "//content/public/android:content_java", |
| "//ui/android:ui_java", |
| ] |
| } |
| |
| android_library("factory_java") { |
| sources = [ |
| "java/src/org/chromium/chrome/browser/thinwebview/CompositorViewFactory.java", |
| "java/src/org/chromium/chrome/browser/thinwebview/ThinWebViewFactory.java", |
| ] |
| |
| deps = [ |
| ":java", |
| "internal:internal_java", |
| "//base:base_java", |
| "//content/public/android:content_java", |
| "//ui/android:ui_java", |
| ] |
| } |