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

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: Update for API change 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 | « no previous file | 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 common_files = [
29 "gpu/ganesh_context.cc",
30 "gpu/ganesh_context.h",
31 "gpu/ganesh_surface.cc",
32 "gpu/ganesh_surface.h",
33 "gpu/rasterizer.cc",
34 "gpu/rasterizer.h",
35 "gpu_delegate.cc",
36 "gpu_delegate.h",
37 "platform_view.cc",
38 "platform_view.h",
39 "service_provider.h",
40 "shell.cc",
41 "shell.h",
42 "shell_view.cc",
43 "shell_view.h",
44 "ui/animator.cc",
45 "ui/animator.h",
46 "ui/engine.cc",
47 "ui/engine.h",
48 "ui/input_event_converter.cc",
49 "ui/input_event_converter.h",
50 "ui/internals.cc",
51 "ui/internals.h",
52 "ui_delegate.cc",
53 "ui_delegate.h",
54 ]
55
26 if (is_android) { 56 if (is_android) {
27 import("//build/config/android/config.gni") 57 import("//build/config/android/config.gni")
28 import("//build/config/android/rules.gni") 58 import("//build/config/android/rules.gni")
29 59
30 generate_jni("jni_headers") { 60 generate_jni("jni_headers") {
31 sources = [ 61 sources = [
32 "android/org/domokit/sky/shell/PlatformServiceProvider.java", 62 "android/org/domokit/sky/shell/PlatformServiceProvider.java",
33 "android/org/domokit/sky/shell/PlatformViewAndroid.java", 63 "android/org/domokit/sky/shell/PlatformViewAndroid.java",
34 "android/org/domokit/sky/shell/SkyMain.java", 64 "android/org/domokit/sky/shell/SkyMain.java",
35 "android/org/domokit/sky/shell/TracingController.java", 65 "android/org/domokit/sky/shell/TracingController.java",
36 ] 66 ]
37 jni_package = "sky/shell" 67 jni_package = "sky/shell"
38 } 68 }
39 69
40 shared_library("sky_shell") { 70 shared_library("sky_shell") {
41 sources = [ 71 sources = [
42 "android/library_loader.cc", 72 "android/library_loader.cc",
43 "android/platform_service_provider_android.cc", 73 "android/platform_service_provider_android.cc",
44 "android/platform_service_provider_android.h", 74 "android/platform_service_provider_android.h",
45 "android/platform_view_android.cc", 75 "android/platform_view_android.cc",
46 "android/platform_view_android.h", 76 "android/platform_view_android.h",
47 "android/sky_main.cc", 77 "android/sky_main.cc",
48 "android/sky_main.h", 78 "android/sky_main.h",
49 "android/tracing_controller.cc", 79 "android/tracing_controller.cc",
50 "android/tracing_controller.h", 80 "android/tracing_controller.h",
51 "gpu/ganesh_context.cc", 81 ] + common_files
eseidel 2015/06/22 15:59:43 Why use a variable instead of a source set?
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 ]
77 82
78 deps = common_deps + [ 83 deps = common_deps + [
79 "//mojo/android:libsystem_java", 84 "//mojo/android:libsystem_java",
80 ":jni_headers", 85 ":jni_headers",
81 ] 86 ]
82 } 87 }
83 88
84 android_library("java") { 89 android_library("java") {
85 java_files = [ 90 java_files = [
86 "android/org/domokit/sky/shell/GestureProvider.java", 91 "android/org/domokit/sky/shell/GestureProvider.java",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 entitlements_path = "ios/Entitlements.xcent" 133 entitlements_path = "ios/Entitlements.xcent"
129 code_signing_identity = ios_code_signing_identity 134 code_signing_identity = ios_code_signing_identity
130 135
131 resource_copy_ios("sky_resources") { 136 resource_copy_ios("sky_resources") {
132 resources = [ "//third_party/icu/android/icudtl.dat" ] 137 resources = [ "//third_party/icu/android/icudtl.dat" ]
133 bundle_directory = "." 138 bundle_directory = "."
134 } 139 }
135 140
136 source_set(scaffolding_target) { 141 source_set(scaffolding_target) {
137 sources = [ 142 sources = [
138 "gpu/ganesh_context.cc", 143 "ios/main_ios.mm",
139 "gpu/ganesh_context.h", 144 "ios/platform_service_provider_ios.cc",
140 "gpu/ganesh_surface.cc", 145 "ios/platform_view_ios.h",
141 "gpu/ganesh_surface.h", 146 "ios/platform_view_ios.mm",
142 "gpu/rasterizer.cc", 147 "ios/sky_app_delegate.h",
143 "gpu/rasterizer.h", 148 "ios/sky_app_delegate.mm",
144 "gpu_delegate.cc", 149 "ios/sky_surface.h",
145 "gpu_delegate.h", 150 "ios/sky_surface.mm",
146 "ios/main_ios.mm", 151 "ios/sky_view_controller.h",
147 "ios/platform_service_provider_ios.cc", 152 "ios/sky_view_controller.mm",
148 "ios/platform_view_ios.h", 153 "platform_view.cc",
149 "ios/platform_view_ios.mm", 154 ] + common_files
150 "ios/sky_app_delegate.h",
151 "ios/sky_app_delegate.mm",
152 "ios/sky_surface.h",
153 "ios/sky_surface.mm",
154 "ios/sky_view_controller.h",
155 "ios/sky_view_controller.mm",
156 "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 ]
173 155
174 ios_deps = [ "//sky/services/ns_net" ] 156 ios_deps = [ "//sky/services/ns_net" ]
175 157
176 deps = common_deps + ios_deps 158 deps = common_deps + ios_deps
177 } 159 }
178 160
179 deps = [ 161 deps = [
180 ":$scaffolding_target", 162 ":$scaffolding_target",
181 ":sky_resources", 163 ":sky_resources",
182 ] 164 ]
183 } 165 }
184 } else { 166 } else {
185 assert(false, "Unsupported platform") 167 assert(false, "Unsupported platform")
186 } 168 }
OLDNEW
« no previous file with comments | « no previous file | sky/shell/ui/internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698