summaryrefslogtreecommitdiffstats
path: root/platform/javascript/detect.py
diff options
context:
space:
mode:
authorLeon Krause <lk@leonkrause.com>2018-05-14 15:07:29 +0200
committerLeon Krause <lk@leonkrause.com>2018-05-14 15:30:27 +0200
commit504ffda8d711b2747bf7efbbc13ca8e427eab6d1 (patch)
tree6371e6114cba570afc4198ce90d7e49c0c1ad2d9 /platform/javascript/detect.py
parenta0ea57b72cfd2f3895e93545f557d0d505e0ee89 (diff)
downloadredot-engine-504ffda8d711b2747bf7efbbc13ca8e427eab6d1.tar.gz
Small refactoring in HTML5 build scripts
Drop logic for non-existent 'profile' target
Diffstat (limited to 'platform/javascript/detect.py')
-rw-r--r--platform/javascript/detect.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py
index a48cb872ee..0c3c09b652 100644
--- a/platform/javascript/detect.py
+++ b/platform/javascript/detect.py
@@ -1,5 +1,4 @@
import os
-import string
import sys
@@ -48,8 +47,6 @@ def configure(env):
# run-time performance.
env.Append(CCFLAGS=['-Os'])
env.Append(LINKFLAGS=['-Os'])
- if env['target'] == 'profile':
- env.Append(LINKFLAGS=['--profiling-funcs'])
elif env['target'] == 'release_debug':
env.Append(CPPDEFINES=['DEBUG_ENABLED'])