| # 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("//third_party/jni_zero/jni_zero.gni") |
| |
| android_library("java") { |
| srcjar_deps = [ ":jni_headers" ] |
| sources = [ |
| "java/src/org/chromium/chrome/browser/content/ContentUtils.java", |
| "java/src/org/chromium/chrome/browser/content/WebContentsFactory.java", |
| ] |
| deps = [ |
| "//base:base_java", |
| "//build/android:build_java", |
| "//chrome/browser/profiles/android:java", |
| "//content/public/android:content_java", |
| "//net/android:net_java", |
| "//third_party/jni_zero:jni_zero_java", |
| "//third_party/jni_zero:jni_zero_java", |
| ] |
| } |
| |
| generate_jni("jni_headers") { |
| sources = [ |
| "java/src/org/chromium/chrome/browser/content/ContentUtils.java", |
| "java/src/org/chromium/chrome/browser/content/WebContentsFactory.java", |
| ] |
| } |