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

Side by Side Diff: third_party/openh264/BUILD.gn

Issue 2581733002: Fix tautological comparison and add clang flag (Closed)
Patch Set: Remove clang warnings only when using clang Created 4 years 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
« no previous file with comments | « storage/browser/quota/quota_manager.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « storage/browser/quota/quota_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698