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

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

Issue 2307283002: GN Templates: Use the optimize_max compiler config. (Closed)
Patch Set: Rebase. Created 4 years, 3 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
« no previous file with comments | « webrtc/build/webrtc.gni ('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 (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 import("audio_coding.gni") 10 import("audio_coding.gni")
(...skipping 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after
1097 testonly = true 1097 testonly = true
1098 sources = [ 1098 sources = [
1099 "neteq/tools/neteq_external_decoder_test.cc", 1099 "neteq/tools/neteq_external_decoder_test.cc",
1100 "neteq/tools/neteq_external_decoder_test.h", 1100 "neteq/tools/neteq_external_decoder_test.h",
1101 "neteq/tools/neteq_performance_test.cc", 1101 "neteq/tools/neteq_performance_test.cc",
1102 "neteq/tools/neteq_performance_test.h", 1102 "neteq/tools/neteq_performance_test.h",
1103 ] 1103 ]
1104 1104
1105 public_configs = [ "../..:common_inherited_config" ] 1105 public_configs = [ "../..:common_inherited_config" ]
1106 1106
1107 if (!is_debug) {
1108 suppressed_configs += [ "//build/config/compiler:default_optimization" ]
1109 configs += [ "//build/config/compiler:optimize_max" ]
1110 }
1111
1112 if (is_clang) { 1107 if (is_clang) {
1113 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). 1108 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163).
1114 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 1109 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
1115 } 1110 }
1116 1111
1117 deps = [ 1112 deps = [
1118 ":neteq", 1113 ":neteq",
1119 ":neteq_unittest_tools", 1114 ":neteq_unittest_tools",
1120 ":pcm16b", 1115 ":pcm16b",
1121 "//testing/gtest", 1116 "//testing/gtest",
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
1621 "//testing/gtest", 1616 "//testing/gtest",
1622 ] 1617 ]
1623 1618
1624 if (is_clang) { 1619 if (is_clang) {
1625 # Suppress warnings from Chrome's Clang plugins. 1620 # Suppress warnings from Chrome's Clang plugins.
1626 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 1621 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
1627 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 1622 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
1628 } 1623 }
1629 } 1624 }
1630 } 1625 }
OLDNEW
« no previous file with comments | « webrtc/build/webrtc.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698