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