BUILD.bazel revision b420b502
14136e585SShuo Chencc_binary( 24136e585SShuo Chen name = "word_freq_shards_basic", 34136e585SShuo Chen srcs = ["word_freq_shards_basic.cc"], 43a0488b5SShuo Chen # linkopts = ["-ltcmalloc_and_profiler"], 54136e585SShuo Chen deps = [ 685147189SShuo Chen ":common", 74136e585SShuo Chen "@absl//absl/container:flat_hash_map", 84136e585SShuo Chen ], 94136e585SShuo Chen) 1085147189SShuo Chen 11b420b502SShuo Chencc_binary( 12b420b502SShuo Chen name = "word_freq_sort_basic", 13b420b502SShuo Chen srcs = ["word_freq_sort_basic.cc"], 14b420b502SShuo Chen # linkopts = ["-lprofiler"], 15b420b502SShuo Chen deps = [ 16b420b502SShuo Chen ":common", 17b420b502SShuo Chen "@muduo//muduo/base", 18b420b502SShuo Chen ], 19b420b502SShuo Chen) 20b420b502SShuo Chen 2185147189SShuo Chencc_library( 2285147189SShuo Chen name = "common", 2385147189SShuo Chen hdrs = [ 2485147189SShuo Chen "file.h", 2585147189SShuo Chen "timer.h", 2685147189SShuo Chen ], 27c377920eSShuo Chen deps = [ 28c377920eSShuo Chen "@absl//absl/strings:str_format", 29c377920eSShuo Chen "@muduo//muduo/base", 30c377920eSShuo Chen ], 31c377920eSShuo Chen) 32c377920eSShuo Chen 33c377920eSShuo Chencc_test( 34c377920eSShuo Chen name = "benchmark", 35c377920eSShuo Chen srcs = ["benchmark.cc"], 36c377920eSShuo Chen deps = [ 37c377920eSShuo Chen ":common", 38c377920eSShuo Chen "@absl//absl/container:flat_hash_set", 39c377920eSShuo Chen ], 4085147189SShuo Chen) 41