Skip to content

Commit

Permalink
move generateds from tools repo to contrail-api-client repo
Browse files Browse the repository at this point in the history
Partial-Bug: #1757504

Change-Id: I30e9c37c7859557d74ef733833560e578b8b6dc3
  • Loading branch information
Shivayogi123 committed Mar 22, 2018
1 parent dc75fbe commit 4d9fec0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rules.py
Expand Up @@ -940,7 +940,7 @@ def ThriftGenPyFunc(env, path, target=''):

def IFMapBuilderCmd(source, target, env, for_signature):
output = Basename(source[0].abspath)
return '%s -f -g ifmap-backend -o %s %s' % (env.File('#tools/generateds/generateDS.py').abspath, output, source[0])
return '%s -f -g ifmap-backend -o %s %s' % (env.File('#src/contrail-api-client/generateds/generateDS.py').abspath, output, source[0])

def IFMapTargetGen(target, source, env):
suffixes = ['_types.h', '_types.cc', '_parser.cc',
Expand All @@ -957,7 +957,7 @@ def CreateIFMapBuilder(env):

def DeviceAPIBuilderCmd(source, target, env, for_signature):
output = Basename(source[0].abspath)
return './tools/generateds/generateDS.py -f -g device-api -o %s %s' % (output, source[0])
return './src/contrail-api-client/generateds/generateDS.py -f -g device-api -o %s %s' % (output, source[0])

def DeviceAPITargetGen(target, source, env):
suffixes = []
Expand All @@ -972,7 +972,7 @@ def CreateDeviceAPIBuilder(env):

def TypeBuilderCmd(source, target, env, for_signature):
output = Basename(source[0].abspath)
return '%s -f -g type -o %s %s' % (env.File('#tools/generateds/generateDS.py').abspath, output, source[0])
return '%s -f -g type -o %s %s' % (env.File('#src/contrail-api-client/generateds/generateDS.py').abspath, output, source[0])

def TypeTargetGen(target, source, env):
suffixes = ['_types.h', '_types.cc', '_parser.cc']
Expand Down

0 comments on commit 4d9fec0

Please sign in to comment.