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

Side by Side Diff: webrtc/modules/video_coding/BUILD.gn

Issue 1187573004: iOS HW H264 support. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Fix build errors Created 5 years, 5 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 (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("../../build/webrtc.gni") 9 import("../../build/webrtc.gni")
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 } 74 }
75 75
76 if (is_clang) { 76 if (is_clang) {
77 # Suppress warnings from Chrome's Clang plugins. 77 # Suppress warnings from Chrome's Clang plugins.
78 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 78 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
79 configs -= [ "//build/config/clang:find_bad_constructs" ] 79 configs -= [ "//build/config/clang:find_bad_constructs" ]
80 } 80 }
81 81
82 deps = [ 82 deps = [
83 ":video_coding_utility", 83 ":video_coding_utility",
84 ":webrtc_h264",
84 ":webrtc_i420", 85 ":webrtc_i420",
85 ":webrtc_vp8", 86 ":webrtc_vp8",
86 ":webrtc_vp9", 87 ":webrtc_vp9",
87 "../..:webrtc_common", 88 "../..:webrtc_common",
88 "../../common_video", 89 "../../common_video",
89 "../../system_wrappers", 90 "../../system_wrappers",
90 ] 91 ]
91 } 92 }
92 93
93 source_set("video_coding_utility") { 94 source_set("video_coding_utility") {
(...skipping 14 matching lines...) Expand all
108 # Suppress warnings from Chrome's Clang plugins. 109 # Suppress warnings from Chrome's Clang plugins.
109 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 110 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
110 configs -= [ "//build/config/clang:find_bad_constructs" ] 111 configs -= [ "//build/config/clang:find_bad_constructs" ]
111 } 112 }
112 113
113 deps = [ 114 deps = [
114 "../../system_wrappers", 115 "../../system_wrappers",
115 ] 116 ]
116 } 117 }
117 118
119 source_set("webrtc_h264") {
120 sources = [
121 "codecs/h264/h264.cc",
122 "codecs/h264/include/h264.h",
123 ]
124
125 configs += [ "../..:common_config" ]
126 public_configs = [ "../..:common_inherited_config" ]
127
128 if (is_clang) {
129 # Suppress warnings from Chrome's Clang plugins.
130 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
131 configs -= [ "//build/config/clang:find_bad_constructs" ]
132 }
133
134 deps = [
135 "../../system_wrappers",
kjellander_webrtc 2015/06/25 07:16:03 nit: I prefer single-item lists on one line (recom
tkchin_webrtc 2015/06/25 18:13:54 presubmit complained and made me run: gn format --
136 ]
137 }
138
139 # TODO(tkchin): Source set for webrtc_h264_video_toolbox. Currently not
140 # possible to add, see https://crbug.com/297668.
141
118 source_set("webrtc_i420") { 142 source_set("webrtc_i420") {
119 sources = [ 143 sources = [
120 "codecs/i420/main/interface/i420.h", 144 "codecs/i420/main/interface/i420.h",
121 "codecs/i420/main/source/i420.cc", 145 "codecs/i420/main/source/i420.cc",
122 ] 146 ]
123 147
124 configs += [ "../..:common_config" ] 148 configs += [ "../..:common_config" ]
125 public_configs = [ "../..:common_inherited_config" ] 149 public_configs = [ "../..:common_inherited_config" ]
126 150
127 if (is_clang) { 151 if (is_clang) {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 232
209 deps = [ 233 deps = [
210 ":video_coding_utility", 234 ":video_coding_utility",
211 "../../common_video", 235 "../../common_video",
212 "../../system_wrappers", 236 "../../system_wrappers",
213 ] 237 ]
214 if (rtc_build_libvpx) { 238 if (rtc_build_libvpx) {
215 deps += [ rtc_libvpx_dir ] 239 deps += [ rtc_libvpx_dir ]
216 } 240 }
217 } 241 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698