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

Side by Side Diff: base/BUILD.gn

Issue 2865663003: Adding Google benchmarking library. (Closed)
Patch Set: Sketch. Created 3 years, 7 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 | « PRESUBMIT.py ('k') | base/DEPS » ('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) 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 # HOW TO WRITE CONDITIONALS IN THIS FILE 5 # HOW TO WRITE CONDITIONALS IN THIS FILE
6 # ====================================== 6 # ======================================
7 # 7 #
8 # In many other places, one would write a conditional that expresses all the 8 # In many other places, one would write a conditional that expresses all the
9 # cases when a source file is used or unused, and then either add or subtract 9 # cases when a source file is used or unused, and then either add or subtract
10 # it from the sources list in that case 10 # it from the sources list in that case
(...skipping 1725 matching lines...) Expand 10 before | Expand all | Expand 10 after
1736 if (is_mac) { 1736 if (is_mac) {
1737 libs = [ "CoreFoundation.framework" ] 1737 libs = [ "CoreFoundation.framework" ]
1738 } 1738 }
1739 } 1739 }
1740 1740
1741 test("base_perftests") { 1741 test("base_perftests") {
1742 sources = [ 1742 sources = [
1743 "message_loop/message_pump_perftest.cc", 1743 "message_loop/message_pump_perftest.cc",
1744 1744
1745 # "test/run_all_unittests.cc", 1745 # "test/run_all_unittests.cc",
1746 "containers/containers_benchmarks.cc",
1746 "json/json_perftest.cc", 1747 "json/json_perftest.cc",
1747 "threading/thread_perftest.cc", 1748 "threading/thread_perftest.cc",
1748 ] 1749 ]
1749 deps = [ 1750 deps = [
1750 ":base", 1751 ":base",
1751 "//base/test:test_support", 1752 "//base/test:test_support",
1752 "//base/test:test_support_perf", 1753 "//base/test:test_support_perf",
1753 "//testing/gtest", 1754 "//testing/gtest",
1754 "//testing/perf", 1755 "//testing/perf",
1755 ] 1756 ]
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
1895 ] 1896 ]
1896 set_sources_assignment_filter(sources_assignment_filter) 1897 set_sources_assignment_filter(sources_assignment_filter)
1897 configs += [ "//build/config/compiler:enable_arc" ] 1898 configs += [ "//build/config/compiler:enable_arc" ]
1898 deps = [ 1899 deps = [
1899 ":base", 1900 ":base",
1900 "//testing/gtest", 1901 "//testing/gtest",
1901 ] 1902 ]
1902 } 1903 }
1903 } 1904 }
1904 1905
1906 test("base_microbenchmarks") {
1907 sources = [
1908 "containers/containers_benchmarks.cc",
1909 "test/run_all_base_microbenchmarks.cc",
1910 ]
1911
1912 deps = [
1913 "//third_party/google_benchmark",
1914 ]
1915 }
1916
1905 test("base_unittests") { 1917 test("base_unittests") {
1906 sources = [ 1918 sources = [
1907 "allocator/allocator_interception_mac_unittest.mm", 1919 "allocator/allocator_interception_mac_unittest.mm",
1908 "allocator/malloc_zone_functions_mac_unittest.cc", 1920 "allocator/malloc_zone_functions_mac_unittest.cc",
1909 "allocator/tcmalloc_unittest.cc", 1921 "allocator/tcmalloc_unittest.cc",
1910 "android/application_status_listener_unittest.cc", 1922 "android/application_status_listener_unittest.cc",
1911 "android/content_uri_utils_unittest.cc", 1923 "android/content_uri_utils_unittest.cc",
1912 "android/jni_android_unittest.cc", 1924 "android/jni_android_unittest.cc",
1913 "android/jni_array_unittest.cc", 1925 "android/jni_array_unittest.cc",
1914 "android/jni_string_unittest.cc", 1926 "android/jni_string_unittest.cc",
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
2707 } 2719 }
2708 2720
2709 fuzzer_test("base_json_correctness_fuzzer") { 2721 fuzzer_test("base_json_correctness_fuzzer") {
2710 sources = [ 2722 sources = [
2711 "json/correctness_fuzzer.cc", 2723 "json/correctness_fuzzer.cc",
2712 ] 2724 ]
2713 deps = [ 2725 deps = [
2714 ":base", 2726 ":base",
2715 ] 2727 ]
2716 } 2728 }
OLDNEW
« no previous file with comments | « PRESUBMIT.py ('k') | base/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698