Commit 9ad9ad87 authored by hanxi's avatar hanxi Committed by Commit bot

Fix the crash: Failed to create WebAPKServiceImpl.

The crash is caused by not including the AIDL files from which the
WebApkServiceImpl is inherited in the webapk1.dex. In the build.gn, I move the
dependency of webapk_service_aidl from "deps" to "srcjar_deps", since the
.java files in the latter will be included in webapk1.dex.

BUG=645215

Review-Url: https://codereview.chromium.org/2340853002
Cr-Commit-Position: refs/heads/master@{#419017}
parent 996cd0e1
......@@ -36,9 +36,9 @@ android_library("runtime_library_for_assets_java") {
"src/org/chromium/webapk/lib/runtime_library/WebApkServiceImpl.java",
]
deps = [
":webapk_service_aidl_java",
"//chrome/android/webapk/libs/common:common_java",
]
srcjar_deps = [ ":webapk_service_aidl" ]
}
# The subset of runtime_library_from_assets_java needed for tests.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment