tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

absl_flags.gn (1789B)


      1 import("//chromium/build/config/linux/pkg_config.gni")
      2 import("//chromium/build/shim_headers.gni")
      3 
      4 pkg_config("absl_flags_config") {
      5   # This target is referenced by //third_party/abseil-cpp:absl_full_deps
      6   # and as such must be named like this and not like system_
      7   packages = [ "absl_flags_config" ]
      8 }
      9 
     10 pkg_config("system_absl_flags") {
     11   packages = [ "absl_flags" ]
     12 }
     13 
     14 pkg_config("system_absl_flags_parse") {
     15   packages = [ "absl_flags_parse" ]
     16 }
     17 
     18 pkg_config("system_absl_flags_reflection") {
     19   packages = [ "absl_flags_reflection" ]
     20 }
     21 
     22 pkg_config("system_absl_flags_usage") {
     23   packages = [ "absl_flags_usage" ]
     24 }
     25 
     26 shim_headers("flags_config_shim") {
     27   root_path = "."
     28   prefix = "absl/flags/"
     29   headers = [
     30     "config.h",
     31     "usage_config.h",
     32   ]
     33 }
     34 
     35 source_set("config") {
     36   deps = [ ":flags_config_shim" ]
     37   public_configs = [ ":absl_flags_config" ]
     38 }
     39 
     40 shim_headers("flag_shim") {
     41   root_path = "."
     42   prefix = "absl/flags/"
     43   headers = [
     44     "declare.h",
     45     "flag.h",
     46   ]
     47 }
     48 
     49 source_set("flag") {
     50   deps = [ ":flag_shim" ]
     51   public_configs = [ ":system_absl_flags" ]
     52 }
     53 
     54 shim_headers("parse_shim") {
     55   root_path = "."
     56   prefix = "absl/flags/"
     57   headers = [ "parse.h" ]
     58 }
     59 
     60 source_set("parse") {
     61   deps = [ ":parse_shim" ]
     62   public_configs = [ ":system_absl_flags_parse" ]
     63 }
     64 
     65 shim_headers("flags_reflection_shim") {
     66   root_path = "."
     67   prefix = "absl/flags/"
     68   headers = [
     69     "internal/registry.h",
     70     "reflection.h",
     71   ]
     72 }
     73 
     74 source_set("reflection") {
     75   deps = [ ":flags_reflection_shim" ]
     76   public_configs = [ ":system_absl_flags_reflection" ]
     77 }
     78 
     79 shim_headers("usage_shim") {
     80   root_path = "."
     81   prefix = "absl/flags/"
     82   headers = [ "usage.h" ]
     83 }
     84 
     85 source_set("usage") {
     86   deps = [ ":usage_shim" ]
     87   public_configs = [ ":system_absl_flags_usage" ]
     88 }
     89 
     90 source_set("flag_test") {
     91 }