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

Side by Side Diff: shell/BUILD.gn

Issue 810803003: Moves NativeViewportApplicationLoader into own files (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fix Created 6 years 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 | shell/android/mojo_main.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//mojo/public/mojo.gni") 6 import("//mojo/public/mojo.gni")
7 import("//mojo/public/tools/bindings/mojom.gni") 7 import("//mojo/public/tools/bindings/mojom.gni")
8 8
9 # We don't support building in the component build since mojo apps are 9 # We don't support building in the component build since mojo apps are
10 # inherently components. 10 # inherently components.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 "android/mojo_main.cc", 61 "android/mojo_main.cc",
62 "android/mojo_main.h", 62 "android/mojo_main.h",
63 ] 63 ]
64 64
65 # On android, the executable is also the native library used by the apk. 65 # On android, the executable is also the native library used by the apk.
66 # It means dynamic symbols must be preserved and exported. 66 # It means dynamic symbols must be preserved and exported.
67 ldflags = [ "-Wl,--export-dynamic" ] 67 ldflags = [ "-Wl,--export-dynamic" ]
68 68
69 deps += [ 69 deps += [
70 ":jni_headers", 70 ":jni_headers",
71 "//mojo/application_manager:application_manager",
72 "//services/native_viewport:lib",
71 "//ui/gl", 73 "//ui/gl",
72 ] 74 ]
73 } 75 }
74 } 76 }
75 } # !use_prebuilt_mojo_shell 77 } # !use_prebuilt_mojo_shell
76 78
77 executable("mojo_launcher") { 79 executable("mojo_launcher") {
78 sources = [ 80 sources = [
79 "launcher_main.cc", 81 "launcher_main.cc",
80 ] 82 ]
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 if (is_win) { 189 if (is_win) {
188 deps -= [ "//shell/domain_socket" ] 190 deps -= [ "//shell/domain_socket" ]
189 } 191 }
190 192
191 if (is_android) { 193 if (is_android) {
192 sources += [ 194 sources += [
193 "android/android_handler.cc", 195 "android/android_handler.cc",
194 "android/android_handler.h", 196 "android/android_handler.h",
195 "android/android_handler_loader.cc", 197 "android/android_handler_loader.cc",
196 "android/android_handler_loader.h", 198 "android/android_handler_loader.h",
199 "android/native_viewport_application_loader.cc",
200 "android/native_viewport_application_loader.h",
197 "android/ui_application_loader_android.cc", 201 "android/ui_application_loader_android.cc",
198 "android/ui_application_loader_android.h", 202 "android/ui_application_loader_android.h",
199 ] 203 ]
200 204
201 deps += [ 205 deps += [
202 ":jni_headers", 206 ":jni_headers",
203 ":run_android_application_function", 207 ":run_android_application_function",
204 "//mojo/application:content_handler", 208 "//mojo/application:content_handler",
205 "//services/gles2", 209 "//services/gles2",
206 "//services/native_viewport:lib", 210 "//services/native_viewport:lib",
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 ":run_android_application_function", 251 ":run_android_application_function",
248 "//base", 252 "//base",
249 ] 253 ]
250 } 254 }
251 255
252 # Shared header between the bootstrap and the main shell .so. 256 # Shared header between the bootstrap and the main shell .so.
253 source_set("run_android_application_function") { 257 source_set("run_android_application_function") {
254 sources = [ 258 sources = [
255 "android/run_android_application_function.h", 259 "android/run_android_application_function.h",
256 ] 260 ]
261
262 deps = [
263 "//base",
264 ]
257 } 265 }
258 266
259 android_library("java") { 267 android_library("java") {
260 java_files = [ 268 java_files = [
261 "android/apk/src/org/chromium/mojo_shell_apk/AndroidHandler.java", 269 "android/apk/src/org/chromium/mojo_shell_apk/AndroidHandler.java",
262 "android/apk/src/org/chromium/mojo_shell_apk/FileHelper.java", 270 "android/apk/src/org/chromium/mojo_shell_apk/FileHelper.java",
263 "android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java", 271 "android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java",
264 "android/apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java", 272 "android/apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java",
265 "android/apk/src/org/chromium/mojo_shell_apk/MojoShellApplication.java", 273 "android/apk/src/org/chromium/mojo_shell_apk/MojoShellApplication.java",
266 ] 274 ]
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 453
446 deps -= [ 454 deps -= [
447 ":lib", 455 ":lib",
448 ":external_application_registrar_connection", 456 ":external_application_registrar_connection",
449 ":external_application_registrar_bindings", 457 ":external_application_registrar_bindings",
450 "//shell/domain_socket", 458 "//shell/domain_socket",
451 "//shell/domain_socket:tests", 459 "//shell/domain_socket:tests",
452 ] 460 ]
453 } 461 }
454 } 462 }
OLDNEW
« no previous file with comments | « no previous file | shell/android/mojo_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698