| 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//content/browser/browser.gni") | 7 import("//content/browser/browser.gni") |
| 8 | 8 |
| 9 config("storage_config") { | 9 config("storage_config") { |
| 10 if (is_android) { | 10 if (is_android) { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 "//ui/accessibility:ax_gen", | 42 "//ui/accessibility:ax_gen", |
| 43 "//ui/base", | 43 "//ui/base", |
| 44 "//ui/events", | 44 "//ui/events", |
| 45 "//ui/events:gesture_detection", | 45 "//ui/events:gesture_detection", |
| 46 "//ui/gfx", | 46 "//ui/gfx", |
| 47 "//ui/gfx/geometry", | 47 "//ui/gfx/geometry", |
| 48 "//ui/gl", | 48 "//ui/gl", |
| 49 "//ui/native_theme", | 49 "//ui/native_theme", |
| 50 "//ui/resources", | 50 "//ui/resources", |
| 51 "//ui/snapshot", | 51 "//ui/snapshot", |
| 52 "//ui/wm", | |
| 53 ] | 52 ] |
| 54 | 53 |
| 55 if (is_ios) { | 54 if (is_ios) { |
| 56 # iOS doesn't get the normal file list and only takes these whitelisted | 55 # iOS doesn't get the normal file list and only takes these whitelisted |
| 57 # files. | 56 # files. |
| 58 sources = [ | 57 sources = [ |
| 59 "browser_context.cc", | 58 "browser_context.cc", |
| 60 "browser_main_loop.cc", | 59 "browser_main_loop.cc", |
| 61 "browser_main_runner.cc", | 60 "browser_main_runner.cc", |
| 62 "browser_process_sub_thread.cc", | 61 "browser_process_sub_thread.cc", |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 sources += [ | 129 sources += [ |
| 131 "power_profiler/power_data_provider_ia_win.cc", | 130 "power_profiler/power_data_provider_ia_win.cc", |
| 132 "power_profiler/power_data_provider_ia_win.h", | 131 "power_profiler/power_data_provider_ia_win.h", |
| 133 ] | 132 ] |
| 134 deps += [ "//third_party/power_gadget" ] | 133 deps += [ "//third_party/power_gadget" ] |
| 135 } else { | 134 } else { |
| 136 sources += [ "power_profiler/power_data_provider_dummy.cc" ] | 135 sources += [ "power_profiler/power_data_provider_dummy.cc" ] |
| 137 sources -= [ "renderer_host/web_input_event_aurawin.cc" ] | 136 sources -= [ "renderer_host/web_input_event_aurawin.cc" ] |
| 138 } | 137 } |
| 139 | 138 |
| 140 if (!is_win && !is_mac && (!is_linux || !use_udev)) { | 139 if (!is_win && !is_mac && !is_android && (!is_linux || !use_udev)) { |
| 141 sources += [ "gamepad/gamepad_platform_data_fetcher.cc" ] | 140 sources += [ "gamepad/gamepad_platform_data_fetcher.cc" ] |
| 142 } | 141 } |
| 143 | 142 |
| 144 if (printing_mode != 0) { | 143 if (printing_mode != 0) { |
| 145 deps += [ "//printing" ] | 144 deps += [ "//printing" ] |
| 146 } | 145 } |
| 147 | 146 |
| 148 # TODO(GYP) | 147 # TODO(GYP) |
| 149 # ['OS!="ios" and chrome_multiple_dll!=1', { | 148 # ['OS!="ios" and chrome_multiple_dll!=1', { |
| 150 # 'dependencies': [ | 149 # 'dependencies': [ |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 | 253 |
| 255 if (is_linux && use_aura) { | 254 if (is_linux && use_aura) { |
| 256 configs += [ "//build/config/linux:fontconfig" ] | 255 configs += [ "//build/config/linux:fontconfig" ] |
| 257 } | 256 } |
| 258 | 257 |
| 259 if (use_x11) { | 258 if (use_x11) { |
| 260 configs += [ "//build/config/linux:x11" ] | 259 configs += [ "//build/config/linux:x11" ] |
| 261 } else { | 260 } else { |
| 262 sources -= [ | 261 sources -= [ |
| 263 "power_save_blocker_x11.cc", | 262 "power_save_blocker_x11.cc", |
| 263 "renderer_host/web_input_event_aurax11.cc", |
| 264 ] | 264 ] |
| 265 } | 265 } |
| 266 | 266 |
| 267 if (use_pango) { | 267 if (use_pango) { |
| 268 configs += [ "//build/config/linux:pangocairo" ] | 268 configs += [ "//build/config/linux:pangocairo" ] |
| 269 } | 269 } |
| 270 | 270 |
| 271 if (is_android) { | 271 if (is_android) { |
| 272 sources += rebase_path(content_browser_gypi_values.android_browser_sources, | 272 sources += rebase_path(content_browser_gypi_values.android_browser_sources, |
| 273 ".", "//content") | 273 ".", "//content") |
| (...skipping 27 matching lines...) Expand all Loading... |
| 301 "speech/google_one_shot_remote_engine.cc", | 301 "speech/google_one_shot_remote_engine.cc", |
| 302 "speech/google_one_shot_remote_engine.h", | 302 "speech/google_one_shot_remote_engine.h", |
| 303 "speech/google_streaming_remote_engine.cc", | 303 "speech/google_streaming_remote_engine.cc", |
| 304 "speech/google_streaming_remote_engine.h", | 304 "speech/google_streaming_remote_engine.h", |
| 305 "speech/speech_recognition_engine.cc", | 305 "speech/speech_recognition_engine.cc", |
| 306 "speech/speech_recognition_engine.h", | 306 "speech/speech_recognition_engine.h", |
| 307 "speech/speech_recognizer_impl.cc", | 307 "speech/speech_recognizer_impl.cc", |
| 308 "speech/speech_recognizer_impl.h", | 308 "speech/speech_recognizer_impl.h", |
| 309 ] | 309 ] |
| 310 deps += [ | 310 deps += [ |
| 311 #"//content:jni_headers", TODO(GYP) | 311 "//content/public/android:jni", |
| 312 "//media", | 312 "//media", |
| 313 ] | 313 ] |
| 314 libs += [ "jnigraphics" ] | 314 libs += [ "jnigraphics" ] |
| 315 } | 315 } |
| 316 | 316 |
| 317 if (is_mac) { | 317 if (is_mac) { |
| 318 sources -= [ | 318 sources -= [ |
| 319 "device_sensors/data_fetcher_shared_memory_default.cc", | 319 "device_sensors/data_fetcher_shared_memory_default.cc", |
| 320 "geolocation/empty_wifi_data_provider.cc", | 320 "geolocation/empty_wifi_data_provider.cc", |
| 321 "geolocation/empty_wifi_data_provider.h", | 321 "geolocation/empty_wifi_data_provider.h", |
| (...skipping 13 matching lines...) Expand all Loading... |
| 335 if (!use_ozone || is_chromeos) { | 335 if (!use_ozone || is_chromeos) { |
| 336 sources -= [ | 336 sources -= [ |
| 337 "power_save_blocker_ozone.cc", | 337 "power_save_blocker_ozone.cc", |
| 338 ] | 338 ] |
| 339 } | 339 } |
| 340 | 340 |
| 341 if (use_aura) { | 341 if (use_aura) { |
| 342 deps += [ | 342 deps += [ |
| 343 "//ui/aura", | 343 "//ui/aura", |
| 344 "//ui/strings", | 344 "//ui/strings", |
| 345 "//ui/wm", |
| 345 ] | 346 ] |
| 346 } else { # Not aura. | 347 } else { # Not aura. |
| 347 sources -= [ | 348 sources -= [ |
| 348 "renderer_host/input/synthetic_gesture_target_aura.cc", | 349 "renderer_host/input/synthetic_gesture_target_aura.cc", |
| 349 "renderer_host/input/synthetic_gesture_target_aura.h", | 350 "renderer_host/input/synthetic_gesture_target_aura.h", |
| 350 "renderer_host/native_web_keyboard_event_aura.cc", | 351 "renderer_host/native_web_keyboard_event_aura.cc", |
| 351 "renderer_host/render_widget_host_view_aura.cc", | 352 "renderer_host/render_widget_host_view_aura.cc", |
| 352 "renderer_host/render_widget_host_view_aura.h", | 353 "renderer_host/render_widget_host_view_aura.h", |
| 353 "renderer_host/ui_events_helper.cc", | 354 "renderer_host/ui_events_helper.cc", |
| 354 "renderer_host/ui_events_helper.h", | 355 "renderer_host/ui_events_helper.h", |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 deps += [ "//dbus" ] | 410 deps += [ "//dbus" ] |
| 410 } else { | 411 } else { |
| 411 # This will already have gotten removed for all non-Linux cases. | 412 # This will already have gotten removed for all non-Linux cases. |
| 412 sources -= [ | 413 sources -= [ |
| 413 "battery_status/battery_status_manager_linux.cc", | 414 "battery_status/battery_status_manager_linux.cc", |
| 414 "geolocation/wifi_data_provider_linux.cc", | 415 "geolocation/wifi_data_provider_linux.cc", |
| 415 ] | 416 ] |
| 416 } | 417 } |
| 417 } | 418 } |
| 418 } | 419 } |
| OLD | NEW |