This repository was archived by the owner on Mar 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathek.js
More file actions
45 lines (43 loc) · 1.17 KB
/
ek.js
File metadata and controls
45 lines (43 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
*
* @param {Project} project
*/
function setup(project) {
project.addModule({
name: "auph",
path: __dirname,
cpp_include: "include",
android: {
cpp_include: [
"android/oboe/src",
"android/oboe/include"
],
cpp_lib: ["android", "log", "OpenSLES"],
android_java: "android/java",
android_permission: "android.permission.VIBRATE"
},
apple: {
cpp_flags: {
// TODO: this file is local compiled to static lib,
// need to migrate flags to implementor module
files: ["auph-static.cpp"],
flags: "-x objective-c++"
},
xcode_framework: ["Foundation", "AudioToolbox"]
},
macos: {
xcode_framework: "CoreAudio"
},
ios: {
xcode_framework: "AVFoundation"
},
web: {
js_pre: "web/dist/emscripten"
},
windows: {},
linux: {}
});
project.importModule("@ekx/stb", __dirname);
project.importModule("@ekx/dr-libs", __dirname);
}
module.exports = setup;