Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Unified Diff: sky/shell/BUILD.gn

Issue 936883002: Connect Sky and Ganesh in SkyShell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Address review comments Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/shell/apk/src/org/domokit/sky/shell/JavaServiceProvider.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/BUILD.gn
diff --git a/sky/shell/BUILD.gn b/sky/shell/BUILD.gn
index 20ceed137fbd2c5ac92dd3bd4b7587abd90498d1..547ed9fc25db7660d82500f020010ded4d6bc460 100644
--- a/sky/shell/BUILD.gn
+++ b/sky/shell/BUILD.gn
@@ -15,8 +15,9 @@ group("shell") {
generate_jni("jni_headers") {
sources = [
+ "apk/src/org/domokit/sky/shell/JavaServiceProvider.java",
"apk/src/org/domokit/sky/shell/SkyMain.java",
- "apk/src/org/domokit/sky/shell/SkyView.java",
+ "apk/src/org/domokit/sky/shell/PlatformView.java",
]
jni_package = "sky/shell"
}
@@ -31,13 +32,17 @@ shared_library("sky_shell") {
"gpu/rasterizer.h",
"gpu_delegate.cc",
"gpu_delegate.h",
+ "java_service_provider.cc",
+ "java_service_provider.h",
"library_loader.cc",
+ "platform_view.cc",
+ "platform_view.h",
"shell.cc",
"shell.h",
"sky_main.cc",
"sky_main.h",
- "sky_view.cc",
- "sky_view.h",
+ "ui/animator.cc",
+ "ui/animator.h",
"ui/engine.cc",
"ui/engine.h",
"ui/platform_impl.cc",
@@ -50,7 +55,12 @@ shared_library("sky_shell") {
"//base",
"//base:i18n",
"//build/config/sanitizers:deps",
+ "//mojo/android:libsystem_java",
+ "//mojo/common",
"//mojo/edk/system",
+ "//mojo/public/cpp/application",
+ "//mojo/public/interfaces/application",
+ "//mojo/services/network/public/interfaces",
"//skia",
"//sky/engine",
"//ui/gfx/geometry",
@@ -61,34 +71,54 @@ shared_library("sky_shell") {
android_library("java") {
java_files = [
+ "apk/src/org/domokit/sky/shell/JavaServiceProvider.java",
+ "apk/src/org/domokit/sky/shell/PlatformView.java",
"apk/src/org/domokit/sky/shell/SkyMain.java",
"apk/src/org/domokit/sky/shell/SkyShellActivity.java",
"apk/src/org/domokit/sky/shell/SkyShellApplication.java",
- "apk/src/org/domokit/sky/shell/SkyView.java",
]
deps = [
"//base:base_java",
+ "//mojo/android:system_java",
+ "//mojo/public/interfaces/application:application_java",
+ "//mojo/public/java:bindings",
+ "//mojo/public/java:system",
+ "//mojo/services/network/public/interfaces:interfaces_java",
]
}
+sky_shell_assets_dir = "$root_build_dir/sky_shell/assets"
+
android_resources("resources") {
resource_dirs = [ "apk/res" ]
custom_package = "org.domokit.sky.shell"
}
+copy_ex("assets") {
+ clear_dir = true
+ dest = sky_shell_assets_dir
+ sources = [
+ "$root_build_dir/icudtl.dat",
+ ]
+ deps = [
+ "//third_party/icu",
+ ]
+}
+
android_apk("sky_shell_apk") {
apk_name = "SkyShell"
android_manifest = "apk/AndroidManifest.xml"
native_libs = [ "libsky_shell.so" ]
- asset_location = "apk/res"
+ asset_location = sky_shell_assets_dir
deps = [
- ":sky_shell",
+ "//base:base_java",
+ ":assets",
":java",
":resources",
- "//base:base_java",
+ ":sky_shell",
]
}
« no previous file with comments | « no previous file | sky/shell/apk/src/org/domokit/sky/shell/JavaServiceProvider.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698