Skip to content

Commit

Permalink
Adapt hid devices to new JS Engine
Browse files Browse the repository at this point in the history
Remove bytearrayclass since now QJSEngine has built in support for
QByteArray, which gets converted to a JS ArrayBuffer.
  • Loading branch information
ferranpujolcamins committed Sep 1, 2018
1 parent 1ea63eb commit 81e6002
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 644 deletions.
10 changes: 1 addition & 9 deletions build/depends.py
Original file line number Diff line number Diff line change
Expand Up @@ -671,14 +671,6 @@ def sources(self, build):
env['CCFLAGS'].remove('-ffast-math')
return env.Object('util/fpclassify.cpp')

class QtScriptByteArray(Dependence):
def configure(self, build, conf):
build.env.Append(CPPPATH='#lib/qtscript-bytearray')

def sources(self, build):
return ['#lib/qtscript-bytearray/bytearrayclass.cpp',
'#lib/qtscript-bytearray/bytearrayprototype.cpp']

class PortAudioRingBuffer(Dependence):
def configure(self, build, conf):
build.env.Append(CPPPATH='#lib/portaudio')
Expand Down Expand Up @@ -1523,7 +1515,7 @@ def depends(self, build):
return [SoundTouch, ReplayGain, Ebur128Mit, PortAudio, PortMIDI, Qt, TestHeaders,
FidLib, SndFile, FLAC, OggVorbis, OpenGL, TagLib, ProtoBuf,
Chromaprint, RubberBand, SecurityFramework, CoreServices, IOKit,
QtScriptByteArray, Reverb, FpClassify, PortAudioRingBuffer]
Reverb, FpClassify, PortAudioRingBuffer]

def post_dependency_check_configure(self, build, conf):
"""Sets up additional things in the Environment that must happen
Expand Down
314 changes: 0 additions & 314 deletions lib/qtscript-bytearray/bytearrayclass.cpp

This file was deleted.

Loading

0 comments on commit 81e6002

Please sign in to comment.