aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2015-10-01 13:20:11 -0700
committerGravatar murgatroid99 <mlumish@google.com>2015-10-01 13:20:11 -0700
commitdb5b1603b20e53946b72a2e0898eeffa360fadcf (patch)
tree3867fdce780a99ffa5e01630ba7552067f26582e /templates
parentf3f85647e3f99bb60a7aefa159160fe7eaddfb28 (diff)
Removed most of the gyp file, and the tests for it
There seems to be a bug in node-gyp (nodejs/node-gyp#752) that prevents it from working properly with other gyp files.
Diffstat (limited to 'templates')
-rw-r--r--templates/grpc.gyp.template20
1 files changed, 1 insertions, 19 deletions
diff --git a/templates/grpc.gyp.template b/templates/grpc.gyp.template
index cd5446d553..b9cee33fe0 100644
--- a/templates/grpc.gyp.template
+++ b/templates/grpc.gyp.template
@@ -91,7 +91,7 @@
'targets': [
% for lib in libs:
# TODO: Add C++ targets
- % if lib.language == 'c':
+ % if lib.name == 'gpr' or lib.name == 'grpc':
{
'target_name': '${lib.name}',
'product_prefix': 'lib',
@@ -109,23 +109,5 @@
},
% endif
% endfor
- % for tgt in targets:
- % if tgt.language == 'c':
- {
- 'target_name': '${tgt.name}',
- 'type': 'executable',
- 'dependencies': [
- % for dep in getattr(tgt, 'deps', []):
- '${dep}',
- % endfor
- ],
- 'sources': [
- % for source in tgt.src:
- '${source}',
- % endfor
- ]
- },
- % endif
- % endfor
]
}