absl_random.gn (1458B)
1 import("//chromium/build/config/linux/pkg_config.gni") 2 import("//chromium/build/shim_headers.gni") 3 4 pkg_config("system_absl_random_bit_gen_ref") { 5 packages = [ "absl_random_bit_gen_ref" ] 6 } 7 8 shim_headers("bit_gen_ref_shim") { 9 root_path = "." 10 prefix = "absl/random/" 11 headers = [ "bit_gen_ref.h" ] 12 } 13 14 source_set("bit_gen_ref") { 15 deps = [ ":bit_gen_ref_shim" ] 16 public_configs = [ ":system_absl_random_bit_gen_ref" ] 17 } 18 19 pkg_config("system_absl_random_distributions") { 20 packages = [ "absl_random_distributions" ] 21 } 22 23 shim_headers("distributions_shim") { 24 root_path = "." 25 prefix = "absl/random/" 26 headers = [ 27 "bernoulli_distribution.h", 28 "beta_distribution.h", 29 "discrete_distribution.h", 30 "distributions.h", 31 "exponential_distribution.h", 32 "gaussian_distribution.h", 33 "log_uniform_int_distribution.h", 34 "poisson_distribution.h", 35 "uniform_int_distribution.h", 36 "uniform_real_distribution.h", 37 "zipf_distribution.h", 38 ] 39 } 40 41 source_set("distributions") { 42 deps = [ ":distributions_shim" ] 43 public_configs = [ ":system_absl_random_distributions" ] 44 } 45 46 pkg_config("system_absl_random_random") { 47 packages = [ "absl_random_random" ] 48 } 49 50 shim_headers("random_shim") { 51 root_path = "." 52 prefix = "absl/random/" 53 headers = [ "random.h" ] 54 } 55 56 source_set("random") { 57 deps = [ ":random_shim" ] 58 public_configs = [ ":system_absl_random_random" ] 59 } 60 61 group("distributions_test") { 62 } 63 group("mock_distributions_test") { 64 }