| 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 source_set("browser") { | 9 source_set("browser") { |
| 10 # Only the public target should depend on this. All other targets (even | 10 # Only the public target should depend on this. All other targets (even |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 deps += [ "//ui/events" ] | 117 deps += [ "//ui/events" ] |
| 118 } | 118 } |
| 119 | 119 |
| 120 if (is_win) { | 120 if (is_win) { |
| 121 sources += [ | 121 sources += [ |
| 122 "power_profiler/power_data_provider_ia_win.cc", | 122 "power_profiler/power_data_provider_ia_win.cc", |
| 123 "power_profiler/power_data_provider_ia_win.h", | 123 "power_profiler/power_data_provider_ia_win.h", |
| 124 ] | 124 ] |
| 125 deps += [ "//third_party/power_gadget" ] | 125 deps += [ "//third_party/power_gadget" ] |
| 126 } else { | 126 } else { |
| 127 sources += [ "power_profiler/power_data_provider_dummy.cc" ] | 127 sources += [ |
| 128 "power_profiler/power_data_provider_dummy.cc", |
| 129 "file_descriptor_info_impl.cc", |
| 130 "file_descriptor_info_impl.h", |
| 131 ] |
| 128 sources -= [ "renderer_host/web_input_event_aurawin.cc" ] | 132 sources -= [ "renderer_host/web_input_event_aurawin.cc" ] |
| 129 } | 133 } |
| 130 | 134 |
| 131 if (!is_win && !is_mac && !is_android && (!is_linux || !use_udev)) { | 135 if (!is_win && !is_mac && !is_android && (!is_linux || !use_udev)) { |
| 132 sources += [ "gamepad/gamepad_platform_data_fetcher.cc" ] | 136 sources += [ "gamepad/gamepad_platform_data_fetcher.cc" ] |
| 133 } | 137 } |
| 134 | 138 |
| 135 if (printing_mode != 0) { | 139 if (printing_mode != 0) { |
| 136 deps += [ "//printing" ] | 140 deps += [ "//printing" ] |
| 137 } | 141 } |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 deps += [ | 406 deps += [ |
| 403 "//third_party/flac", | 407 "//third_party/flac", |
| 404 "//third_party/speex", | 408 "//third_party/speex", |
| 405 ] | 409 ] |
| 406 } | 410 } |
| 407 | 411 |
| 408 if (is_linux && use_dbus) { | 412 if (is_linux && use_dbus) { |
| 409 deps += [ "//dbus" ] | 413 deps += [ "//dbus" ] |
| 410 } | 414 } |
| 411 } | 415 } |
| OLD | NEW |