| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| Expand Up | @@ -41,6 +41,7 @@ _UpgradeReport_Files/ | |
| ipch/ | ||
| *.sdf | ||
| *.opensdf | ||
| /.vs | ||
|
|
||
| /config.mk | ||
| /config.gypi | ||
| Expand Down | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| !core | ||
| !core/**/*.sln | ||
| !core/**/*.vcxproj | ||
| !core/**/*.vcxproj.filters | ||
| !core/**/Debug/ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| # Authors ordered by first contribution. | ||
|
|
||
| Paul Vick <paulv@microsoft.com> | ||
| Saar Yahalom <saary@microsoft.com> | ||
| Nadav Bar <nabar@microsoft.com> | ||
| Jianchun Xu <jianxu@microsoft.com> | ||
| Sandeep Agarwal <agarwal.sandeep@microsoft.com> | ||
| Curtis Man <curtism@microsoft.com> | ||
| Munyiri Kamau <munyirik@microsoft.com> | ||
| Kunal Pathak <Kunal.Pathak@microsoft.com> | ||
| Ryan Dawson <rdawson@microsoft.com> | ||
| mybios <mybios@qq.com> | ||
| Oguz Bastemur <obastemur@gmail.com> | ||
|
|
||
| # Generated by node tools/update-authors.js |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| Copyright Microsoft. All rights reserved. | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to | ||
| deal in the Software without restriction, including without limitation the | ||
| rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
| sell copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
|
|
||
| The above copyright notice and this permission notice shall be included in | ||
| all copies or substantial portions of the Software. | ||
|
|
||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
| FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS | ||
| IN THE SOFTWARE. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,77 @@ | ||
| { | ||
| 'variables': { | ||
| 'target_arch%': 'ia32', | ||
| 'library%': 'static_library', # build chakracore as static library or dll | ||
| 'component%': 'static_library', # link crt statically or dynamically | ||
| 'chakra_dir%': 'core', | ||
| 'msvs_windows_target_platform_version_prop': '', | ||
|
|
||
| 'conditions': [ | ||
| ['target_arch=="ia32"', { 'Platform': 'x86' }], | ||
| ['target_arch=="x64"', { 'Platform': 'x64' }], | ||
| ['target_arch=="arm"', { | ||
| 'Platform': 'arm', | ||
| 'msvs_windows_target_platform_version_prop': | ||
| '/p:WindowsTargetPlatformVersion=$(WindowsTargetPlatformVersion)', | ||
| }], | ||
| ], | ||
| }, | ||
|
|
||
| 'targets': [ | ||
| { | ||
| 'target_name': 'chakracore', | ||
| 'toolsets': ['host'], | ||
| 'type': 'none', | ||
|
|
||
| 'variables': { | ||
| 'chakracore_sln': '<(chakra_dir)/build/Chakra.Core.sln', | ||
| 'chakracore_header': [ | ||
| '<(chakra_dir)/lib/jsrt/chakracore.h', | ||
| '<(chakra_dir)/lib/jsrt/chakracommon.h' | ||
| ], | ||
| 'chakracore_binaries': [ | ||
| '<(chakra_dir)/build/vcbuild/bin/<(Platform)_$(ConfigurationName)/chakracore.dll', | ||
| '<(chakra_dir)/build/vcbuild/bin/<(Platform)_$(ConfigurationName)/chakracore.pdb', | ||
| '<(chakra_dir)/build/vcbuild/bin/<(Platform)_$(ConfigurationName)/chakracore.lib', | ||
| ], | ||
| }, | ||
|
|
||
| 'actions': [ | ||
| { | ||
| 'action_name': 'build_chakracore', | ||
| 'inputs': [ | ||
| '<(chakracore_sln)' | ||
| ], | ||
| 'outputs': [ | ||
| '<@(chakracore_binaries)', | ||
| ], | ||
| 'action': [ | ||
| 'msbuild', | ||
| '/p:Platform=<(Platform)', | ||
| '/p:Configuration=$(ConfigurationName)', | ||
| '/p:RuntimeLib=<(component)', | ||
| '<(msvs_windows_target_platform_version_prop)', | ||
| '/m', | ||
| '<@(_inputs)', | ||
| ], | ||
| }, | ||
| ], | ||
|
|
||
| 'copies': [ | ||
| { | ||
| 'destination': 'include', | ||
| 'files': [ '<@(chakracore_header)' ], | ||
| }, | ||
| { | ||
| 'destination': '<(PRODUCT_DIR)', | ||
| 'files': [ '<@(chakracore_binaries)' ], | ||
| }, | ||
| ], | ||
|
|
||
| 'direct_dependent_settings': { | ||
| 'library_dirs': [ '<(PRODUCT_DIR)' ], | ||
| }, | ||
|
|
||
| }, # end chakracore | ||
| ], | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,141 @@ | ||
| { | ||
| 'variables': { | ||
| 'library_files': [ | ||
| 'lib/chakra_shim.js', | ||
| ], | ||
| }, | ||
|
|
||
| 'targets': [ | ||
| { | ||
| 'target_name': 'chakrashim', | ||
| 'type': '<(library)', | ||
|
|
||
| 'dependencies': [ | ||
| 'chakra_js2c#host', | ||
| ], | ||
|
|
||
| 'include_dirs': [ | ||
| 'include', | ||
| '<(SHARED_INTERMEDIATE_DIR)' | ||
| ], | ||
| 'defines': [ | ||
| 'BUILDING_CHAKRASHIM=1', | ||
| ], | ||
| 'conditions': [ | ||
| [ 'target_arch=="ia32"', { 'defines': [ '__i386__=1' ] } ], | ||
| [ 'target_arch=="x64"', { 'defines': [ '__x86_64__=1' ] } ], | ||
| [ 'target_arch=="arm"', { 'defines': [ '__arm__=1' ] } ], | ||
| ['node_engine=="chakracore"', { | ||
| 'dependencies': [ | ||
| 'chakracore.gyp:chakracore#host', | ||
| ], | ||
| 'export_dependent_settings': [ | ||
| 'chakracore.gyp:chakracore#host', | ||
| ], | ||
| }], | ||
| ], | ||
| 'msvs_use_library_dependency_inputs': 1, | ||
|
|
||
| 'direct_dependent_settings': { | ||
| 'include_dirs': [ | ||
| 'include', | ||
| ], | ||
| 'defines': [ | ||
| 'BUILDING_CHAKRASHIM=1', | ||
| ], | ||
| 'libraries': [ | ||
| '-lole32.lib', | ||
| '-lversion.lib', | ||
| '<@(node_engine_libs)', | ||
| ], | ||
| 'conditions': [ | ||
| [ 'target_arch=="arm"', { | ||
| 'defines': [ '__arm__=1' ] | ||
| }], | ||
| ], | ||
| }, | ||
|
|
||
| 'sources': [ | ||
| 'include/libplatform/libplatform.h', | ||
| 'include/v8.h', | ||
| 'include/v8config.h', | ||
| 'include/v8-debug.h', | ||
| 'include/v8-platform.h', | ||
| 'include/v8-profiler.h', | ||
| 'include/v8-version.h', | ||
| 'src/jsrtcachedpropertyidref.inc', | ||
| 'src/jsrtcontextcachedobj.inc', | ||
| 'src/jsrtcontextshim.cc', | ||
| 'src/jsrtcontextshim.h', | ||
| 'src/jsrtisolateshim.cc', | ||
| 'src/jsrtisolateshim.h', | ||
| 'src/jsrtpromise.cc', | ||
| 'src/jsrtproxyutils.cc', | ||
| 'src/jsrtproxyutils.h', | ||
| 'src/jsrtstringutils.cc', | ||
| 'src/jsrtstringutils.h', | ||
| 'src/jsrtutils.cc', | ||
| 'src/jsrtutils.h', | ||
| 'src/v8array.cc', | ||
| 'src/v8arraybuffer.cc', | ||
| 'src/v8boolean.cc', | ||
| 'src/v8booleanobject.cc', | ||
| 'src/v8chakra.h', | ||
| 'src/v8context.cc', | ||
| 'src/v8date.cc', | ||
| 'src/v8debug.cc', | ||
| 'src/v8exception.cc', | ||
| 'src/v8external.cc', | ||
| 'src/v8function.cc', | ||
| 'src/v8functiontemplate.cc', | ||
| 'src/v8global.cc', | ||
| 'src/v8handlescope.cc', | ||
| 'src/v8int32.cc', | ||
| 'src/v8integer.cc', | ||
| 'src/v8isolate.cc', | ||
| 'src/v8message.cc', | ||
| 'src/v8number.cc', | ||
| 'src/v8numberobject.cc', | ||
| 'src/v8object.cc', | ||
| 'src/v8objecttemplate.cc', | ||
| 'src/v8persistent.cc', | ||
| 'src/v8script.cc', | ||
| 'src/v8signature.cc', | ||
| 'src/v8stacktrace.cc', | ||
| 'src/v8string.cc', | ||
| 'src/v8stringobject.cc', | ||
| 'src/v8template.cc', | ||
| 'src/v8trycatch.cc', | ||
| 'src/v8typedarray.cc', | ||
| 'src/v8uint32.cc', | ||
| 'src/v8v8.cc', | ||
| 'src/v8value.cc', | ||
| ], | ||
| }, # end chakrashim | ||
|
|
||
| { | ||
| 'target_name': 'chakra_js2c', | ||
| 'type': 'none', | ||
| 'toolsets': ['host'], | ||
| 'msvs_disabled_warnings': [4091], | ||
| 'actions': [ | ||
| { | ||
| 'action_name': 'chakra_js2c', | ||
| 'inputs': [ | ||
| '<@(library_files)' | ||
| ], | ||
| 'outputs': [ | ||
| '<(SHARED_INTERMEDIATE_DIR)/chakra_natives.h', | ||
| ], | ||
| 'action': [ | ||
| '<(python)', | ||
| './../../tools/js2c.py', | ||
| '--namespace=jsrt', | ||
| '<@(_outputs)', | ||
| '<@(_inputs)', | ||
| ], | ||
| }, | ||
| ], | ||
| }, # end chakra_js2c | ||
| ], | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| *.baseline -crlf | ||
| *.cmd -crlf | ||
| test/*.js -crlf |
| Back | FazBrowse Home | New Git URL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityNit: is node_engine established elsewhere? Maybe js_engine? This line and everywhere else for consistency
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityWe usually just prefix node stuff with node_ in here.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Qualitycool, cool
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.