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

Side by Side Diff: webrtc/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 | « no previous file | webrtc/build/webrtc.gni » ('j') | 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 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. 9 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330.
10 10
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 "{{bundle_resources_dir}}/{{source_file_part}}", 763 "{{bundle_resources_dir}}/{{source_file_part}}",
764 ] 764 ]
765 } 765 }
766 } 766 }
767 767
768 rtc_test("webrtc_perf_tests") { 768 rtc_test("webrtc_perf_tests") {
769 testonly = true 769 testonly = true
770 configs += [ ":rtc_unittests_config" ] 770 configs += [ ":rtc_unittests_config" ]
771 public_configs = [ ":common_inherited_config" ] 771 public_configs = [ ":common_inherited_config" ]
772 772
773 if (!is_debug) {
774 suppressed_configs += [ "//build/config/compiler:default_optimization" ]
775 configs += [ "//build/config/compiler:optimize_max" ]
776 }
777
778 sources = [ 773 sources = [
779 "call/call_perf_tests.cc", 774 "call/call_perf_tests.cc",
780 "call/rampup_tests.cc", 775 "call/rampup_tests.cc",
781 "call/rampup_tests.h", 776 "call/rampup_tests.h",
782 "modules/audio_coding/neteq/test/neteq_performance_unittest.cc", 777 "modules/audio_coding/neteq/test/neteq_performance_unittest.cc",
783 "modules/audio_processing/audio_processing_performance_unittest.cc", 778 "modules/audio_processing/audio_processing_performance_unittest.cc",
784 "modules/audio_processing/level_controller/level_controller_complexity_uni ttest.cc", 779 "modules/audio_processing/level_controller/level_controller_complexity_uni ttest.cc",
785 "modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc", 780 "modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc",
786 "video/full_stack.cc", 781 "video/full_stack.cc",
787 ] 782 ]
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 if (is_ios || (is_mac && target_cpu != "x86")) { 842 if (is_ios || (is_mac && target_cpu != "x86")) {
848 defines = [ "CARBON_DEPRECATED=YES" ] 843 defines = [ "CARBON_DEPRECATED=YES" ]
849 } 844 }
850 if (is_clang) { 845 if (is_clang) {
851 # Suppress warnings from the Chromium Clang plugin. 846 # Suppress warnings from the Chromium Clang plugin.
852 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 847 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
853 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 848 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
854 } 849 }
855 } 850 }
856 } 851 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/build/webrtc.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698