| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 "//third_party/icu", | 104 "//third_party/icu", |
| 105 "//third_party/leveldatabase", | 105 "//third_party/leveldatabase", |
| 106 "//third_party/libyuv", | 106 "//third_party/libyuv", |
| 107 "//ui/resources", | 107 "//ui/resources", |
| 108 "//ui/surface", | 108 "//ui/surface", |
| 109 ] | 109 ] |
| 110 } | 110 } |
| 111 | 111 |
| 112 configs += [ | 112 configs += [ |
| 113 "//content:content_implementation", | 113 "//content:content_implementation", |
| 114 | |
| 115 # TODO(GYP) remove this when libjingle_webrtc is working. | |
| 116 "//third_party/libjingle:jingle_direct_dependent_configs", # TODO(GYP) | |
| 117 ] | 114 ] |
| 118 | 115 |
| 119 if (toolkit_views) { | 116 if (toolkit_views) { |
| 120 deps += [ "//ui/events" ] | 117 deps += [ "//ui/events" ] |
| 121 } | 118 } |
| 122 | 119 |
| 123 if (is_win) { | 120 if (is_win) { |
| 124 sources += [ | 121 sources += [ |
| 125 "power_profiler/power_data_provider_ia_win.cc", | 122 "power_profiler/power_data_provider_ia_win.cc", |
| 126 "power_profiler/power_data_provider_ia_win.h", | 123 "power_profiler/power_data_provider_ia_win.h", |
| (...skipping 23 matching lines...) Expand all Loading... |
| 150 } | 147 } |
| 151 if (!is_android && !is_ios) { | 148 if (!is_android && !is_ios) { |
| 152 deps += [ "//content/browser/tracing:resources" ] | 149 deps += [ "//content/browser/tracing:resources" ] |
| 153 } | 150 } |
| 154 | 151 |
| 155 if (enable_webrtc) { | 152 if (enable_webrtc) { |
| 156 sources += rebase_path(content_browser_gypi_values.webrtc_browser_sources, | 153 sources += rebase_path(content_browser_gypi_values.webrtc_browser_sources, |
| 157 ".", "//content") | 154 ".", "//content") |
| 158 deps += [ "//jingle:jingle_glue" ] | 155 deps += [ "//jingle:jingle_glue" ] |
| 159 if (is_linux) { | 156 if (is_linux) { |
| 160 #deps += [ "//third_party/libjingle:libjingle_webrtc" ] TODO(GYP) | 157 deps += [ "//third_party/libjingle:libjingle_webrtc" ] |
| 161 } | 158 } |
| 162 if (is_linux || is_mac || is_win) { | 159 if (is_linux || is_mac || is_win) { |
| 163 sources += [ | 160 sources += [ |
| 164 "media/capture/desktop_capture_device.cc", | 161 "media/capture/desktop_capture_device.cc", |
| 165 "media/capture/desktop_capture_device.h", | 162 "media/capture/desktop_capture_device.h", |
| 166 "media/capture/desktop_capture_device_uma_types.cc", | 163 "media/capture/desktop_capture_device_uma_types.cc", |
| 167 "media/capture/desktop_capture_device_uma_types.h", | 164 "media/capture/desktop_capture_device_uma_types.h", |
| 168 ] | 165 ] |
| 169 if (use_aura) { | 166 if (use_aura) { |
| 170 sources += [ | 167 sources += [ |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 deps += [ | 404 deps += [ |
| 408 "//third_party/flac", | 405 "//third_party/flac", |
| 409 "//third_party/speex", | 406 "//third_party/speex", |
| 410 ] | 407 ] |
| 411 } | 408 } |
| 412 | 409 |
| 413 if (is_linux && use_dbus) { | 410 if (is_linux && use_dbus) { |
| 414 deps += [ "//dbus" ] | 411 deps += [ "//dbus" ] |
| 415 } | 412 } |
| 416 } | 413 } |
| OLD | NEW |