summaryrefslogtreecommitdiff
path: root/inttest/proto_gpb/rebar2.config
blob: 7f6bfb7b6c96741ba20a4c27bc053557fa7bb726 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 ft=erlang et

{erl_opts,
 [
  {platform_define, "R13|R14", 'NO_CALLBACK_ATTRIBUTE'}
 ]}.

{deps,
 [
  %% The dependency below to gpb is needed for "rebar compile" to
  %% work, thus for the inttest to work, but the gpb that is actually
  %% used in inttest is brought in from the inttest/proto_gpb/mock
  %% subdirectory.
  {gpb, ".*"}
 ]}.

{proto_opts, [
    {compiler, gpb},
    {src_dirs, ["proto"]}
]}.

{gpb_opts, [{module_name_suffix, "_gpb"}]}.