summaryrefslogtreecommitdiff
path: root/platform/javascript
diff options
context:
space:
mode:
authorAriel Manzur <ariel@okamstudio.com>2015-12-22 09:26:54 -0300
committerAriel Manzur <ariel@okamstudio.com>2015-12-22 09:26:54 -0300
commit8433221629b6c1e14c6012ab917100dbfb234a1f (patch)
tree3989292e418205e8fee469627d2c4549239206ff /platform/javascript
parent83f2084cb82d1dc006e7a9c0f23ca66e03736c2b (diff)
missing?
Diffstat (limited to 'platform/javascript')
-rw-r--r--platform/javascript/detect.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py
index ec21bf6ee4..9cc1ffc2e2 100644
--- a/platform/javascript/detect.py
+++ b/platform/javascript/detect.py
@@ -98,3 +98,10 @@ def configure(env):
#print "CCCOM is:", env.subst('$CCCOM')
#print "P: ", env['p'], " Platofrm: ", env['platform']
+
+ import methods
+
+ env.Append( BUILDERS = { 'GLSL120' : env.Builder(action = methods.build_legacygl_headers, suffix = 'glsl.h',src_suffix = '.glsl') } )
+ env.Append( BUILDERS = { 'GLSL' : env.Builder(action = methods.build_glsl_headers, suffix = 'glsl.h',src_suffix = '.glsl') } )
+ env.Append( BUILDERS = { 'GLSL120GLES' : env.Builder(action = methods.build_gles2_headers, suffix = 'glsl.h',src_suffix = '.glsl') } )
+ #env.Append( BUILDERS = { 'HLSL9' : env.Builder(action = methods.build_hlsl_dx9_headers, suffix = 'hlsl.h',src_suffix = '.hlsl') } )