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