Skip to content

Commit

Permalink
Revert "Create StarboardBridge native class with jni_generator (#4545)"
Browse files Browse the repository at this point in the history
This reverts commit 4580609.
  • Loading branch information
haozheng-cobalt authored Dec 18, 2024
1 parent fc163a7 commit 26e69c7
Show file tree
Hide file tree
Showing 8 changed files with 75 additions and 228 deletions.
9 changes: 0 additions & 9 deletions cobalt/android/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,13 @@ jinja_template("cobalt_manifest") {
variables = [ "manifest_package=dev.cobalt.coat" ]
}

generate_jni("jni_headers") {
sources = [ "apk/app/src/main/java/dev/cobalt/coat/StarboardBridge.java" ]
}

# TODO(cobalt): Re-enable or remove disabled java files.
android_library("cobalt_apk_java") {
testonly = true
resources_package = "dev.cobalt.coat"
annotation_processor_deps = [ "//base/android/jni_generator:jni_processor" ]

deps = [
":cobalt_java_resources",
":jni_headers",
"//base:base_java",
"//base:jni_java",
"//base:process_launcher_java",
"//build/android:build_java",
"//components/embedder_support/android:view_java",
Expand All @@ -65,7 +57,6 @@ android_library("cobalt_apk_java") {
"//ui/android:ui_no_recycler_view_java",
"//url:gurl_java",
]

sources = [
"apk/app/src/app/java/dev/cobalt/app/CobaltApplication.java",
"apk/app/src/app/java/dev/cobalt/app/MainActivity.java",
Expand Down
Loading

0 comments on commit 26e69c7

Please sign in to comment.