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

Unified Diff: content/common/BUILD.gn

Issue 2751763002: Make USE_EXTERNAL_POPUP_MENU local to content. (Closed)
Patch Set: rebase Created 3 years, 9 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/browser/web_contents/web_contents_view_aura.cc ('k') | content/common/features.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/BUILD.gn
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn
index c0dedb9976b244addb091916c460a7c06383f70e..4a7001ddab248c69a2cc87e1ac19bb32ab32c591 100644
--- a/content/common/BUILD.gn
+++ b/content/common/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("features.gni")
+import("//build/buildflag_header.gni")
import("//build/config/features.gni")
import("//build/config/ui.gni")
import("//media/media_options.gni")
@@ -13,6 +15,14 @@ if (is_mac) {
import("//build/config/mac/mac_sdk.gni")
}
+# For feature flags internal to content. See content/public/common:features
+# for feature flags that clients of contents need to know about.
+buildflag_header("features") {
+ header = "features.h"
+
+ flags = [ "USE_EXTERNAL_POPUP_MENU=$use_external_popup_menu" ]
+}
+
source_set("common") {
# Targets external to content should always link to the public API.
# In addition, targets outside of the content component (shell and tests)
@@ -356,6 +366,7 @@ source_set("common") {
"//third_party/WebKit/public:blink_headers",
]
deps = [
+ ":features",
"//base",
"//base/third_party/dynamic_annotations",
"//build/util:webkit_version",
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.cc ('k') | content/common/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698