Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: content/renderer/BUILD.gn

Issue 1992393002: Enable external popup menu in Blimp, part 1/2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 "//ui/surface", 94 "//ui/surface",
95 "//v8", 95 "//v8",
96 ] 96 ]
97 allow_circular_includes_from = [] 97 allow_circular_includes_from = []
98 98
99 if (use_aura) { 99 if (use_aura) {
100 public_deps += [ "//content/renderer/mus" ] 100 public_deps += [ "//content/renderer/mus" ]
101 allow_circular_includes_from += [ "//content/renderer/mus" ] 101 allow_circular_includes_from += [ "//content/renderer/mus" ]
102 } 102 }
103 103
104 if (use_external_popup_menu) {
105 sources += [
106 "external_popup_menu.cc",
107 "external_popup_menu.h",
108 ]
109 }
110
104 if (is_mac) { 111 if (is_mac) {
105 sources -= [ 112 sources -= [
106 "webscrollbarbehavior_impl_gtkoraura.cc", 113 "webscrollbarbehavior_impl_gtkoraura.cc",
107 "webscrollbarbehavior_impl_gtkoraura.h", 114 "webscrollbarbehavior_impl_gtkoraura.h",
108 ] 115 ]
109 sources += [
110 "external_popup_menu.cc",
111 "external_popup_menu.h",
112 ]
113 } 116 }
114 117
115 if (is_android) { 118 if (is_android) {
116 sources += [
117 "external_popup_menu.cc",
118 "external_popup_menu.h",
119 ]
120
121 # Add back the Linux file which Android shares. 119 # Add back the Linux file which Android shares.
122 set_sources_assignment_filter([]) 120 set_sources_assignment_filter([])
123 sources += [ "render_view_linux.cc" ] 121 sources += [ "render_view_linux.cc" ]
124 122
125 deps += [ 123 deps += [
126 "//third_party/android_tools:cpu_features", 124 "//third_party/android_tools:cpu_features",
127 "//third_party/libphonenumber", 125 "//third_party/libphonenumber",
128 ] 126 ]
129 } else { 127 } else {
130 sources -= [ 128 sources -= [
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 # For the defines in mojo_media_config. 259 # For the defines in mojo_media_config.
262 public_configs = [ "//media/mojo/services:mojo_media_config" ] 260 public_configs = [ "//media/mojo/services:mojo_media_config" ]
263 } 261 }
264 262
265 if (!is_component_build) { 263 if (!is_component_build) {
266 public_deps = [ 264 public_deps = [
267 ":renderer", 265 ":renderer",
268 ] 266 ]
269 } 267 }
270 } 268 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698