Skip to content
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.

Commit

Permalink
Set the input as deps/ioticity only when externalOCTBStack is true.
Browse files Browse the repository at this point in the history
Signed-off-by: Sudarsana Nagineni <sudarsana.nagineni@intel.com>
  • Loading branch information
Sudarsana Nagineni authored and Gabriel Schulhof committed Nov 10, 2015
1 parent 8ae6a5a commit 508f01d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,17 @@
"actions": [ {
"action_name": "generateconstants",
"message": "Generating constants",
"inputs": ["deps/iotivity"],
"outputs": ["generated/constants.cc"],
"conditions": [
[ "'<(externalOCTBStack)'=='false'", {
"inputs": ["deps/iotivity"],
"action": [
"sh",
"./generate-constants.sh",
'<(internal_octbstack_cflags)'
]
}, {
"inputs": [""],
"action": [
"sh",
"./generate-constants.sh",
Expand All @@ -125,16 +126,17 @@
"actions": [ {
"action_name": "generateenums",
"message": "Generating enums",
"inputs": ["deps/iotivity"],
"outputs": ["generated/enums.cc"],
"conditions": [
[ "'<(externalOCTBStack)'=='false'", {
"inputs": ["deps/iotivity"],
"action": [
"sh",
"./generate-enums.sh",
'<(internal_octbstack_cflags)'
]
}, {
"inputs": [""],
"action": [
"sh",
"./generate-enums.sh",
Expand Down

0 comments on commit 508f01d

Please sign in to comment.