Commit e5320d8a authored by mstarzinger's avatar mstarzinger Committed by Commit bot

Move builtin JavaScript sources into own directory.

This moves JavaScript source files that are bundled with V8 into a
separate directory. The goal is to improve code readability and also
being able to formalize ideal reviewers by subsequently adding the
OWNERS file. These files almost exclusively contain implementations
of methods fully specified by ES6.

Note that files in the "debug" directory as well as the "d8.js" file
aren't affected by this change.

R=rossberg@chromium.org

Review URL: https://codereview.chromium.org/1398733002

Cr-Commit-Position: refs/heads/master@{#31230}
parent 1a94bc20
......@@ -194,35 +194,35 @@ action("js2c") {
inputs = [ "tools/jsmin.py" ]
sources = [
"src/macros.py",
"src/js/macros.py",
"src/messages.h",
"src/prologue.js",
"src/runtime.js",
"src/v8natives.js",
"src/symbol.js",
"src/array.js",
"src/string.js",
"src/uri.js",
"src/math.js",
"src/js/prologue.js",
"src/js/runtime.js",
"src/js/v8natives.js",
"src/js/symbol.js",
"src/js/array.js",
"src/js/string.js",
"src/js/uri.js",
"src/js/math.js",
"src/third_party/fdlibm/fdlibm.js",
"src/date.js",
"src/regexp.js",
"src/arraybuffer.js",
"src/typedarray.js",
"src/iterator-prototype.js",
"src/generator.js",
"src/object-observe.js",
"src/collection.js",
"src/weak-collection.js",
"src/collection-iterator.js",
"src/promise.js",
"src/messages.js",
"src/json.js",
"src/array-iterator.js",
"src/string-iterator.js",
"src/templates.js",
"src/harmony-array.js",
"src/harmony-typedarray.js",
"src/js/date.js",
"src/js/regexp.js",
"src/js/arraybuffer.js",
"src/js/typedarray.js",
"src/js/iterator-prototype.js",
"src/js/generator.js",
"src/js/object-observe.js",
"src/js/collection.js",
"src/js/weak-collection.js",
"src/js/collection-iterator.js",
"src/js/promise.js",
"src/js/messages.js",
"src/js/json.js",
"src/js/array-iterator.js",
"src/js/string-iterator.js",
"src/js/templates.js",
"src/js/harmony-array.js",
"src/js/harmony-typedarray.js",
"src/debug/mirrors.js",
"src/debug/debug.js",
"src/debug/liveedit.js",
......@@ -233,7 +233,7 @@ action("js2c") {
]
if (v8_enable_i18n_support) {
sources += [ "src/i18n.js" ]
sources += [ "src/js/i18n.js" ]
}
args = [
......@@ -260,9 +260,9 @@ action("js2c_code_stubs") {
inputs = [ "tools/jsmin.py" ]
sources = [
"src/macros.py",
"src/js/macros.py",
"src/messages.h",
"src/code-stubs.js"
"src/js/code-stubs.js"
]
outputs = [
......@@ -294,20 +294,20 @@ action("js2c_experimental") {
inputs = [ "tools/jsmin.py" ]
sources = [
"src/macros.py",
"src/js/macros.py",
"src/messages.h",
"src/proxy.js",
"src/generator.js",
"src/harmony-atomics.js",
"src/harmony-array-includes.js",
"src/harmony-concat-spreadable.js",
"src/harmony-tostring.js",
"src/harmony-regexp.js",
"src/harmony-reflect.js",
"src/harmony-spread.js",
"src/harmony-object-observe.js",
"src/harmony-sharedarraybuffer.js",
"src/harmony-simd.js"
"src/js/proxy.js",
"src/js/generator.js",
"src/js/harmony-atomics.js",
"src/js/harmony-array-includes.js",
"src/js/harmony-concat-spreadable.js",
"src/js/harmony-tostring.js",
"src/js/harmony-regexp.js",
"src/js/harmony-reflect.js",
"src/js/harmony-spread.js",
"src/js/harmony-object-observe.js",
"src/js/harmony-sharedarraybuffer.js",
"src/js/harmony-simd.js"
]
outputs = [
......@@ -396,7 +396,7 @@ action("d8_js2c") {
inputs = [
"src/d8.js",
"src/macros.py",
"src/js/macros.py",
]
outputs = [
......
......@@ -109,7 +109,7 @@
'variables': {
'js_files': [
'd8.js',
'macros.py',
'js/macros.py',
],
},
'conditions': [
......
......@@ -1805,7 +1805,7 @@
['v8_enable_i18n_support==1', {
'variables': {
'i18n_library_files': [
'../../src/i18n.js',
'../../src/js/i18n.js',
],
},
}, {
......@@ -1816,59 +1816,59 @@
],
'variables': {
'library_files': [
'../../src/macros.py',
'../../src/js/macros.py',
'../../src/messages.h',
'../../src/prologue.js',
'../../src/runtime.js',
'../../src/v8natives.js',
'../../src/symbol.js',
'../../src/array.js',
'../../src/string.js',
'../../src/uri.js',
'../../src/math.js',
'../../src/js/prologue.js',
'../../src/js/runtime.js',
'../../src/js/v8natives.js',
'../../src/js/symbol.js',
'../../src/js/array.js',
'../../src/js/string.js',
'../../src/js/uri.js',
'../../src/js/math.js',
'../../src/third_party/fdlibm/fdlibm.js',
'../../src/date.js',
'../../src/regexp.js',
'../../src/arraybuffer.js',
'../../src/typedarray.js',
'../../src/iterator-prototype.js',
'../../src/generator.js',
'../../src/object-observe.js',
'../../src/collection.js',
'../../src/weak-collection.js',
'../../src/collection-iterator.js',
'../../src/promise.js',
'../../src/messages.js',
'../../src/json.js',
'../../src/array-iterator.js',
'../../src/string-iterator.js',
'../../src/templates.js',
'../../src/harmony-array.js',
'../../src/harmony-typedarray.js',
'../../src/js/date.js',
'../../src/js/regexp.js',
'../../src/js/arraybuffer.js',
'../../src/js/typedarray.js',
'../../src/js/iterator-prototype.js',
'../../src/js/generator.js',
'../../src/js/object-observe.js',
'../../src/js/collection.js',
'../../src/js/weak-collection.js',
'../../src/js/collection-iterator.js',
'../../src/js/promise.js',
'../../src/js/messages.js',
'../../src/js/json.js',
'../../src/js/array-iterator.js',
'../../src/js/string-iterator.js',
'../../src/js/templates.js',
'../../src/js/harmony-array.js',
'../../src/js/harmony-typedarray.js',
'../../src/debug/mirrors.js',
'../../src/debug/debug.js',
'../../src/debug/liveedit.js',
],
'experimental_library_files': [
'../../src/macros.py',
'../../src/js/macros.py',
'../../src/messages.h',
'../../src/proxy.js',
'../../src/generator.js',
'../../src/harmony-atomics.js',
'../../src/harmony-array-includes.js',
'../../src/harmony-concat-spreadable.js',
'../../src/harmony-tostring.js',
'../../src/harmony-regexp.js',
'../../src/harmony-reflect.js',
'../../src/harmony-spread.js',
'../../src/harmony-object-observe.js',
'../../src/harmony-sharedarraybuffer.js',
'../../src/harmony-simd.js',
'../../src/js/proxy.js',
'../../src/js/generator.js',
'../../src/js/harmony-atomics.js',
'../../src/js/harmony-array-includes.js',
'../../src/js/harmony-concat-spreadable.js',
'../../src/js/harmony-tostring.js',
'../../src/js/harmony-regexp.js',
'../../src/js/harmony-reflect.js',
'../../src/js/harmony-spread.js',
'../../src/js/harmony-object-observe.js',
'../../src/js/harmony-sharedarraybuffer.js',
'../../src/js/harmony-simd.js',
],
'code_stub_library_files': [
'../../src/macros.py',
'../../src/js/macros.py',
'../../src/messages.h',
'../../src/code-stubs.js',
'../../src/js/code-stubs.js',
],
'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries.bin',
'libraries_code_stub_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-code-stub.bin',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment