OLD | NEW |
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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 } | 131 } |
132 | 132 |
133 if (enable_webrtc) { | 133 if (enable_webrtc) { |
134 sources += [ | 134 sources += [ |
135 "webrtc_ip_handling_policy.cc", | 135 "webrtc_ip_handling_policy.cc", |
136 "webrtc_ip_handling_policy.h", | 136 "webrtc_ip_handling_policy.h", |
137 ] | 137 ] |
138 } | 138 } |
139 } | 139 } |
140 | 140 |
141 mojom("mojo_bindings") { | |
142 sources = [ | |
143 "background_sync.mojom", | |
144 "service_worker_event_status.mojom", | |
145 ] | |
146 } | |
147 | |
148 buildflag_header("features") { | 141 buildflag_header("features") { |
149 header = "features.h" | 142 header = "features.h" |
150 | 143 |
151 flags = [ "RTC_USE_H264=$rtc_use_h264" ] | 144 flags = [ "RTC_USE_H264=$rtc_use_h264" ] |
152 } | 145 } |
153 | 146 |
154 source_set("feature_h264_with_openh264_ffmpeg") { | 147 source_set("feature_h264_with_openh264_ffmpeg") { |
155 deps = [ | 148 deps = [ |
156 ":features", | 149 ":features", |
157 "//base", | 150 "//base", |
158 ] | 151 ] |
159 sources = [ | 152 sources = [ |
160 "feature_h264_with_openh264_ffmpeg.cc", | 153 "feature_h264_with_openh264_ffmpeg.cc", |
161 "feature_h264_with_openh264_ffmpeg.h", | 154 "feature_h264_with_openh264_ffmpeg.h", |
162 ] | 155 ] |
163 } | 156 } |
OLD | NEW |