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

Unified 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: rebase and update blimp_engine.gn 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/external_popup_menu.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/BUILD.gn
diff --git a/content/renderer/BUILD.gn b/content/renderer/BUILD.gn
index b8cb0f720eb4e54a08350bc5e9340e6d42caf5bc..e4fe139b83bccf6c6dcf62f0ad55dcf105c34e23 100644
--- a/content/renderer/BUILD.gn
+++ b/content/renderer/BUILD.gn
@@ -100,23 +100,21 @@ source_set("renderer") {
allow_circular_includes_from += [ "//content/renderer/mus" ]
}
- if (is_mac) {
- sources -= [
- "webscrollbarbehavior_impl_gtkoraura.cc",
- "webscrollbarbehavior_impl_gtkoraura.h",
- ]
+ if (use_external_popup_menu) {
sources += [
"external_popup_menu.cc",
"external_popup_menu.h",
]
}
- if (is_android) {
- sources += [
- "external_popup_menu.cc",
- "external_popup_menu.h",
+ if (is_mac) {
+ sources -= [
+ "webscrollbarbehavior_impl_gtkoraura.cc",
+ "webscrollbarbehavior_impl_gtkoraura.h",
]
+ }
+ if (is_android) {
# Add back the Linux file which Android shares.
set_sources_assignment_filter([])
sources += [ "render_view_linux.cc" ]
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/external_popup_menu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698