Skip to content

Commit

Permalink
Remove v8
Browse files Browse the repository at this point in the history
  • Loading branch information
luboslenco committed May 9, 2024
1 parent c63ac98 commit 03e0395
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 91 deletions.
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,3 @@ export ARM_LOCALE=<locale code>
./armorcore/Kinc/make --from base/Tools --kfile extract_locales.js
# Generates a `base/Assets/locale/<locale code>.json` file
```

**Release builds** *Optional, used for best performance*
```bash
# Compile krom.js using the closure compiler
https://developers.google.com/closure/compiler
# Generate a v8 snapshot file
export ARM_SNAPSHOT=1
../armorcore/Kinc/make --from ../armorcore -g api
./ArmorPaint . --snapshot
# Generates a `krom.bin` file from `krom.js` file
```
4 changes: 1 addition & 3 deletions armorforge/Plugins/Sources/plugins.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

#include <v8.h>

void plugin_embed(v8::Isolate *_isolate, v8::Local<v8::ObjectTemplate> global) {
void plugin_embed() {

}
5 changes: 0 additions & 5 deletions armorlab/Plugins/Sources/plugins.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@

#include <v8.h>
#include <kinc/log.h>

using namespace v8;

static Isolate *isolate;

extern "C" {
void texsynth_inpaint(int w, int h, void *output_ptr, void *image_ptr, void *mask_ptr, bool tiling);
}
Expand Down
1 change: 0 additions & 1 deletion armorlab/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ git clone https://github.com/armory3d/onnx_bin onnx

**Windows**
```bash
# Unpack `..\armorcore\v8\libraries\win32\release\v8_monolith.7z` using 7-Zip - Extract Here (exceeds 100MB)
..\armorcore\Kinc\make --from ..\armorcore -g direct3d11
# Open generated Visual Studio project at `build\ArmorLab.sln`
# Build and run for x64 & release
Expand Down
3 changes: 0 additions & 3 deletions armorpaint/Plugins/Sources/plugins.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@

#include <v8.h>
#include <kinc/log.h>

using namespace v8;

static Isolate *isolate;

extern "C" {
Expand Down
2 changes: 0 additions & 2 deletions armorpaint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ cd armortools/armorpaint

**Windows**
```bash
# Unpack `..\armorcore\v8\libraries\win32\release\v8_monolith.7z` using 7-Zip - Extract Here (exceeds 100MB)
..\armorcore\Kinc\make --from ..\armorcore -g direct3d11
# Open generated Visual Studio project at `build\ArmorPaint.sln`
# Build and run for x64 & release
Expand Down Expand Up @@ -72,7 +71,6 @@ cp -a build/krom/ ../armorcore/Deployment

**Windows DXR** *wip*
```bash
# Unpack `..\armorcore\v8\libraries\win32\release\v8_monolith.7z` using 7-Zip - Extract Here (exceeds 100MB)
cd ..\armorcore
git apply Patches/d3d12_raytrace.diff --directory=Kinc
cd ..\armorpaint
Expand Down
4 changes: 1 addition & 3 deletions armorsculpt/Plugins/Sources/plugins.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

#include <v8.h>

void plugin_embed(v8::Isolate *_isolate, v8::Local<v8::ObjectTemplate> global) {
void plugin_embed() {

}
62 changes: 0 additions & 62 deletions base/Assets/licenses/license_v8.md

This file was deleted.

1 change: 0 additions & 1 deletion misc/pad/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ cd armortools/misc/armorpad

**Windows**
```bash
# Unpack `..\..\armorcore\v8\libraries\win32\release\v8_monolith.7z` using 7-Zip - Extract Here (exceeds 100MB)
..\..\armorcore\Kinc\make --from ..\..\armorcore -g direct3d11 --run
```

Expand Down

0 comments on commit 03e0395

Please sign in to comment.