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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/chromecast_build.gni") 6 import("//build/config/chromecast_build.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//content/common/common.gni") 8 import("//content/common/common.gni")
9 import("//mojo/public/tools/bindings/mojom.gni") 9 import("//mojo/public/tools/bindings/mojom.gni")
10 import("//third_party/webrtc/build/webrtc.gni") 10 import("//third_party/webrtc/build/webrtc.gni")
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 "content_switches.h", 64 "content_switches.h",
65 ] 65 ]
66 sources = [ 66 sources = [
67 "//content/common/content_export.h", 67 "//content/common/content_export.h",
68 "content_switches.cc", 68 "content_switches.cc",
69 ] 69 ]
70 70
71 public_configs = [ ":static_switches_defines" ] 71 public_configs = [ ":static_switches_defines" ]
72 } 72 }
73 73
74 # Set only in GN builds, to allow enabling of WebPreferences used on the Blimp
75 # engine.
76 config("blimp_web_prefs") {
77 if (enable_blimp_web_prefs) {
78 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
79 }
80 }
81
74 source_set("common_sources") { 82 source_set("common_sources") {
75 visibility = [ "//content/*" ] 83 visibility = [ "//content/*" ]
76 84
77 sources = rebase_path(content_common_gypi_values.public_common_sources, 85 sources = rebase_path(content_common_gypi_values.public_common_sources,
78 ".", 86 ".",
79 "//content") 87 "//content")
80 88
81 configs += [ 89 configs += [
82 "//build/config:precompiled_headers", 90 "//build/config:precompiled_headers",
83 "//content:content_implementation", 91 "//content:content_implementation",
84 ] 92 ]
85 93
86 public_configs = [ "//v8:external_startup_data" ] 94 public_configs = [ "//v8:external_startup_data" ]
87 95
88 public_deps = [ 96 public_deps = [
89 "//content/common", 97 "//content/common",
90 "//mojo/public/cpp/bindings", 98 "//mojo/public/cpp/bindings",
91 "//url/ipc:url_ipc", 99 "//url/ipc:url_ipc",
92 ] 100 ]
93 deps = [ 101 deps = [
94 "//net", 102 "//net",
95 "//skia", 103 "//skia",
96 "//third_party/WebKit/public:blink_headers", 104 "//third_party/WebKit/public:blink_headers",
97 "//third_party/icu", 105 "//third_party/icu",
98 "//ui/base", 106 "//ui/base",
99 "//ui/gfx", 107 "//ui/gfx",
100 ] 108 ]
109 all_dependent_configs = [ ":blimp_web_prefs" ]
101 110
102 if (!enable_plugins) { 111 if (!enable_plugins) {
103 sources -= [ 112 sources -= [
104 "pepper_plugin_info.cc", 113 "pepper_plugin_info.cc",
105 "pepper_plugin_info.h", 114 "pepper_plugin_info.h",
106 ] 115 ]
107 } 116 }
108 117
109 if (enable_webrtc) { 118 if (enable_webrtc) {
110 sources += [ 119 sources += [
(...skipping 20 matching lines...) Expand all
131 140
132 source_set("feature_h264_with_openh264_ffmpeg") { 141 source_set("feature_h264_with_openh264_ffmpeg") {
133 deps = [ 142 deps = [
134 ":features", 143 ":features",
135 ] 144 ]
136 sources = [ 145 sources = [
137 "feature_h264_with_openh264_ffmpeg.cc", 146 "feature_h264_with_openh264_ffmpeg.cc",
138 "feature_h264_with_openh264_ffmpeg.h", 147 "feature_h264_with_openh264_ffmpeg.h",
139 ] 148 ]
140 } 149 }
OLDNEW
« 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