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

Side by Side Diff: sky/shell/BUILD.gn

Issue 1193763004: Expose the asset_bundle service in SkyShell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: use source_set Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « sky/sdk/lib/mojo/asset_bundle.dart ('k') | sky/shell/ui/internals.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 common_deps = [ 5 common_deps = [
6 "//base", 6 "//base",
7 "//base:i18n", 7 "//base:i18n",
8 "//build/config/sanitizers:deps", 8 "//build/config/sanitizers:deps",
9 "//dart/runtime:libdart", 9 "//dart/runtime:libdart",
10 "//mojo/common", 10 "//mojo/common",
11 "//mojo/edk/system", 11 "//mojo/edk/system",
12 "//mojo/public/cpp/application", 12 "//mojo/public/cpp/application",
13 "//mojo/public/interfaces/application", 13 "//mojo/public/interfaces/application",
14 "//mojo/services/asset_bundle/public/interfaces",
14 "//mojo/services/navigation/public/interfaces", 15 "//mojo/services/navigation/public/interfaces",
15 "//mojo/services/network/public/interfaces", 16 "//mojo/services/network/public/interfaces",
17 "//services/asset_bundle:lib",
16 "//skia", 18 "//skia",
17 "//sky/engine", 19 "//sky/engine",
20 "//sky/engine/tonic",
18 "//sky/engine/wtf", 21 "//sky/engine/wtf",
19 "//sky/engine/tonic",
20 "//sky/services/platform", 22 "//sky/services/platform",
21 "//sky/services/viewport", 23 "//sky/services/viewport",
22 "//ui/gfx/geometry", 24 "//ui/gfx/geometry",
23 "//ui/gl", 25 "//ui/gl",
24 ] 26 ]
25 27
28 source_set("common") {
29 sources = [
30 "gpu/ganesh_context.cc",
31 "gpu/ganesh_context.h",
32 "gpu/ganesh_surface.cc",
33 "gpu/ganesh_surface.h",
34 "gpu/rasterizer.cc",
35 "gpu/rasterizer.h",
36 "gpu_delegate.cc",
37 "gpu_delegate.h",
38 "platform_view.cc",
39 "platform_view.h",
40 "service_provider.h",
41 "shell.cc",
42 "shell.h",
43 "shell_view.cc",
44 "shell_view.h",
45 "ui/animator.cc",
46 "ui/animator.h",
47 "ui/engine.cc",
48 "ui/engine.h",
49 "ui/input_event_converter.cc",
50 "ui/input_event_converter.h",
51 "ui/internals.cc",
52 "ui/internals.h",
53 "ui_delegate.cc",
54 "ui_delegate.h",
55 ]
56
57 deps = common_deps
58 }
59
26 if (is_android) { 60 if (is_android) {
27 import("//build/config/android/config.gni") 61 import("//build/config/android/config.gni")
28 import("//build/config/android/rules.gni") 62 import("//build/config/android/rules.gni")
29 63
30 generate_jni("jni_headers") { 64 generate_jni("jni_headers") {
31 sources = [ 65 sources = [
32 "android/org/domokit/sky/shell/PlatformServiceProvider.java", 66 "android/org/domokit/sky/shell/PlatformServiceProvider.java",
33 "android/org/domokit/sky/shell/PlatformViewAndroid.java", 67 "android/org/domokit/sky/shell/PlatformViewAndroid.java",
34 "android/org/domokit/sky/shell/SkyMain.java", 68 "android/org/domokit/sky/shell/SkyMain.java",
35 "android/org/domokit/sky/shell/TracingController.java", 69 "android/org/domokit/sky/shell/TracingController.java",
36 ] 70 ]
37 jni_package = "sky/shell" 71 jni_package = "sky/shell"
38 } 72 }
39 73
40 shared_library("sky_shell") { 74 shared_library("sky_shell") {
41 sources = [ 75 sources = [
42 "android/library_loader.cc", 76 "android/library_loader.cc",
43 "android/platform_service_provider_android.cc", 77 "android/platform_service_provider_android.cc",
44 "android/platform_service_provider_android.h", 78 "android/platform_service_provider_android.h",
45 "android/platform_view_android.cc", 79 "android/platform_view_android.cc",
46 "android/platform_view_android.h", 80 "android/platform_view_android.h",
47 "android/sky_main.cc", 81 "android/sky_main.cc",
48 "android/sky_main.h", 82 "android/sky_main.h",
49 "android/tracing_controller.cc", 83 "android/tracing_controller.cc",
50 "android/tracing_controller.h", 84 "android/tracing_controller.h",
51 "gpu/ganesh_context.cc",
52 "gpu/ganesh_context.h",
53 "gpu/ganesh_surface.cc",
54 "gpu/ganesh_surface.h",
55 "gpu/rasterizer.cc",
56 "gpu/rasterizer.h",
57 "gpu_delegate.cc",
58 "gpu_delegate.h",
59 "platform_view.cc",
60 "platform_view.h",
61 "service_provider.h",
62 "shell.cc",
63 "shell.h",
64 "shell_view.cc",
65 "shell_view.h",
66 "ui/animator.cc",
67 "ui/animator.h",
68 "ui/engine.cc",
69 "ui/engine.h",
70 "ui/input_event_converter.cc",
71 "ui/input_event_converter.h",
72 "ui/internals.cc",
73 "ui/internals.h",
74 "ui_delegate.cc",
75 "ui_delegate.h",
76 ] 85 ]
77 86
78 deps = common_deps + [ 87 deps = common_deps + [
79 "//mojo/android:libsystem_java", 88 "//mojo/android:libsystem_java",
80 ":jni_headers", 89 ":jni_headers",
90 ":common",
81 ] 91 ]
82 } 92 }
83 93
84 android_library("java") { 94 android_library("java") {
85 java_files = [ 95 java_files = [
86 "android/org/domokit/sky/shell/GestureProvider.java", 96 "android/org/domokit/sky/shell/GestureProvider.java",
87 "android/org/domokit/sky/shell/PlatformServiceProvider.java", 97 "android/org/domokit/sky/shell/PlatformServiceProvider.java",
88 "android/org/domokit/sky/shell/PlatformViewAndroid.java", 98 "android/org/domokit/sky/shell/PlatformViewAndroid.java",
89 "android/org/domokit/sky/shell/ServiceFactory.java", 99 "android/org/domokit/sky/shell/ServiceFactory.java",
90 "android/org/domokit/sky/shell/ServiceRegistry.java", 100 "android/org/domokit/sky/shell/ServiceRegistry.java",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 entitlements_path = "ios/Entitlements.xcent" 138 entitlements_path = "ios/Entitlements.xcent"
129 code_signing_identity = ios_code_signing_identity 139 code_signing_identity = ios_code_signing_identity
130 140
131 resource_copy_ios("sky_resources") { 141 resource_copy_ios("sky_resources") {
132 resources = [ "//third_party/icu/android/icudtl.dat" ] 142 resources = [ "//third_party/icu/android/icudtl.dat" ]
133 bundle_directory = "." 143 bundle_directory = "."
134 } 144 }
135 145
136 source_set(scaffolding_target) { 146 source_set(scaffolding_target) {
137 sources = [ 147 sources = [
138 "gpu/ganesh_context.cc",
139 "gpu/ganesh_context.h",
140 "gpu/ganesh_surface.cc",
141 "gpu/ganesh_surface.h",
142 "gpu/rasterizer.cc",
143 "gpu/rasterizer.h",
144 "gpu_delegate.cc",
145 "gpu_delegate.h",
146 "ios/main_ios.mm", 148 "ios/main_ios.mm",
147 "ios/platform_service_provider_ios.cc", 149 "ios/platform_service_provider_ios.cc",
148 "ios/platform_view_ios.h", 150 "ios/platform_view_ios.h",
149 "ios/platform_view_ios.mm", 151 "ios/platform_view_ios.mm",
150 "ios/sky_app_delegate.h", 152 "ios/sky_app_delegate.h",
151 "ios/sky_app_delegate.mm", 153 "ios/sky_app_delegate.mm",
152 "ios/sky_surface.h", 154 "ios/sky_surface.h",
153 "ios/sky_surface.mm", 155 "ios/sky_surface.mm",
154 "ios/sky_view_controller.h", 156 "ios/sky_view_controller.h",
155 "ios/sky_view_controller.mm", 157 "ios/sky_view_controller.mm",
156 "platform_view.cc", 158 "platform_view.cc",
157 "platform_view.h",
158 "shell.cc",
159 "shell.h",
160 "shell_view.cc",
161 "shell_view.h",
162 "ui/animator.cc",
163 "ui/animator.h",
164 "ui/engine.cc",
165 "ui/engine.h",
166 "ui/input_event_converter.cc",
167 "ui/input_event_converter.h",
168 "ui/internals.cc",
169 "ui/internals.h",
170 "ui_delegate.cc",
171 "ui_delegate.h",
172 ] 159 ]
173 160
174 ios_deps = [ "//sky/services/ns_net" ] 161 deps = common_deps + [
175 162 ":common",
176 deps = common_deps + ios_deps 163 "//sky/services/ns_net",
164 ]
177 } 165 }
178 166
179 deps = [ 167 deps = [
180 ":$scaffolding_target", 168 ":$scaffolding_target",
181 ":sky_resources", 169 ":sky_resources",
182 ] 170 ]
183 } 171 }
184 } else { 172 } else {
185 assert(false, "Unsupported platform") 173 assert(false, "Unsupported platform")
186 } 174 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/mojo/asset_bundle.dart ('k') | sky/shell/ui/internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698