summaryrefslogtreecommitdiff
path: root/etc/import/TARGETS.upb
blob: 3a111937d3263d4aa8e20c3a85e0b59b2a6b9fe2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ "port":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["upb_port"]
  , "pure C": ["YES"]
  , "srcs": ["upb/port.c"]
  , "hdrs": ["upb/port_def.inc", "upb/port_undef.inc"]
  }
, "upb":
  { "type": ["@", "rules", "CC", "library"]
  , "arguments_config": ["COMPILER_FAMILY"]
  , "name": ["upb"]
  , "pure C": ["YES"]
  , "private-cflags":
    { "type": "case"
    , "expr": {"type": "var", "name": "COMPILER_FAMILY", "default": "unknown"}
    , "case": {"gnu": ["-Wno-int-to-pointer-cast", "-Wno-pointer-to-int-cast"]}
    }
  , "srcs":
    ["upb/decode.c", "upb/encode.c", "upb/msg.c", "upb/table.c", "upb/upb.c"]
  , "hdrs":
    [ "upb/decode.h"
    , "upb/encode.h"
    , "upb/upb.h"
    , "upb/upb.hpp"
    , "upb/msg.h"
    , "upb/table.int.h"
    ]
  , "deps": ["port"]
  }
}