Code Review
/
apps
/
low-level-can-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
feddc01
)
Add descriptor.proto into the #include exclusion list
author
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Tue, 12 Jun 2012 14:51:08 +0000
(17:51 +0300)
committer
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Tue, 12 Jun 2012 14:51:08 +0000
(17:51 +0300)
generator/nanopb_generator.py
patch
|
blob
|
history
diff --git
a/generator/nanopb_generator.py
b/generator/nanopb_generator.py
index
3915383
..
d41efb8
100644
(file)
--- a/
generator/nanopb_generator.py
+++ b/
generator/nanopb_generator.py
@@
-442,7
+442,7
@@
if __name__ == '__main__':
# List of .proto files that should not be included in the C header file
# even if they are mentioned in the source .proto.
- excludes = ['nanopb.proto']
+ excludes = ['nanopb.proto'
, 'google/protobuf/descriptor.proto'
]
dependencies = [d for d in fdesc.file[0].dependency if d not in excludes]
header = open(headername, 'w')