| 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/renderer/renderer.gni") | 7 import("//content/renderer/renderer.gni") |
| 8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
| 9 import("//third_party/webrtc/build/webrtc.gni") | 9 import("//third_party/webrtc/build/webrtc.gni") |
| 10 | 10 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 "//ui/surface", | 93 "//ui/surface", |
| 94 "//v8", | 94 "//v8", |
| 95 ] | 95 ] |
| 96 allow_circular_includes_from = [] | 96 allow_circular_includes_from = [] |
| 97 | 97 |
| 98 if (use_aura) { | 98 if (use_aura) { |
| 99 public_deps += [ "//content/renderer/mus" ] | 99 public_deps += [ "//content/renderer/mus" ] |
| 100 allow_circular_includes_from += [ "//content/renderer/mus" ] | 100 allow_circular_includes_from += [ "//content/renderer/mus" ] |
| 101 } | 101 } |
| 102 | 102 |
| 103 if (use_external_popup_menu) { |
| 104 sources += [ |
| 105 "external_popup_menu.cc", |
| 106 "external_popup_menu.h", |
| 107 ] |
| 108 } |
| 109 |
| 103 if (is_mac) { | 110 if (is_mac) { |
| 104 sources -= [ | 111 sources -= [ |
| 105 "webscrollbarbehavior_impl_gtkoraura.cc", | 112 "webscrollbarbehavior_impl_gtkoraura.cc", |
| 106 "webscrollbarbehavior_impl_gtkoraura.h", | 113 "webscrollbarbehavior_impl_gtkoraura.h", |
| 107 ] | 114 ] |
| 108 sources += [ | |
| 109 "external_popup_menu.cc", | |
| 110 "external_popup_menu.h", | |
| 111 ] | |
| 112 } | 115 } |
| 113 | 116 |
| 114 if (is_android) { | 117 if (is_android) { |
| 115 sources += [ | |
| 116 "external_popup_menu.cc", | |
| 117 "external_popup_menu.h", | |
| 118 ] | |
| 119 | |
| 120 # Add back the Linux file which Android shares. | 118 # Add back the Linux file which Android shares. |
| 121 set_sources_assignment_filter([]) | 119 set_sources_assignment_filter([]) |
| 122 sources += [ "render_view_linux.cc" ] | 120 sources += [ "render_view_linux.cc" ] |
| 123 | 121 |
| 124 deps += [ | 122 deps += [ |
| 125 "//third_party/android_tools:cpu_features", | 123 "//third_party/android_tools:cpu_features", |
| 126 "//third_party/libphonenumber", | 124 "//third_party/libphonenumber", |
| 127 ] | 125 ] |
| 128 } else { | 126 } else { |
| 129 sources -= [ | 127 sources -= [ |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 # For the defines in mojo_media_config. | 258 # For the defines in mojo_media_config. |
| 261 public_configs = [ "//media/mojo/services:mojo_media_config" ] | 259 public_configs = [ "//media/mojo/services:mojo_media_config" ] |
| 262 } | 260 } |
| 263 | 261 |
| 264 if (!is_component_build) { | 262 if (!is_component_build) { |
| 265 public_deps = [ | 263 public_deps = [ |
| 266 ":renderer", | 264 ":renderer", |
| 267 ] | 265 ] |
| 268 } | 266 } |
| 269 } | 267 } |
| OLD | NEW |