| 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",
|
|
|