Skip to content

Commit 633c375

Browse files
committed
Move libcxx routines to vendor folder
Also, include them in the .npmignore file properly
1 parent d4c3892 commit 633c375

File tree

6 files changed

+6
-3
lines changed

6 files changed

+6
-3
lines changed

.npmignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
!src/bindings/*.h
99
!src/bindings/*.cc
1010

11-
!vendor/diff-match-patch/diff_match_patch.h
12-
!vendor/diff-match-patch/LICENSE
11+
!vendor/libcxx/*
1312

1413
!vendor/pcre/pcre.gyp
1514
!vendor/pcre/pcre2_chartables.c

binding.gyp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040
"src/core/text-diff.cc",
4141
"src/core/libmba-diff.cc",
4242
],
43+
"include_dirs": [
44+
"vendor/libcxx"
45+
],
4346
"conditions": [
4447
['OS=="mac"', {
4548
'link_settings': {

script/build-browser-version.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ em++ \
4242
-O3 \
4343
-I src/bindings/em \
4444
-I src/core \
45+
-I vendor/libcxx \
4546
-I vendor/pcre/include \
4647
-D PCRE2_CODE_UNIT_WIDTH=16 \
4748
-xc++ \

src/core/encoding-conversion.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "encoding-conversion.h"
2-
#include "libcxx-components/utf8-conversions.h"
2+
#include "utf8-conversions.h"
33
#include <iconv.h>
44
#include <string.h>
55

File renamed without changes.

0 commit comments

Comments
 (0)