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/config/chromecast_build.gni") | 5 import("//build/config/chromecast_build.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//content/common/common.gni") | 7 import("//content/common/common.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
| 9 import("//third_party/webrtc/build/webrtc.gni") |
9 | 10 |
10 # See //content/BUILD.gn for how this works. | 11 # See //content/BUILD.gn for how this works. |
11 group("common") { | 12 group("common") { |
12 if (is_component_build) { | 13 if (is_component_build) { |
13 public_deps = [ | 14 public_deps = [ |
14 "//content", | 15 "//content", |
15 ] | 16 ] |
16 } else { | 17 } else { |
17 public_deps = [ | 18 public_deps = [ |
18 ":common_sources", | 19 ":common_sources", |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 } | 113 } |
113 | 114 |
114 mojom("mojo_bindings") { | 115 mojom("mojo_bindings") { |
115 sources = [ | 116 sources = [ |
116 "background_sync.mojom", | 117 "background_sync.mojom", |
117 "mojo_geoposition.mojom", | 118 "mojo_geoposition.mojom", |
118 "permission_status.mojom", | 119 "permission_status.mojom", |
119 "service_worker_event_status.mojom", | 120 "service_worker_event_status.mojom", |
120 ] | 121 ] |
121 } | 122 } |
| 123 |
| 124 source_set("feature_h264_with_openh264_ffmpeg") { |
| 125 if (rtc_use_h264) { |
| 126 defines = [ "BUILDFLAG_RTC_USE_H264" ] |
| 127 } |
| 128 sources = [ |
| 129 "feature_h264_with_openh264_ffmpeg.cc", |
| 130 "feature_h264_with_openh264_ffmpeg.h", |
| 131 ] |
| 132 } |
OLD | NEW |