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

Side by Side Diff: shell/BUILD.gn

Issue 1061313003: Introduce intent manager. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review Created 5 years, 8 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 | « services/android/intent_receiver.mojom ('k') | shell/android/android_handler.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 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/mojo_application.gni") 7 import("//mojo/public/mojo_application.gni")
8 import("//mojo/public/tools/bindings/mojom.gni") 8 import("//mojo/public/tools/bindings/mojom.gni")
9 import("//mojo/tools/embed/rules.gni") 9 import("//mojo/tools/embed/rules.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 ] 171 ]
172 172
173 if (is_android) { 173 if (is_android) {
174 sources += [ 174 sources += [
175 "android/android_handler.cc", 175 "android/android_handler.cc",
176 "android/android_handler.h", 176 "android/android_handler.h",
177 "android/android_handler_loader.cc", 177 "android/android_handler_loader.cc",
178 "android/android_handler_loader.h", 178 "android/android_handler_loader.h",
179 "android/background_application_loader.cc", 179 "android/background_application_loader.cc",
180 "android/background_application_loader.h", 180 "android/background_application_loader.h",
181 "android/intent_receiver_manager_factory.cc",
182 "android/intent_receiver_manager_factory.h",
183 "android/intent_receiver_manager_impl.cc",
184 "android/intent_receiver_manager_impl.h",
181 "android/keyboard_impl.cc", 185 "android/keyboard_impl.cc",
182 "android/keyboard_impl.h", 186 "android/keyboard_impl.h",
183 "android/native_viewport_application_loader.cc", 187 "android/native_viewport_application_loader.cc",
184 "android/native_viewport_application_loader.h", 188 "android/native_viewport_application_loader.h",
185 "android/ui_application_loader_android.cc", 189 "android/ui_application_loader_android.cc",
186 "android/ui_application_loader_android.h", 190 "android/ui_application_loader_android.h",
187 ] 191 ]
188 192
189 deps += [ 193 deps += [
190 ":jni_headers", 194 ":jni_headers",
191 ":run_android_application_function", 195 ":run_android_application_function",
192 "//mojo/application:content_handler", 196 "//mojo/application:content_handler",
193 "//mojo/services/keyboard/public/interfaces", 197 "//mojo/services/keyboard/public/interfaces",
198 "//services/android:bindings",
194 "//services/gles2", 199 "//services/gles2",
195 "//services/native_viewport:lib", 200 "//services/native_viewport:lib",
196 ] 201 ]
197 } 202 }
198 203
199 # This target includes some files behind #ifdef OS... guards. Since gn is not 204 # This target includes some files behind #ifdef OS... guards. Since gn is not
200 # smart enough to understand preprocess includes, it does complains about 205 # smart enough to understand preprocess includes, it does complains about
201 # these includes when not using the build files for that OS. Suppress checking 206 # these includes when not using the build files for that OS. Suppress checking
202 # so we can enable checking for the rest of the targets in this file. 207 # so we can enable checking for the rest of the targets in this file.
203 # TODO: Might be better to split the files with OS-specific includes out to a 208 # TODO: Might be better to split the files with OS-specific includes out to a
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 deps = [ 243 deps = [
239 "//base", 244 "//base",
240 ] 245 ]
241 } 246 }
242 247
243 if (is_android) { 248 if (is_android) {
244 generate_jni("jni_headers") { 249 generate_jni("jni_headers") {
245 sources = [ 250 sources = [
246 "android/apk/src/org/chromium/mojo/shell/AndroidHandler.java", 251 "android/apk/src/org/chromium/mojo/shell/AndroidHandler.java",
247 "android/apk/src/org/chromium/mojo/shell/Bootstrap.java", 252 "android/apk/src/org/chromium/mojo/shell/Bootstrap.java",
253 "android/apk/src/org/chromium/mojo/shell/IntentReceiverRegistry.java",
248 "android/apk/src/org/chromium/mojo/shell/Keyboard.java", 254 "android/apk/src/org/chromium/mojo/shell/Keyboard.java",
249 "android/apk/src/org/chromium/mojo/shell/ShellMain.java", 255 "android/apk/src/org/chromium/mojo/shell/ShellMain.java",
250 "android/tests/src/org/chromium/mojo/shell/ShellTestBase.java", 256 "android/tests/src/org/chromium/mojo/shell/ShellTestBase.java",
251 ] 257 ]
252 jni_package = "mojo/shell" 258 jni_package = "mojo/shell"
253 } 259 }
254 260
255 android_library("bootstrap_java") { 261 android_library("bootstrap_java") {
256 java_files = [ "android/apk/src/org/chromium/mojo/shell/Bootstrap.java" ] 262 java_files = [ "android/apk/src/org/chromium/mojo/shell/Bootstrap.java" ]
257 263
(...skipping 23 matching lines...) Expand all
281 ] 287 ]
282 288
283 deps = [ 289 deps = [
284 "//base", 290 "//base",
285 ] 291 ]
286 } 292 }
287 293
288 android_library("java") { 294 android_library("java") {
289 java_files = [ 295 java_files = [
290 "android/apk/src/org/chromium/mojo/shell/AndroidHandler.java", 296 "android/apk/src/org/chromium/mojo/shell/AndroidHandler.java",
297 "android/apk/src/org/chromium/mojo/shell/IntentReceiverService.java",
291 "android/apk/src/org/chromium/mojo/shell/FileHelper.java", 298 "android/apk/src/org/chromium/mojo/shell/FileHelper.java",
299 "android/apk/src/org/chromium/mojo/shell/IntentReceiverRegistry.java",
292 "android/apk/src/org/chromium/mojo/shell/Keyboard.java", 300 "android/apk/src/org/chromium/mojo/shell/Keyboard.java",
293 "android/apk/src/org/chromium/mojo/shell/MojoShellActivity.java", 301 "android/apk/src/org/chromium/mojo/shell/MojoShellActivity.java",
294 "android/apk/src/org/chromium/mojo/shell/MojoShellApplication.java", 302 "android/apk/src/org/chromium/mojo/shell/MojoShellApplication.java",
295 "android/apk/src/org/chromium/mojo/shell/ShellMain.java", 303 "android/apk/src/org/chromium/mojo/shell/ShellMain.java",
296 ] 304 ]
297 305
298 deps = [ 306 deps = [
299 "//base:base_java", 307 "//base:base_java",
300 ] 308 ]
301 } 309 }
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 "//mojo/public/cpp/system:system", 483 "//mojo/public/cpp/system:system",
476 "//mojo/services/http_server/public/cpp", 484 "//mojo/services/http_server/public/cpp",
477 "//mojo/services/http_server/public/interfaces", 485 "//mojo/services/http_server/public/interfaces",
478 "//mojo/services/network/public/interfaces", 486 "//mojo/services/network/public/interfaces",
479 "//shell/test:bindings", 487 "//shell/test:bindings",
480 ":embed_pingable", 488 ":embed_pingable",
481 ] 489 ]
482 490
483 data_deps = [ "//services/http_server:http_server($default_toolchain)" ] 491 data_deps = [ "//services/http_server:http_server($default_toolchain)" ]
484 } 492 }
OLDNEW
« no previous file with comments | « services/android/intent_receiver.mojom ('k') | shell/android/android_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698