blob: 639b2f622c2116933a8bb7ceb920da0c85ca1225 [file] [log] [blame]
# 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")
android_library("java") {
java_files = [
"org/chromium/weblayer_private/BrowserControllerImpl.java",
"org/chromium/weblayer_private/BrowserObserverProxy.java",
"org/chromium/weblayer_private/ContentView.java",
"org/chromium/weblayer_private/ContentViewRenderView.java",
"org/chromium/weblayer_private/EventOffsetHandler.java",
"org/chromium/weblayer_private/NavigationControllerImpl.java",
"org/chromium/weblayer_private/NavigationImpl.java",
"org/chromium/weblayer_private/ProfileImpl.java",
"org/chromium/weblayer_private/TopControlsContainerView.java",
"org/chromium/weblayer_private/WebLayerImpl.java",
]
deps = [
":client_java",
"//base:base_java",
"//content/public/android:content_java",
"//ui/android:ui_java",
]
}
generate_jni("jni") {
sources = [
"org/chromium/weblayer_private/BrowserControllerImpl.java",
"org/chromium/weblayer_private/BrowserObserverProxy.java",
"org/chromium/weblayer_private/ContentViewRenderView.java",
"org/chromium/weblayer_private/NavigationControllerImpl.java",
"org/chromium/weblayer_private/NavigationImpl.java",
"org/chromium/weblayer_private/ProfileImpl.java",
"org/chromium/weblayer_private/TopControlsContainerView.java",
]
}
android_library("client_java") {
java_files = [ "org/chromium/weblayer_private/aidl/ObjectWrapper.java" ]
srcjar_deps = [ ":aidl" ]
}
android_aidl("aidl") {
import_include = [ "org/chromium/weblayer_private/aidl" ]
sources = [
"org/chromium/weblayer_private/aidl/IBrowserController.aidl",
"org/chromium/weblayer_private/aidl/IBrowserControllerClient.aidl",
"org/chromium/weblayer_private/aidl/IClientNavigation.aidl",
"org/chromium/weblayer_private/aidl/INavigation.aidl",
"org/chromium/weblayer_private/aidl/INavigationController.aidl",
"org/chromium/weblayer_private/aidl/INavigationControllerClient.aidl",
"org/chromium/weblayer_private/aidl/IObjectWrapper.aidl",
"org/chromium/weblayer_private/aidl/IProfile.aidl",
"org/chromium/weblayer_private/aidl/IWebLayer.aidl",
]
}