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

Side by Side Diff: shell/BUILD.gn

Issue 1061313003: Introduce intent manager. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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
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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 ] 178 ]
179 179
180 if (is_android) { 180 if (is_android) {
181 sources += [ 181 sources += [
182 "android/android_handler.cc", 182 "android/android_handler.cc",
183 "android/android_handler.h", 183 "android/android_handler.h",
184 "android/android_handler_loader.cc", 184 "android/android_handler_loader.cc",
185 "android/android_handler_loader.h", 185 "android/android_handler_loader.h",
186 "android/background_application_loader.cc", 186 "android/background_application_loader.cc",
187 "android/background_application_loader.h", 187 "android/background_application_loader.h",
188 "android/intent_manager_factory.cc",
189 "android/intent_manager_factory.h",
190 "android/intent_manager_impl.cc",
191 "android/intent_manager_impl.h",
188 "android/keyboard_impl.cc", 192 "android/keyboard_impl.cc",
189 "android/keyboard_impl.h", 193 "android/keyboard_impl.h",
190 "android/native_viewport_application_loader.cc", 194 "android/native_viewport_application_loader.cc",
191 "android/native_viewport_application_loader.h", 195 "android/native_viewport_application_loader.h",
192 "android/ui_application_loader_android.cc", 196 "android/ui_application_loader_android.cc",
193 "android/ui_application_loader_android.h", 197 "android/ui_application_loader_android.h",
194 ] 198 ]
195 199
196 deps += [ 200 deps += [
197 ":jni_headers", 201 ":jni_headers",
198 ":run_android_application_function", 202 ":run_android_application_function",
199 "//mojo/application:content_handler", 203 "//mojo/application:content_handler",
200 "//mojo/services/keyboard/public/interfaces", 204 "//mojo/services/keyboard/public/interfaces",
205 "//services/android:bindings",
201 "//services/gles2", 206 "//services/gles2",
202 "//services/native_viewport:lib", 207 "//services/native_viewport:lib",
203 ] 208 ]
204 } 209 }
205 210
206 # This target includes some files behind #ifdef OS... guards. Since gn is not 211 # This target includes some files behind #ifdef OS... guards. Since gn is not
207 # smart enough to understand preprocess includes, it does complains about 212 # smart enough to understand preprocess includes, it does complains about
208 # these includes when not using the build files for that OS. Suppress checking 213 # these includes when not using the build files for that OS. Suppress checking
209 # so we can enable checking for the rest of the targets in this file. 214 # so we can enable checking for the rest of the targets in this file.
210 # TODO: Might be better to split the files with OS-specific includes out to a 215 # 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
245 deps = [ 250 deps = [
246 "//base", 251 "//base",
247 ] 252 ]
248 } 253 }
249 254
250 if (is_android) { 255 if (is_android) {
251 generate_jni("jni_headers") { 256 generate_jni("jni_headers") {
252 sources = [ 257 sources = [
253 "android/apk/src/org/chromium/mojo/shell/AndroidHandler.java", 258 "android/apk/src/org/chromium/mojo/shell/AndroidHandler.java",
254 "android/apk/src/org/chromium/mojo/shell/Bootstrap.java", 259 "android/apk/src/org/chromium/mojo/shell/Bootstrap.java",
260 "android/apk/src/org/chromium/mojo/shell/IntentReceiverRegistry.java",
255 "android/apk/src/org/chromium/mojo/shell/Keyboard.java", 261 "android/apk/src/org/chromium/mojo/shell/Keyboard.java",
256 "android/apk/src/org/chromium/mojo/shell/ShellMain.java", 262 "android/apk/src/org/chromium/mojo/shell/ShellMain.java",
257 "android/tests/src/org/chromium/mojo/shell/ShellTestBase.java", 263 "android/tests/src/org/chromium/mojo/shell/ShellTestBase.java",
258 ] 264 ]
259 jni_package = "mojo/shell" 265 jni_package = "mojo/shell"
260 } 266 }
261 267
262 android_library("bootstrap_java") { 268 android_library("bootstrap_java") {
263 java_files = [ "android/apk/src/org/chromium/mojo/shell/Bootstrap.java" ] 269 java_files = [ "android/apk/src/org/chromium/mojo/shell/Bootstrap.java" ]
264 270
(...skipping 23 matching lines...) Expand all
288 ] 294 ]
289 295
290 deps = [ 296 deps = [
291 "//base", 297 "//base",
292 ] 298 ]
293 } 299 }
294 300
295 android_library("java") { 301 android_library("java") {
296 java_files = [ 302 java_files = [
297 "android/apk/src/org/chromium/mojo/shell/AndroidHandler.java", 303 "android/apk/src/org/chromium/mojo/shell/AndroidHandler.java",
304 "android/apk/src/org/chromium/mojo/shell/DelegatingIntentService.java",
298 "android/apk/src/org/chromium/mojo/shell/FileHelper.java", 305 "android/apk/src/org/chromium/mojo/shell/FileHelper.java",
306 "android/apk/src/org/chromium/mojo/shell/IntentReceiverRegistry.java",
299 "android/apk/src/org/chromium/mojo/shell/Keyboard.java", 307 "android/apk/src/org/chromium/mojo/shell/Keyboard.java",
300 "android/apk/src/org/chromium/mojo/shell/MojoShellActivity.java", 308 "android/apk/src/org/chromium/mojo/shell/MojoShellActivity.java",
301 "android/apk/src/org/chromium/mojo/shell/MojoShellApplication.java", 309 "android/apk/src/org/chromium/mojo/shell/MojoShellApplication.java",
302 "android/apk/src/org/chromium/mojo/shell/ShellMain.java", 310 "android/apk/src/org/chromium/mojo/shell/ShellMain.java",
303 ] 311 ]
304 312
305 deps = [ 313 deps = [
306 "//base:base_java", 314 "//base:base_java",
307 ] 315 ]
308 } 316 }
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 "//mojo/public/cpp/system:system", 543 "//mojo/public/cpp/system:system",
536 "//mojo/services/http_server/public/cpp", 544 "//mojo/services/http_server/public/cpp",
537 "//mojo/services/http_server/public/interfaces", 545 "//mojo/services/http_server/public/interfaces",
538 "//mojo/services/network/public/interfaces", 546 "//mojo/services/network/public/interfaces",
539 "//shell/test:bindings", 547 "//shell/test:bindings",
540 ":embed_pingable", 548 ":embed_pingable",
541 ] 549 ]
542 550
543 data_deps = [ "//services/http_server:http_server($default_toolchain)" ] 551 data_deps = [ "//services/http_server:http_server($default_toolchain)" ]
544 } 552 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698