OLD | NEW |
---|---|
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/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//content/browser/browser.gni") | 8 import("//content/browser/browser.gni") |
9 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
10 | 10 |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
335 "//content") | 335 "//content") |
336 sources -= [ | 336 sources -= [ |
337 "browser_ipc_logging.cc", | 337 "browser_ipc_logging.cc", |
338 "device_sensors/data_fetcher_shared_memory_default.cc", | 338 "device_sensors/data_fetcher_shared_memory_default.cc", |
339 "geolocation/network_location_provider.cc", | 339 "geolocation/network_location_provider.cc", |
340 "geolocation/network_location_provider.h", | 340 "geolocation/network_location_provider.h", |
341 "geolocation/network_location_request.cc", | 341 "geolocation/network_location_request.cc", |
342 "geolocation/network_location_request.h", | 342 "geolocation/network_location_request.h", |
343 "power_usage_monitor_impl.cc", | 343 "power_usage_monitor_impl.cc", |
344 "power_usage_monitor_impl.h", | 344 "power_usage_monitor_impl.h", |
345 "renderer_host/begin_frame_observer_proxy.cc", | |
346 "tracing/tracing_ui.cc", | 345 "tracing/tracing_ui.cc", |
347 "tracing/tracing_ui.h", | 346 "tracing/tracing_ui.h", |
348 | 347 |
349 # Android skips most, but not all, of the speech code. | 348 # Android skips most, but not all, of the speech code. |
350 "speech/audio_buffer.cc", | 349 "speech/audio_buffer.cc", |
351 "speech/audio_buffer.h", | 350 "speech/audio_buffer.h", |
352 "speech/audio_encoder.cc", | 351 "speech/audio_encoder.cc", |
353 "speech/audio_encoder.h", | 352 "speech/audio_encoder.h", |
354 "speech/chunked_byte_buffer.cc", | 353 "speech/chunked_byte_buffer.cc", |
355 "speech/chunked_byte_buffer.h", | 354 "speech/chunked_byte_buffer.h", |
356 "speech/endpointer/endpointer.cc", | 355 "speech/endpointer/endpointer.cc", |
357 "speech/endpointer/endpointer.h", | 356 "speech/endpointer/endpointer.h", |
358 "speech/endpointer/energy_endpointer.cc", | 357 "speech/endpointer/energy_endpointer.cc", |
359 "speech/endpointer/energy_endpointer.h", | 358 "speech/endpointer/energy_endpointer.h", |
360 "speech/endpointer/energy_endpointer_params.cc", | 359 "speech/endpointer/energy_endpointer_params.cc", |
361 "speech/endpointer/energy_endpointer_params.h", | 360 "speech/endpointer/energy_endpointer_params.h", |
362 "speech/google_one_shot_remote_engine.cc", | 361 "speech/google_one_shot_remote_engine.cc", |
363 "speech/google_one_shot_remote_engine.h", | 362 "speech/google_one_shot_remote_engine.h", |
364 "speech/google_streaming_remote_engine.cc", | 363 "speech/google_streaming_remote_engine.cc", |
365 "speech/google_streaming_remote_engine.h", | 364 "speech/google_streaming_remote_engine.h", |
366 "speech/speech_recognition_engine.cc", | 365 "speech/speech_recognition_engine.cc", |
367 "speech/speech_recognition_engine.h", | 366 "speech/speech_recognition_engine.h", |
368 "speech/speech_recognizer_impl.cc", | 367 "speech/speech_recognizer_impl.cc", |
369 "speech/speech_recognizer_impl.h", | 368 "speech/speech_recognizer_impl.h", |
370 ] | 369 ] |
370 if (!use_aura) { | |
371 sources -= [ | |
372 "renderer_host/begin_frame_observer_proxy.cc", | |
no sievers
2015/10/22 21:11:59
you can just move this into the else-path below wh
| |
373 ] | |
374 } | |
371 deps -= [ "//device/battery" ] | 375 deps -= [ "//device/battery" ] |
372 deps += [ | 376 deps += [ |
373 "//content/public/android:jni", | 377 "//content/public/android:jni", |
374 "//media", | 378 "//media", |
375 "//mojo/android:libsystem_java", | 379 "//mojo/android:libsystem_java", |
376 "//ui/android", | 380 "//ui/android", |
377 ] | 381 ] |
378 libs += [ "jnigraphics" ] | 382 libs += [ "jnigraphics" ] |
379 } | 383 } |
380 | 384 |
(...skipping 23 matching lines...) Expand all Loading... | |
404 ] | 408 ] |
405 } | 409 } |
406 | 410 |
407 if (use_aura) { | 411 if (use_aura) { |
408 deps += [ | 412 deps += [ |
409 "//ui/aura", | 413 "//ui/aura", |
410 "//ui/aura_extra", | 414 "//ui/aura_extra", |
411 "//ui/strings", | 415 "//ui/strings", |
412 "//ui/wm", | 416 "//ui/wm", |
413 ] | 417 ] |
418 | |
419 if (is_android) { | |
420 sources-= [ | |
421 "accessibility/accessibility_tree_formatter_android.cc", | |
422 "accessibility/browser_accessibility_android.cc", | |
423 "accessibility/browser_accessibility_android.h", | |
424 "accessibility/browser_accessibility_manager_android.cc", | |
425 "accessibility/browser_accessibility_manager_android.h", | |
426 | |
427 "android/animation_utils.h", | |
428 "android/background_sync_launcher_android.cc", | |
429 "android/background_sync_launcher_android.h", | |
430 # "android/browser_jni_registrar.cc", | |
431 # "android/browser_jni_registrar.h", | |
432 # "android/browser_startup_controller.cc", | |
433 # "android/browser_startup_controller.h", | |
434 "android/browser_surface_texture_manager.cc", | |
no sievers
2015/10/22 21:11:59
keep browser_surface_texture_manager.cc./.h
mfomitchev
2015/11/03 22:23:19
Done.
| |
435 "android/browser_surface_texture_manager.h", | |
436 | |
437 # "android/child_process_launcher_android.cc", | |
438 # "android/child_process_launcher_android.h", | |
439 | |
440 "android/composited_touch_handle_drawable.cc", | |
441 "android/composited_touch_handle_drawable.h", | |
442 "android/content_protocol_handler_impl.cc", | |
443 "android/content_protocol_handler_impl.h", | |
no sievers
2015/10/22 21:11:59
keep content_protocol_handler_impl.cc/.h
mfomitchev
2015/11/03 22:23:19
Done.
| |
444 "android/content_readback_handler.cc", | |
445 "android/content_readback_handler.h", | |
446 # "android/content_startup_flags.cc", | |
447 # "android/content_startup_flags.h", | |
448 "android/content_video_view.cc", | |
449 "android/content_video_view.h", | |
450 "android/content_view_core_impl.cc", | |
451 "android/content_view_core_impl.h", | |
452 "android/content_view_render_view.cc", | |
453 "android/content_view_render_view.h", | |
454 "android/content_view_statics.cc", | |
455 "android/content_view_statics.h", | |
456 "android/date_time_chooser_android.cc", | |
457 "android/date_time_chooser_android.h", | |
458 "android/deferred_download_observer.cc", | |
459 "android/deferred_download_observer.h", | |
460 # "android/devtools_auth.cc", | |
461 "android/download_controller_android_impl.cc", | |
462 "android/download_controller_android_impl.h", | |
463 "android/edge_effect.cc", | |
464 "android/edge_effect.h", | |
465 "android/edge_effect_l.cc", | |
466 "android/edge_effect_l.h", | |
467 "android/in_process/context_provider_in_process.cc", | |
468 "android/in_process/context_provider_in_process.h", | |
469 "android/in_process/synchronous_compositor_external_begin_frame_source.c c", | |
470 "android/in_process/synchronous_compositor_external_begin_frame_source.h ", | |
471 "android/in_process/synchronous_compositor_factory_impl.cc", | |
472 "android/in_process/synchronous_compositor_factory_impl.h", | |
473 "android/in_process/synchronous_compositor_impl.cc", | |
474 "android/in_process/synchronous_compositor_impl.h", | |
475 "android/in_process/synchronous_compositor_output_surface.cc", | |
476 "android/in_process/synchronous_compositor_output_surface.h", | |
477 "android/in_process/synchronous_compositor_registry.cc", | |
478 "android/in_process/synchronous_compositor_registry.h", | |
479 "android/in_process/synchronous_input_event_filter.cc", | |
480 "android/in_process/synchronous_input_event_filter.h", | |
481 "android/in_process_surface_texture_manager.cc", | |
no sievers
2015/10/22 21:11:59
keep in_process_surface_texture_manager.cc/.h
mfomitchev
2015/11/03 22:23:19
Done.
| |
482 "android/in_process_surface_texture_manager.h", | |
483 "android/interstitial_page_delegate_android.cc", | |
484 "android/interstitial_page_delegate_android.h", | |
485 "android/load_url_params.cc", | |
486 "android/load_url_params.h", | |
487 "android/overscroll_controller_android.cc", | |
488 "android/overscroll_controller_android.h", | |
489 "android/overscroll_glow.cc", | |
490 "android/overscroll_glow.h", | |
491 "android/overscroll_refresh.cc", | |
492 "android/overscroll_refresh.h", | |
493 "android/popup_touch_handle_drawable.cc", | |
494 "android/popup_touch_handle_drawable.h", | |
495 "android/tracing_controller_android.cc", | |
496 "android/tracing_controller_android.h", | |
497 "android/url_request_content_job.cc", | |
498 "android/url_request_content_job.h", | |
499 "android/web_contents_observer_proxy.cc", | |
500 "android/web_contents_observer_proxy.h", | |
501 | |
502 "media/android/browser_media_player_manager.h", | |
503 "media/android/browser_media_player_manager.cc", | |
no sievers
2015/10/22 21:11:59
I think we can keep browser_media_player_manager.c
mfomitchev
2015/11/03 22:23:19
Done.
| |
504 "media/android/media_session.h", | |
505 "media/android/media_session.cc", | |
506 | |
507 "renderer_host/compositor_impl_android.cc", | |
508 "renderer_host/ime_adapter_android.cc", | |
509 "renderer_host/ime_adapter_android.h", | |
510 "renderer_host/input/synthetic_gesture_target_android.h", | |
511 "renderer_host/input/synthetic_gesture_target_android.cc", | |
512 "renderer_host/native_web_keyboard_event_android.cc", | |
513 "renderer_host/render_widget_host_view_android.cc", | |
514 "renderer_host/render_widget_host_view_android.h", | |
515 "screen_orientation/screen_orientation_delegate_android.cc", | |
516 "screen_orientation/screen_orientation_delegate_android.h", | |
517 "screen_orientation/screen_orientation_message_filter_android.cc", | |
518 "screen_orientation/screen_orientation_message_filter_android.h", | |
519 "web_contents/web_contents_android.cc", | |
520 "web_contents/web_contents_android.h", | |
521 "web_contents/web_contents_view_android.cc", | |
522 "web_contents/web_contents_view_android.h", | |
523 "power_save_blocker_android.cc", | |
524 ] | |
525 } | |
414 } else { # Not aura. | 526 } else { # Not aura. |
415 sources -= [ | 527 sources -= [ |
416 "renderer_host/compositor_resize_lock_aura.cc", | 528 "renderer_host/compositor_resize_lock_aura.cc", |
417 "renderer_host/compositor_resize_lock_aura.h", | 529 "renderer_host/compositor_resize_lock_aura.h", |
418 "renderer_host/input/synthetic_gesture_target_aura.cc", | 530 "renderer_host/input/synthetic_gesture_target_aura.cc", |
419 "renderer_host/input/synthetic_gesture_target_aura.h", | 531 "renderer_host/input/synthetic_gesture_target_aura.h", |
420 "renderer_host/input/touch_selection_controller_client_aura.cc", | 532 "renderer_host/input/touch_selection_controller_client_aura.cc", |
421 "renderer_host/input/touch_selection_controller_client_aura.h", | 533 "renderer_host/input/touch_selection_controller_client_aura.h", |
422 "renderer_host/native_web_keyboard_event_aura.cc", | 534 "renderer_host/native_web_keyboard_event_aura.cc", |
423 "renderer_host/render_widget_host_view_aura.cc", | 535 "renderer_host/render_widget_host_view_aura.cc", |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
508 | 620 |
509 if (enable_webvr && is_android) { | 621 if (enable_webvr && is_android) { |
510 sources += [ | 622 sources += [ |
511 "vr/android/cardboard/cardboard_vr_device.cc", | 623 "vr/android/cardboard/cardboard_vr_device.cc", |
512 "vr/android/cardboard/cardboard_vr_device.h", | 624 "vr/android/cardboard/cardboard_vr_device.h", |
513 "vr/android/cardboard/cardboard_vr_device_provider.cc", | 625 "vr/android/cardboard/cardboard_vr_device_provider.cc", |
514 "vr/android/cardboard/cardboard_vr_device_provider.h", | 626 "vr/android/cardboard/cardboard_vr_device_provider.h", |
515 ] | 627 ] |
516 } | 628 } |
517 } | 629 } |
OLD | NEW |