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

Unified Diff: content/public/common/BUILD.gn

Issue 1808363002: content: Make record_whole_document available for all platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add build flag for blimp web prefs Created 4 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/common/common.gni ('k') | content/public/common/common_param_traits_macros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/BUILD.gn
diff --git a/content/public/common/BUILD.gn b/content/public/common/BUILD.gn
index 9075452a68dd0ddb74335af5d5599432945769bf..94e9d0447769ce463321d9793f6b67d2d7b58686 100644
--- a/content/public/common/BUILD.gn
+++ b/content/public/common/BUILD.gn
@@ -71,6 +71,14 @@ source_set("static_switches") {
public_configs = [ ":static_switches_defines" ]
}
+# Set only in GN builds, to allow enabling of WebPreferences used on the Blimp
+# engine.
+config("blimp_web_prefs") {
+ if (enable_blimp_web_prefs) {
+ defines = [ "ENABLE_BLIMP_WEB_PREFS" ]
Wez 2016/03/22 00:18:14 Could we instead have this be enable_record_whole_
Khushal 2016/03/22 00:21:38 I assume we would need to add more web prefs for B
+ }
+}
+
source_set("common_sources") {
visibility = [ "//content/*" ]
@@ -98,6 +106,7 @@ source_set("common_sources") {
"//ui/base",
"//ui/gfx",
]
+ all_dependent_configs = [ ":blimp_web_prefs" ]
if (!enable_plugins) {
sources -= [
« no previous file with comments | « content/common/common.gni ('k') | content/public/common/common_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698