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

Side by Side Diff: content/public/common/BUILD.gn

Issue 2043933002: Move IPC fuzzer switches and helpers from chrome/common to content/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 6 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
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")
11 import("//tools/ipc_fuzzer/ipc_fuzzer.gni")
11 12
12 # See //content/BUILD.gn for how this works. 13 # See //content/BUILD.gn for how this works.
13 group("common") { 14 group("common") {
14 if (is_component_build) { 15 if (is_component_build) {
15 public_deps = [ 16 public_deps = [
16 "//content", 17 "//content",
17 ] 18 ]
18 } else { 19 } else {
19 public_deps = [ 20 public_deps = [
20 ":common_sources", 21 ":common_sources",
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 "pepper_plugin_info.h", 130 "pepper_plugin_info.h",
130 ] 131 ]
131 } 132 }
132 133
133 if (enable_webrtc) { 134 if (enable_webrtc) {
134 sources += [ 135 sources += [
135 "webrtc_ip_handling_policy.cc", 136 "webrtc_ip_handling_policy.cc",
136 "webrtc_ip_handling_policy.h", 137 "webrtc_ip_handling_policy.h",
137 ] 138 ]
138 } 139 }
140
141 if (enable_ipc_fuzzer) {
142 configs += [ "//tools/ipc_fuzzer:ipc_fuzzer_config" ]
143 sources += [
144 "external_ipc_dumper.cc",
145 "external_ipc_dumper.h",
146 ]
147 }
139 } 148 }
140 149
141 buildflag_header("features") { 150 buildflag_header("features") {
142 header = "features.h" 151 header = "features.h"
143 152
144 flags = [ "RTC_USE_H264=$rtc_use_h264" ] 153 flags = [ "RTC_USE_H264=$rtc_use_h264" ]
145 } 154 }
146 155
147 source_set("feature_h264_with_openh264_ffmpeg") { 156 source_set("feature_h264_with_openh264_ffmpeg") {
148 deps = [ 157 deps = [
149 ":features", 158 ":features",
150 "//base", 159 "//base",
151 ] 160 ]
152 sources = [ 161 sources = [
153 "feature_h264_with_openh264_ffmpeg.cc", 162 "feature_h264_with_openh264_ffmpeg.cc",
154 "feature_h264_with_openh264_ffmpeg.h", 163 "feature_h264_with_openh264_ffmpeg.h",
155 ] 164 ]
156 } 165 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698