OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//third_party/openh264/openh264_args.gni") | 5 import("//third_party/openh264/openh264_args.gni") |
6 | 6 |
7 # Config shared by all openh264 targets. | 7 # Config shared by all openh264 targets. |
8 config("config") { | 8 config("config") { |
9 cflags = [] | 9 cflags = [] |
10 defines = [] | 10 defines = [] |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 "src/codec/encoder/core/inc", | 255 "src/codec/encoder/core/inc", |
256 "src/codec/encoder/core/src", | 256 "src/codec/encoder/core/src", |
257 "src/codec/encoder/plus/inc", | 257 "src/codec/encoder/plus/inc", |
258 "src/codec/encoder/plus/src", | 258 "src/codec/encoder/plus/src", |
259 "src/codec/processing/interface", | 259 "src/codec/processing/interface", |
260 ] | 260 ] |
261 | 261 |
262 configs -= [ "//build/config/compiler:chromium_code" ] | 262 configs -= [ "//build/config/compiler:chromium_code" ] |
263 configs += [ "//build/config/compiler:no_chromium_code" ] | 263 configs += [ "//build/config/compiler:no_chromium_code" ] |
264 configs += [ ":config" ] | 264 configs += [ ":config" ] |
| 265 |
| 266 # TODO: Remove after fixing always-true condition |
| 267 # third_party/openh264/src/codec/encoder/core/src/encoder_ext.cpp:142. |
| 268 if (is_clang) { |
| 269 configs -= [ "//build/config/clang:extra_warnings" ] |
| 270 } |
265 deps = [ | 271 deps = [ |
266 ":common", | 272 ":common", |
267 ":processing", | 273 ":processing", |
268 ] | 274 ] |
269 } | 275 } |
OLD | NEW |