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

Side by Side Diff: build/config/compiler/BUILD.gn

Issue 1686363002: Motown: ffmpeg implementations of framework 'parts' (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Retype some const unique_ptr<T>& parameters to const T&. Created 4 years, 9 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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 if (current_cpu == "arm") { 7 if (current_cpu == "arm") {
8 import("//build/config/arm.gni") 8 import("//build/config/arm.gni")
9 } 9 }
10 if (current_cpu == "mipsel" || current_cpu == "mips64el") { 10 if (current_cpu == "mipsel" || current_cpu == "mips64el") {
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 # always have different versions. Certain flags may not be recognized by 842 # always have different versions. Certain flags may not be recognized by
843 # one version or the other. 843 # one version or the other.
844 if (!is_nacl) { 844 if (!is_nacl) {
845 # Flags NaCl (Clang 3.7) does not recognize. 845 # Flags NaCl (Clang 3.7) does not recognize.
846 default_warning_flags += [ 846 default_warning_flags += [
847 # TODO(smklein): Enable this, crbug.com/507717 847 # TODO(smklein): Enable this, crbug.com/507717
848 "-Wno-shift-negative-value", 848 "-Wno-shift-negative-value",
849 849
850 # TODO(smklein): Consider enabling this once not broken by third party 850 # TODO(smklein): Consider enabling this once not broken by third party
851 "-Wno-bitfield-width", 851 "-Wno-bitfield-width",
852
853 # TODO(dalesat): Remove once not broken by third party (ffmpeg).
854 "-Wno-constant-conversion",
johngro 2016/03/01 01:31:38 Is it possible to stuff this in the build rules fo
jamesr 2016/03/01 17:56:43 Don't disable warnings like this globally. You ca
dalesat 2016/03/01 20:43:01 FWIW, I'm restoring a flag that was only recently
852 ] 855 ]
853 } 856 }
854 } 857 }
855 858
856 # chromium_code --------------------------------------------------------------- 859 # chromium_code ---------------------------------------------------------------
857 # 860 #
858 # Toggles between higher and lower warnings for code that is (or isn't) 861 # Toggles between higher and lower warnings for code that is (or isn't)
859 # part of Chromium. 862 # part of Chromium.
860 863
861 config("chromium_code") { 864 config("chromium_code") {
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 if (symbol_level == 0) { 1120 if (symbol_level == 0) {
1118 configs = [ ":no_symbols" ] 1121 configs = [ ":no_symbols" ]
1119 } else if (symbol_level == 1) { 1122 } else if (symbol_level == 1) {
1120 configs = [ ":minimal_symbols" ] 1123 configs = [ ":minimal_symbols" ]
1121 } else if (symbol_level == 2) { 1124 } else if (symbol_level == 2) {
1122 configs = [ ":symbols" ] 1125 configs = [ ":symbols" ]
1123 } else { 1126 } else {
1124 assert(false) 1127 assert(false)
1125 } 1128 }
1126 } 1129 }
OLDNEW
« no previous file with comments | « no previous file | build/util/LASTCHANGE » ('j') | services/media/framework_ffmpeg/ffmpeg_audio_decoder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698