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

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: Changed the way AVBuffer allocation/deallocation is done in the ffmpeg audio decoder. 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 896 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 907
908 if (is_clang) { 908 if (is_clang) {
909 cflags += [ 909 cflags += [
910 # TODO(hans): Get this cleaned up. 910 # TODO(hans): Get this cleaned up.
911 "-Wno-inconsistent-missing-override", 911 "-Wno-inconsistent-missing-override",
912 ] 912 ]
913 } 913 }
914 914
915 cflags += default_warning_flags 915 cflags += default_warning_flags
916 cflags_cc += default_warning_flags_cc 916 cflags_cc += default_warning_flags_cc
917
918 if (is_clang) {
919 cflags += [
920 # TODO(dalesat): Remove once not broken by third party (ffmpeg).
921 # See https://github.com/domokit/mojo/issues/692.
922 "-Wno-constant-conversion",
923 ]
924 }
917 } 925 }
918 926
919 # rtti ------------------------------------------------------------------------ 927 # rtti ------------------------------------------------------------------------
920 # 928 #
921 # Allows turning Run-Time Type Identification on or off. 929 # Allows turning Run-Time Type Identification on or off.
922 930
923 config("rtti") { 931 config("rtti") {
924 } 932 }
925 config("no_rtti") { 933 config("no_rtti") {
926 cflags_cc = [ "-fno-rtti" ] 934 cflags_cc = [ "-fno-rtti" ]
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
1110 if (symbol_level == 0) { 1118 if (symbol_level == 0) {
1111 configs = [ ":no_symbols" ] 1119 configs = [ ":no_symbols" ]
1112 } else if (symbol_level == 1) { 1120 } else if (symbol_level == 1) {
1113 configs = [ ":minimal_symbols" ] 1121 configs = [ ":minimal_symbols" ]
1114 } else if (symbol_level == 2) { 1122 } else if (symbol_level == 2) {
1115 configs = [ ":symbols" ] 1123 configs = [ ":symbols" ]
1116 } else { 1124 } else {
1117 assert(false) 1125 assert(false)
1118 } 1126 }
1119 } 1127 }
OLDNEW
« no previous file with comments | « no previous file | services/media/BUILD.gn » ('j') | services/media/framework_ffmpeg/ffmpeg_audio_decoder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698