mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-26 22:12:51 +08:00
132 lines
4.7 KiB
Diff
132 lines
4.7 KiB
Diff
--- a/tools/v8_gypfiles/v8.gyp
|
|
+++ b/tools/v8_gypfiles/v8.gyp
|
|
@@ -113,6 +113,7 @@
|
|
],
|
|
'hard_dependency': 1,
|
|
'direct_dependent_settings': {
|
|
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
|
|
'include_dirs': [
|
|
'<(SHARED_INTERMEDIATE_DIR)',
|
|
],
|
|
@@ -235,6 +236,7 @@
|
|
'<@(torque_outputs_cc)',
|
|
'<@(torque_outputs_inc)',
|
|
],
|
|
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
|
|
'include_dirs': [
|
|
'<(SHARED_INTERMEDIATE_DIR)',
|
|
],
|
|
@@ -256,6 +258,7 @@
|
|
'sources': [
|
|
'<(generate_bytecode_builtins_list_output)',
|
|
],
|
|
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
|
|
'include_dirs': [
|
|
'<(generate_bytecode_output_root)',
|
|
'<(SHARED_INTERMEDIATE_DIR)',
|
|
@@ -315,6 +318,7 @@
|
|
'v8_shared_internal_headers',
|
|
'v8_pch',
|
|
],
|
|
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
|
|
'include_dirs': [
|
|
'<(SHARED_INTERMEDIATE_DIR)',
|
|
'<(generate_bytecode_output_root)',
|
|
@@ -987,6 +991,7 @@
|
|
'target_name': 'v8_compiler',
|
|
'type': 'static_library',
|
|
'toolsets': ['host', 'target'],
|
|
+ 'libraries!':[ '-lcrypto', '-lssl', '-lz', '-lhttp_parser', '-luv', '-lnghttp2', '-lcares' ],
|
|
'dependencies': [
|
|
'generate_bytecode_builtins_list',
|
|
'run_torque',
|
|
@@ -1122,6 +1127,7 @@
|
|
],
|
|
'includes': ['inspector.gypi'],
|
|
'direct_dependent_settings': {
|
|
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
|
|
'include_dirs': [
|
|
'<(generate_bytecode_output_root)',
|
|
'<(SHARED_INTERMEDIATE_DIR)',
|
|
@@ -1794,6 +1800,7 @@
|
|
}],
|
|
],
|
|
'direct_dependent_settings': {
|
|
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
|
|
'include_dirs': [
|
|
'<(V8_ROOT)/include',
|
|
],
|
|
@@ -1814,6 +1821,7 @@
|
|
{
|
|
'target_name': 'bytecode_builtins_list_generator',
|
|
'type': 'executable',
|
|
+ 'libraries!':[ '-licui18n', '-licuuc', '-licudata', '-lcrypto', '-lssl', '-lz', '-lhttp_parser', '-luv', '-lnghttp2', '-lcares' ],
|
|
'conditions': [
|
|
['want_separate_host_toolset', {
|
|
'toolsets': ['host'],
|
|
@@ -1856,6 +1864,8 @@
|
|
{
|
|
'target_name': 'mksnapshot',
|
|
'type': 'executable',
|
|
+ 'libraries!':[ '-L<!@(echo "$STAGING_DIR"/usr/lib)', '-lcrypto', '-lssl', '-lz', '-lhttp_parser', '-luv', '-lnghttp2', '-lcares' ],
|
|
+ 'libraries':[ '-L../../../../staging_dir/hostpkg/share/icu/current/lib' ],
|
|
'dependencies': [
|
|
'v8_base_without_compiler',
|
|
'v8_compiler_for_mksnapshot',
|
|
@@ -1918,6 +1928,7 @@
|
|
{
|
|
'target_name': 'torque',
|
|
'type': 'executable',
|
|
+ 'libraries!':[ '-licui18n', '-licuuc', '-licudata', '-lcrypto', '-lssl', '-lz', '-lhttp_parser', '-luv', '-lnghttp2', '-lcares' ],
|
|
'dependencies': [
|
|
'torque_base',
|
|
# "build/win:default_exe_manifest",
|
|
@@ -1974,6 +1985,7 @@
|
|
{
|
|
'target_name': 'torque-language-server',
|
|
'type': 'executable',
|
|
+ 'libraries!':[ '-licui18n', '-licuuc', '-licudata', '-lcrypto', '-lssl', '-lz', '-lhttp_parser', '-luv', '-lnghttp2', '-lcares' ],
|
|
'conditions': [
|
|
['want_separate_host_toolset', {
|
|
'toolsets': ['host'],
|
|
@@ -2016,6 +2028,8 @@
|
|
{
|
|
'target_name': 'gen-regexp-special-case',
|
|
'type': 'executable',
|
|
+ 'libraries!':[ '-L<!@(echo "$STAGING_DIR"/usr/lib)', '-lcrypto', '-lssl', '-lz', '-lhttp_parser', '-luv', '-lnghttp2', '-lcares' ],
|
|
+ 'libraries':[ '-L../../../../staging_dir/hostpkg/share/icu/current/lib' ],
|
|
'dependencies': [
|
|
'v8_libbase',
|
|
# "build/win:default_exe_manifest",
|
|
@@ -2277,6 +2291,7 @@
|
|
}],
|
|
],
|
|
'direct_dependent_settings': {
|
|
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
|
|
'include_dirs': [
|
|
'<(V8_ROOT)/include',
|
|
],
|
|
@@ -2420,12 +2435,14 @@
|
|
}],
|
|
],
|
|
'direct_dependent_settings': {
|
|
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
|
|
'include_dirs': [
|
|
'<(V8_ROOT)/third_party/zlib',
|
|
'<(V8_ROOT)/third_party/zlib/google',
|
|
],
|
|
},
|
|
'defines': [ 'ZLIB_IMPLEMENTATION' ],
|
|
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
|
|
'include_dirs': [
|
|
'<(V8_ROOT)/third_party/zlib',
|
|
'<(V8_ROOT)/third_party/zlib/google',
|
|
@@ -2473,6 +2490,7 @@
|
|
'variables': {
|
|
'FP16_ROOT': '../../deps/v8/third_party/fp16',
|
|
},
|
|
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
|
|
'all_dependent_settings': {
|
|
'include_dirs': [
|
|
'<(FP16_ROOT)/src/include',
|