Moved cpp code to src/cpp and js code to src/js.

This commit is contained in:
Stefan Thomas
2012-11-06 12:02:59 -08:00
parent 3c880b8301
commit fa3fab5816
214 changed files with 62 additions and 57 deletions

View File

@@ -40,7 +40,7 @@ def ProtocEmitter(target, source, env):
source = source_with_corrected_path
for src in source:
modulename = os.path.splitext(src)[0]
modulename = os.path.splitext(os.path.basename(src))[0]
if env['PROTOCOUTDIR']:
base = os.path.join(env['PROTOCOUTDIR'] , modulename)
@@ -56,8 +56,8 @@ def ProtocEmitter(target, source, env):
pass
# XXX KLUDGE: Force things to be right.
env['PROTOCOUTDIR'] = 'obj/src'
env['PROTOCPROTOPATH'] = ['src']
env['PROTOCOUTDIR'] = 'build/proto'
env['PROTOCPROTOPATH'] = ['src/cpp/ripple']
#~ print "PROTOC SOURCE:", [str(s) for s in source]
#~ print "PROTOC TARGET:", [str(s) for s in target]