Chromium Code Reviews| 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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 334 "//content") | 334 "//content") |
| 335 sources -= [ | 335 sources -= [ |
| 336 "browser_ipc_logging.cc", | 336 "browser_ipc_logging.cc", |
| 337 "device_sensors/data_fetcher_shared_memory_default.cc", | 337 "device_sensors/data_fetcher_shared_memory_default.cc", |
| 338 "geolocation/network_location_provider.cc", | 338 "geolocation/network_location_provider.cc", |
| 339 "geolocation/network_location_provider.h", | 339 "geolocation/network_location_provider.h", |
| 340 "geolocation/network_location_request.cc", | 340 "geolocation/network_location_request.cc", |
| 341 "geolocation/network_location_request.h", | 341 "geolocation/network_location_request.h", |
| 342 "power_usage_monitor_impl.cc", | 342 "power_usage_monitor_impl.cc", |
| 343 "power_usage_monitor_impl.h", | 343 "power_usage_monitor_impl.h", |
| 344 "renderer_host/begin_frame_observer_proxy.cc", | |
| 345 "tracing/tracing_ui.cc", | 344 "tracing/tracing_ui.cc", |
| 346 "tracing/tracing_ui.h", | 345 "tracing/tracing_ui.h", |
| 347 | 346 |
| 348 # Android skips most, but not all, of the speech code. | 347 # Android skips most, but not all, of the speech code. |
| 349 "speech/audio_buffer.cc", | 348 "speech/audio_buffer.cc", |
| 350 "speech/audio_buffer.h", | 349 "speech/audio_buffer.h", |
| 351 "speech/audio_encoder.cc", | 350 "speech/audio_encoder.cc", |
| 352 "speech/audio_encoder.h", | 351 "speech/audio_encoder.h", |
| 353 "speech/chunked_byte_buffer.cc", | 352 "speech/chunked_byte_buffer.cc", |
| 354 "speech/chunked_byte_buffer.h", | 353 "speech/chunked_byte_buffer.h", |
| 355 "speech/endpointer/endpointer.cc", | 354 "speech/endpointer/endpointer.cc", |
| 356 "speech/endpointer/endpointer.h", | 355 "speech/endpointer/endpointer.h", |
| 357 "speech/endpointer/energy_endpointer.cc", | 356 "speech/endpointer/energy_endpointer.cc", |
| 358 "speech/endpointer/energy_endpointer.h", | 357 "speech/endpointer/energy_endpointer.h", |
| 359 "speech/endpointer/energy_endpointer_params.cc", | 358 "speech/endpointer/energy_endpointer_params.cc", |
| 360 "speech/endpointer/energy_endpointer_params.h", | 359 "speech/endpointer/energy_endpointer_params.h", |
| 361 "speech/google_one_shot_remote_engine.cc", | 360 "speech/google_one_shot_remote_engine.cc", |
| 362 "speech/google_one_shot_remote_engine.h", | 361 "speech/google_one_shot_remote_engine.h", |
| 363 "speech/google_streaming_remote_engine.cc", | 362 "speech/google_streaming_remote_engine.cc", |
| 364 "speech/google_streaming_remote_engine.h", | 363 "speech/google_streaming_remote_engine.h", |
| 365 "speech/speech_recognition_engine.cc", | 364 "speech/speech_recognition_engine.cc", |
| 366 "speech/speech_recognition_engine.h", | 365 "speech/speech_recognition_engine.h", |
| 367 "speech/speech_recognizer_impl.cc", | 366 "speech/speech_recognizer_impl.cc", |
| 368 "speech/speech_recognizer_impl.h", | 367 "speech/speech_recognizer_impl.h", |
| 369 ] | 368 ] |
| 369 if (!use_aura) { | |
| 370 sources -= [ | |
| 371 "renderer_host/begin_frame_observer_proxy.cc", | |
|
no sievers
2015/11/02 22:27:15
you can just move this into the else-path below wh
mfomitchev
2015/11/03 22:23:19
Hmm... currently it is only excluded on Android an
no sievers
2015/11/04 01:59:31
It's only used from RWHVAura, so I'd remove it bel
| |
| 372 ] | |
| 373 } | |
| 370 deps -= [ "//device/battery" ] | 374 deps -= [ "//device/battery" ] |
| 371 deps += [ | 375 deps += [ |
| 372 "//content/public/android:jni", | 376 "//content/public/android:jni", |
| 373 "//media", | 377 "//media", |
| 374 "//mojo/android:libsystem_java", | 378 "//mojo/android:libsystem_java", |
| 375 "//ui/android", | 379 "//ui/android", |
| 376 ] | 380 ] |
| 377 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ] | 381 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ] |
| 378 libs += [ "jnigraphics" ] | 382 libs += [ "jnigraphics" ] |
| 379 } | 383 } |
| (...skipping 24 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-= [ | |
|
no sievers
2015/11/02 22:27:15
Can you put these into 'android_browser_non_aura_s
mfomitchev
2015/11/03 22:23:19
Done.
| |
| 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/browser_jni_registrar.cc", | |
| 428 # "android/browser_jni_registrar.h", | |
| 429 # "android/browser_startup_controller.cc", | |
| 430 # "android/browser_startup_controller.h", | |
| 431 # "android/browser_surface_texture_manager.cc", | |
| 432 # "android/browser_surface_texture_manager.h", | |
| 433 | |
| 434 # "android/child_process_launcher_android.cc", | |
| 435 # "android/child_process_launcher_android.h", | |
| 436 | |
| 437 "android/composited_touch_handle_drawable.cc", | |
| 438 "android/composited_touch_handle_drawable.h", | |
| 439 "android/content_protocol_handler_impl.cc", | |
| 440 "android/content_protocol_handler_impl.h", | |
| 441 "android/content_readback_handler.cc", | |
| 442 "android/content_readback_handler.h", | |
| 443 # "android/content_startup_flags.cc", | |
| 444 # "android/content_startup_flags.h", | |
| 445 # "android/content_video_view.cc", | |
| 446 # "android/content_video_view.h", | |
| 447 "android/content_view_core_impl.cc", | |
| 448 "android/content_view_core_impl.h", | |
| 449 "android/content_view_render_view.cc", | |
| 450 "android/content_view_render_view.h", | |
| 451 "android/content_view_statics.cc", | |
| 452 "android/content_view_statics.h", | |
| 453 "android/date_time_chooser_android.cc", | |
| 454 "android/date_time_chooser_android.h", | |
| 455 "android/deferred_download_observer.cc", | |
| 456 "android/deferred_download_observer.h", | |
| 457 # "android/devtools_auth.cc", | |
| 458 "android/download_controller_android_impl.cc", | |
| 459 "android/download_controller_android_impl.h", | |
| 460 "android/in_process/context_provider_in_process.cc", | |
| 461 "android/in_process/context_provider_in_process.h", | |
|
no sievers
2015/11/02 22:27:15
android/in_process/* you can now exclude by puttin
mfomitchev
2015/11/03 22:23:19
Done.
| |
| 462 "android/in_process/synchronous_compositor_factory_impl.cc", | |
| 463 "android/in_process/synchronous_compositor_factory_impl.h", | |
| 464 "android/in_process/synchronous_compositor_impl.cc", | |
| 465 "android/in_process/synchronous_compositor_impl.h", | |
| 466 "android/in_process/synchronous_input_event_filter.cc", | |
| 467 "android/in_process/synchronous_input_event_filter.h", | |
| 468 # "android/in_process_surface_texture_manager.cc", | |
| 469 # "android/in_process_surface_texture_manager.h", | |
| 470 "android/interstitial_page_delegate_android.cc", | |
| 471 "android/interstitial_page_delegate_android.h", | |
| 472 "android/load_url_params.cc", | |
| 473 "android/load_url_params.h", | |
| 474 "android/overscroll_controller_android.cc", | |
| 475 "android/overscroll_controller_android.h", | |
| 476 "android/popup_touch_handle_drawable.cc", | |
| 477 "android/popup_touch_handle_drawable.h", | |
| 478 "android/tracing_controller_android.cc", | |
| 479 "android/tracing_controller_android.h", | |
| 480 # "android/url_request_content_job.cc", | |
| 481 # "android/url_request_content_job.h", | |
| 482 "android/web_contents_observer_proxy.cc", | |
| 483 "android/web_contents_observer_proxy.h", | |
| 484 | |
| 485 # "media/android/browser_media_player_manager.h", | |
| 486 # "media/android/browser_media_player_manager.cc", | |
| 487 # "media/android/media_session.h", | |
| 488 # "media/android/media_session.cc", | |
| 489 | |
| 490 "renderer_host/compositor_impl_android.cc", | |
| 491 "renderer_host/ime_adapter_android.cc", | |
| 492 "renderer_host/ime_adapter_android.h", | |
| 493 "renderer_host/input/synthetic_gesture_target_android.h", | |
| 494 "renderer_host/input/synthetic_gesture_target_android.cc", | |
| 495 "renderer_host/native_web_keyboard_event_android.cc", | |
| 496 "renderer_host/render_widget_host_view_android.cc", | |
| 497 "renderer_host/render_widget_host_view_android.h", | |
| 498 "screen_orientation/screen_orientation_delegate_android.cc", | |
| 499 "screen_orientation/screen_orientation_delegate_android.h", | |
| 500 "screen_orientation/screen_orientation_message_filter_android.cc", | |
| 501 "screen_orientation/screen_orientation_message_filter_android.h", | |
| 502 "web_contents/web_contents_android.cc", | |
| 503 "web_contents/web_contents_android.h", | |
| 504 "web_contents/web_contents_view_android.cc", | |
| 505 "web_contents/web_contents_view_android.h", | |
| 506 "power_save_blocker_android.cc", | |
| 507 ] | |
| 508 } | |
| 414 } else { # Not aura. | 509 } else { # Not aura. |
| 415 sources -= [ | 510 sources -= [ |
| 416 "renderer_host/compositor_resize_lock_aura.cc", | 511 "renderer_host/compositor_resize_lock_aura.cc", |
| 417 "renderer_host/compositor_resize_lock_aura.h", | 512 "renderer_host/compositor_resize_lock_aura.h", |
| 418 "renderer_host/input/synthetic_gesture_target_aura.cc", | 513 "renderer_host/input/synthetic_gesture_target_aura.cc", |
| 419 "renderer_host/input/synthetic_gesture_target_aura.h", | 514 "renderer_host/input/synthetic_gesture_target_aura.h", |
| 420 "renderer_host/input/touch_selection_controller_client_aura.cc", | 515 "renderer_host/input/touch_selection_controller_client_aura.cc", |
| 421 "renderer_host/input/touch_selection_controller_client_aura.h", | 516 "renderer_host/input/touch_selection_controller_client_aura.h", |
| 422 "renderer_host/native_web_keyboard_event_aura.cc", | 517 "renderer_host/native_web_keyboard_event_aura.cc", |
| 423 "renderer_host/render_widget_host_view_aura.cc", | 518 "renderer_host/render_widget_host_view_aura.cc", |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 512 | 607 |
| 513 if (enable_webvr && is_android) { | 608 if (enable_webvr && is_android) { |
| 514 sources += [ | 609 sources += [ |
| 515 "vr/android/cardboard/cardboard_vr_device.cc", | 610 "vr/android/cardboard/cardboard_vr_device.cc", |
| 516 "vr/android/cardboard/cardboard_vr_device.h", | 611 "vr/android/cardboard/cardboard_vr_device.h", |
| 517 "vr/android/cardboard/cardboard_vr_device_provider.cc", | 612 "vr/android/cardboard/cardboard_vr_device_provider.cc", |
| 518 "vr/android/cardboard/cardboard_vr_device_provider.h", | 613 "vr/android/cardboard/cardboard_vr_device_provider.h", |
| 519 ] | 614 ] |
| 520 } | 615 } |
| 521 } | 616 } |
| OLD | NEW |