| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7d411f4 commit 4d7a795
7 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,14 +1,13 @@ | |||
| 1 | - #include "src/api-inl.h" | ||
| 1 | + #include "src/api/api-inl.h" | ||
| 2 | 2 | #include "src/ast/ast.h" | |
| 3 | 3 | #include "src/builtins/builtins-definitions.h" | |
| 4 | - #include "src/code-stub-assembler.h" | ||
| 5 | - #include "src/globals.h" | ||
| 6 | - #include "src/objects-inl.h" | ||
| 4 | + #include "src/common/globals.h" | ||
| 5 | + #include "src/objects/objects-inl.h" | ||
| 7 | 6 | #include "src/objects/dictionary-inl.h" | |
| 8 | 7 | #include "src/objects/js-objects-inl.h" | |
| 9 | 8 | #include "src/objects/fixed-array-inl.h" | |
| 10 | - #include "src/utils.h" | ||
| 11 | - #include "src/vector.h" | ||
| 9 | + #include "src/utils/utils.h" | ||
| 10 | + #include "src/utils/vector.h" | ||
| 12 | 11 | ||
| 13 | 12 | ||
| 14 | 13 | #include <algorithm> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,24 @@ | |||
| 1 | + # Copyright (c) 2019 Refael Ackeramnn<refack@gmail.com>. All rights reserved. | ||
| 2 | + # Use of this source code is governed by an MIT-style license. | ||
| 3 | + import re | ||
| 4 | + import os | ||
| 5 | + | ||
| 6 | + PLAIN_SOURCE_RE = re.compile('\s*"([^/$].+)"\s*') | ||
| 7 | + def DoMain(args): | ||
| 8 | + gn_filename, pattern = args | ||
| 9 | + src_root = os.path.dirname(gn_filename) | ||
| 10 | + with open(gn_filename, 'r') as gn_file: | ||
| 11 | + gn_content = gn_file.read().encode('utf-8') | ||
| 12 | + | ||
| 13 | + scraper_re = re.compile(pattern + r'\[([^\]]+)', re.DOTALL) | ||
| 14 | + matches = scraper_re.search(gn_content) | ||
| 15 | + match = matches.group(1) | ||
| 16 | + files = [] | ||
| 17 | + for l in match.splitlines(): | ||
| 18 | + m2 = PLAIN_SOURCE_RE.match(l) | ||
| 19 | + if not m2: | ||
| 20 | + continue | ||
| 21 | + files.append(m2.group(1)) | ||
| 22 | + # always use `/` since GYP will process paths further downstream | ||
| 23 | + rel_files = ['"%s/%s"' % (src_root, f) for f in files] | ||
| 24 | + return ' '.join(rel_files) | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -26,15 +26,15 @@ | |||
| 26 | 26 | '<(SHARED_INTERMEDIATE_DIR)', | |
| 27 | 27 | ], | |
| 28 | 28 | 'sources': [ | |
| 29 | - '<(V8_ROOT)/src/async-hooks-wrapper.cc', | ||
| 30 | - '<(V8_ROOT)/src/async-hooks-wrapper.h', | ||
| 31 | - '<(V8_ROOT)/src/d8-console.cc', | ||
| 32 | - '<(V8_ROOT)/src/d8-console.h', | ||
| 33 | - '<(V8_ROOT)/src/d8-js.cc', | ||
| 34 | - '<(V8_ROOT)/src/d8-platforms.cc', | ||
| 35 | - '<(V8_ROOT)/src/d8-platforms.h', | ||
| 36 | - '<(V8_ROOT)/src/d8.cc', | ||
| 37 | - '<(V8_ROOT)/src/d8.h', | ||
| 29 | + '<(V8_ROOT)/src/d8/async-hooks-wrapper.cc', | ||
| 30 | + '<(V8_ROOT)/src/d8/async-hooks-wrapper.h', | ||
| 31 | + '<(V8_ROOT)/src/d8/d8-console.cc', | ||
| 32 | + '<(V8_ROOT)/src/d8/d8-console.h', | ||
| 33 | + '<(V8_ROOT)/src/d8/d8-js.cc', | ||
| 34 | + '<(V8_ROOT)/src/d8/d8-platforms.cc', | ||
| 35 | + '<(V8_ROOT)/src/d8/d8-platforms.h', | ||
| 36 | + '<(V8_ROOT)/src/d8/d8.cc', | ||
| 37 | + '<(V8_ROOT)/src/d8/d8.h', | ||
| 38 | 38 | ], | |
| 39 | 39 | 'conditions': [ | |
| 40 | 40 | [ 'want_separate_host_toolset==1', { | |
@@ -46,10 +46,10 @@ | |||
| 46 | 46 | ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ | |
| 47 | 47 | or OS=="openbsd" or OS=="solaris" or OS=="android" \ | |
| 48 | 48 | or OS=="qnx" or OS=="aix")', { | |
| 49 | - 'sources': [ '<(V8_ROOT)/src/d8-posix.cc', ] | ||
| 49 | + 'sources': [ '<(V8_ROOT)/src/d8/d8-posix.cc', ] | ||
| 50 | 50 | }], | |
| 51 | 51 | [ 'OS=="win"', { | |
| 52 | - 'sources': [ '<(V8_ROOT)/src/d8-windows.cc', ] | ||
| 52 | + 'sources': [ '<(V8_ROOT)/src/d8/d8-windows.cc', ] | ||
| 53 | 53 | }], | |
| 54 | 54 | [ 'component!="shared_library"', { | |
| 55 | 55 | 'conditions': [ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,9 +4,9 @@ | |||
| 4 | 4 | // want to make changes to this file you should either change the | |
| 5 | 5 | // javascript source files or the GYP script. | |
| 6 | 6 | ||
| 7 | - #include "src/v8.h" | ||
| 7 | + #include "src/init/v8.h" | ||
| 8 | 8 | #include "src/snapshot/natives.h" | |
| 9 | - #include "src/utils.h" | ||
| 9 | + #include "src/utils/utils.h" | ||
| 10 | 10 | ||
| 11 | 11 | namespace v8 { | |
| 12 | 12 | namespace internal { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -113,7 +113,7 @@ | |||
| 113 | 113 | 'v8_enable_embedded_builtins%': 1, | |
| 114 | 114 | ||
| 115 | 115 | # Enable the registration of unwinding info for Windows/x64. | |
| 116 | - 'v8_win64_unwinding_info%': 0, | ||
| 116 | + 'v8_win64_unwinding_info%': 1, | ||
| 117 | 117 | ||
| 118 | 118 | # Enable code comments for builtins in the snapshot (impacts performance). | |
| 119 | 119 | 'v8_enable_snapshot_code_comments%': 0, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -66,6 +66,8 @@ | |||
| 66 | 66 | '<(V8_ROOT)/src/inspector/v8-heap-profiler-agent-impl.h', | |
| 67 | 67 | '<(V8_ROOT)/src/inspector/v8-inspector-impl.cc', | |
| 68 | 68 | '<(V8_ROOT)/src/inspector/v8-inspector-impl.h', | |
| 69 | + '<(V8_ROOT)/src/inspector/v8-inspector-protocol-encoding.cc', | ||
| 70 | + '<(V8_ROOT)/src/inspector/v8-inspector-protocol-encoding.h', | ||
| 69 | 71 | '<(V8_ROOT)/src/inspector/v8-inspector-session-impl.cc', | |
| 70 | 72 | '<(V8_ROOT)/src/inspector/v8-inspector-session-impl.h', | |
| 71 | 73 | '<(V8_ROOT)/src/inspector/v8-profiler-agent-impl.cc', | |
@@ -84,6 +86,12 @@ | |||
| 84 | 86 | '<(V8_ROOT)/src/inspector/value-mirror.h', | |
| 85 | 87 | '<(V8_ROOT)/src/inspector/wasm-translation.cc', | |
| 86 | 88 | '<(V8_ROOT)/src/inspector/wasm-translation.h', | |
| 89 | + # Flat merge `third_party/inspector_protocol:inspector_string_conversions` | ||
| 90 | + '<(inspector_path)/v8-string-conversions.cc', | ||
| 91 | + '<(inspector_path)/v8-string-conversions.h', | ||
| 92 | + # Flat merge `third_party/inspector_protocol:encoding` | ||
| 93 | + '<(inspector_protocol_path)/encoding/encoding.cc', | ||
| 94 | + '<(inspector_protocol_path)/encoding/encoding.h', | ||
| 87 | 95 | ] | |
| 88 | 96 | }, | |
| 89 | 97 | 'include_dirs': [ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments