├── .classpath
├── .gitignore
├── .project
├── AUTHORS
├── COPYRIGHT
├── README.md
├── build.xml
├── common.gypi
├── core
├── README
├── core.mag
├── io.mag
├── magpie
│ ├── lexer.mag
│ └── token.mag
└── net.mag
├── dep
├── gyp
│ ├── .gitignore
│ ├── AUTHORS
│ ├── DEPS
│ ├── LICENSE
│ ├── MANIFEST
│ ├── OWNERS
│ ├── PRESUBMIT.py
│ ├── buildbot
│ │ └── buildbot_run.py
│ ├── codereview.settings
│ ├── gyp
│ ├── gyp.bat
│ ├── gyp_dummy.c
│ ├── gyptest.py
│ ├── pylib
│ │ └── gyp
│ │ │ ├── MSVSNew.py
│ │ │ ├── MSVSProject.py
│ │ │ ├── MSVSSettings.py
│ │ │ ├── MSVSSettings_test.py
│ │ │ ├── MSVSToolFile.py
│ │ │ ├── MSVSUserFile.py
│ │ │ ├── MSVSVersion.py
│ │ │ ├── SCons.py
│ │ │ ├── __init__.py
│ │ │ ├── common.py
│ │ │ ├── common_test.py
│ │ │ ├── easy_xml.py
│ │ │ ├── easy_xml_test.py
│ │ │ ├── generator
│ │ │ ├── __init__.py
│ │ │ ├── android.py
│ │ │ ├── dump_dependency_json.py
│ │ │ ├── eclipse.py
│ │ │ ├── gypd.py
│ │ │ ├── gypsh.py
│ │ │ ├── make.py
│ │ │ ├── msvs.py
│ │ │ ├── msvs_test.py
│ │ │ ├── ninja.py
│ │ │ ├── ninja_test.py
│ │ │ ├── scons.py
│ │ │ └── xcode.py
│ │ │ ├── input.py
│ │ │ ├── mac_tool.py
│ │ │ ├── msvs_emulation.py
│ │ │ ├── ninja_syntax.py
│ │ │ ├── sun_tool.py
│ │ │ ├── win_tool.py
│ │ │ ├── xcode_emulation.py
│ │ │ ├── xcodeproj_file.py
│ │ │ └── xml_fix.py
│ ├── pylintrc
│ ├── samples
│ │ ├── samples
│ │ └── samples.bat
│ ├── setup.py
│ ├── test
│ │ ├── actions-bare
│ │ │ ├── gyptest-bare.py
│ │ │ └── src
│ │ │ │ ├── bare.gyp
│ │ │ │ └── bare.py
│ │ ├── actions-multiple
│ │ │ ├── gyptest-all.py
│ │ │ └── src
│ │ │ │ ├── actions.gyp
│ │ │ │ ├── copy.py
│ │ │ │ ├── filter.py
│ │ │ │ ├── foo.c
│ │ │ │ ├── input.txt
│ │ │ │ └── main.c
│ │ ├── actions-none
│ │ │ ├── gyptest-none.py
│ │ │ └── src
│ │ │ │ ├── fake_cross.py
│ │ │ │ ├── foo.cc
│ │ │ │ └── none_with_source_files.gyp
│ │ ├── actions-subdir
│ │ │ ├── gyptest-action.py
│ │ │ └── src
│ │ │ │ ├── make-file.py
│ │ │ │ ├── none.gyp
│ │ │ │ └── subdir
│ │ │ │ ├── make-subdir-file.py
│ │ │ │ └── subdir.gyp
│ │ ├── actions
│ │ │ ├── gyptest-all.py
│ │ │ ├── gyptest-default.py
│ │ │ ├── gyptest-errors.py
│ │ │ └── src
│ │ │ │ ├── action_missing_name.gyp
│ │ │ │ ├── actions.gyp
│ │ │ │ ├── confirm-dep-files.py
│ │ │ │ ├── subdir1
│ │ │ │ ├── counter.py
│ │ │ │ ├── executable.gyp
│ │ │ │ ├── make-prog1.py
│ │ │ │ ├── make-prog2.py
│ │ │ │ └── program.c
│ │ │ │ ├── subdir2
│ │ │ │ ├── make-file.py
│ │ │ │ └── none.gyp
│ │ │ │ └── subdir3
│ │ │ │ ├── generate_main.py
│ │ │ │ └── null_input.gyp
│ │ ├── additional-targets
│ │ │ ├── gyptest-additional.py
│ │ │ └── src
│ │ │ │ ├── all.gyp
│ │ │ │ └── dir1
│ │ │ │ ├── actions.gyp
│ │ │ │ ├── emit.py
│ │ │ │ └── lib1.c
│ │ ├── assembly
│ │ │ ├── gyptest-assembly.py
│ │ │ ├── gyptest-override.py
│ │ │ └── src
│ │ │ │ ├── as.bat
│ │ │ │ ├── assembly.gyp
│ │ │ │ ├── lib1.S
│ │ │ │ ├── lib1.c
│ │ │ │ ├── override.gyp
│ │ │ │ ├── override_asm.asm
│ │ │ │ └── program.c
│ │ ├── build-option
│ │ │ ├── gyptest-build.py
│ │ │ ├── hello.c
│ │ │ └── hello.gyp
│ │ ├── builddir
│ │ │ ├── gyptest-all.py
│ │ │ ├── gyptest-default.py
│ │ │ └── src
│ │ │ │ ├── builddir.gypi
│ │ │ │ ├── func1.c
│ │ │ │ ├── func2.c
│ │ │ │ ├── func3.c
│ │ │ │ ├── func4.c
│ │ │ │ ├── func5.c
│ │ │ │ ├── prog1.c
│ │ │ │ ├── prog1.gyp
│ │ │ │ └── subdir2
│ │ │ │ ├── prog2.c
│ │ │ │ ├── prog2.gyp
│ │ │ │ └── subdir3
│ │ │ │ ├── prog3.c
│ │ │ │ ├── prog3.gyp
│ │ │ │ └── subdir4
│ │ │ │ ├── prog4.c
│ │ │ │ ├── prog4.gyp
│ │ │ │ └── subdir5
│ │ │ │ ├── prog5.c
│ │ │ │ └── prog5.gyp
│ │ ├── cflags
│ │ │ ├── cflags.c
│ │ │ ├── cflags.gyp
│ │ │ └── gyptest-cflags.py
│ │ ├── compilable
│ │ │ ├── gyptest-headers.py
│ │ │ └── src
│ │ │ │ ├── headers.gyp
│ │ │ │ ├── lib1.cpp
│ │ │ │ ├── lib1.hpp
│ │ │ │ └── program.cpp
│ │ ├── compiler-override
│ │ │ ├── compiler-global-settings.gyp.in
│ │ │ ├── compiler-host.gyp
│ │ │ ├── compiler.gyp
│ │ │ ├── cxxtest.cc
│ │ │ ├── gyptest-compiler-env.py
│ │ │ ├── gyptest-compiler-global-settings.py
│ │ │ ├── my_cc.py
│ │ │ ├── my_cxx.py
│ │ │ ├── my_ld.py
│ │ │ └── test.c
│ │ ├── configurations
│ │ │ ├── basics
│ │ │ │ ├── configurations.c
│ │ │ │ ├── configurations.gyp
│ │ │ │ └── gyptest-configurations.py
│ │ │ ├── inheritance
│ │ │ │ ├── configurations.c
│ │ │ │ ├── configurations.gyp
│ │ │ │ └── gyptest-inheritance.py
│ │ │ ├── invalid
│ │ │ │ ├── actions.gyp
│ │ │ │ ├── all_dependent_settings.gyp
│ │ │ │ ├── configurations.gyp
│ │ │ │ ├── dependencies.gyp
│ │ │ │ ├── direct_dependent_settings.gyp
│ │ │ │ ├── gyptest-configurations.py
│ │ │ │ ├── libraries.gyp
│ │ │ │ ├── link_settings.gyp
│ │ │ │ ├── sources.gyp
│ │ │ │ ├── standalone_static_library.gyp
│ │ │ │ ├── target_name.gyp
│ │ │ │ └── type.gyp
│ │ │ ├── target_platform
│ │ │ │ ├── configurations.gyp
│ │ │ │ ├── front.c
│ │ │ │ ├── gyptest-target_platform.py
│ │ │ │ ├── left.c
│ │ │ │ └── right.c
│ │ │ └── x64
│ │ │ │ ├── configurations.c
│ │ │ │ ├── configurations.gyp
│ │ │ │ └── gyptest-x86.py
│ │ ├── copies
│ │ │ ├── gyptest-all.py
│ │ │ ├── gyptest-default.py
│ │ │ ├── gyptest-slash.py
│ │ │ ├── gyptest-updir.py
│ │ │ └── src
│ │ │ │ ├── copies-slash.gyp
│ │ │ │ ├── copies-updir.gyp
│ │ │ │ ├── copies.gyp
│ │ │ │ ├── directory
│ │ │ │ ├── file3
│ │ │ │ ├── file4
│ │ │ │ └── subdir
│ │ │ │ │ └── file5
│ │ │ │ ├── file1
│ │ │ │ ├── file2
│ │ │ │ └── parentdir
│ │ │ │ └── subdir
│ │ │ │ └── file6
│ │ ├── custom-generator
│ │ │ ├── gyptest-custom-generator.py
│ │ │ ├── mygenerator.py
│ │ │ └── test.gyp
│ │ ├── cxxflags
│ │ │ ├── cxxflags.cc
│ │ │ ├── cxxflags.gyp
│ │ │ └── gyptest-cxxflags.py
│ │ ├── defines-escaping
│ │ │ ├── defines-escaping.c
│ │ │ ├── defines-escaping.gyp
│ │ │ └── gyptest-defines-escaping.py
│ │ ├── defines
│ │ │ ├── defines-env.gyp
│ │ │ ├── defines.c
│ │ │ ├── defines.gyp
│ │ │ ├── gyptest-define-override.py
│ │ │ ├── gyptest-defines-env-regyp.py
│ │ │ ├── gyptest-defines-env.py
│ │ │ └── gyptest-defines.py
│ │ ├── dependencies
│ │ │ ├── a.c
│ │ │ ├── b
│ │ │ │ ├── b.c
│ │ │ │ ├── b.gyp
│ │ │ │ └── b3.c
│ │ │ ├── c
│ │ │ │ ├── c.c
│ │ │ │ ├── c.gyp
│ │ │ │ └── d.c
│ │ │ ├── double_dependency.gyp
│ │ │ ├── double_dependent.gyp
│ │ │ ├── extra_targets.gyp
│ │ │ ├── gyptest-double-dependency.py
│ │ │ ├── gyptest-extra-targets.py
│ │ │ ├── gyptest-lib-only.py
│ │ │ ├── gyptest-none-traversal.py
│ │ │ ├── lib_only.gyp
│ │ │ ├── main.c
│ │ │ └── none_traversal.gyp
│ │ ├── dependency-copy
│ │ │ ├── gyptest-copy.py
│ │ │ └── src
│ │ │ │ ├── copies.gyp
│ │ │ │ ├── file1.c
│ │ │ │ └── file2.c
│ │ ├── errors
│ │ │ ├── duplicate_basenames.gyp
│ │ │ ├── duplicate_node.gyp
│ │ │ ├── duplicate_rule.gyp
│ │ │ ├── duplicate_targets.gyp
│ │ │ ├── gyptest-errors.py
│ │ │ ├── missing_dep.gyp
│ │ │ └── missing_targets.gyp
│ │ ├── escaping
│ │ │ ├── colon
│ │ │ │ └── test.gyp
│ │ │ └── gyptest-colon.py
│ │ ├── exclusion
│ │ │ ├── exclusion.gyp
│ │ │ ├── gyptest-exclusion.py
│ │ │ └── hello.c
│ │ ├── external-cross-compile
│ │ │ ├── gyptest-cross.py
│ │ │ └── src
│ │ │ │ ├── bogus1.cc
│ │ │ │ ├── bogus2.c
│ │ │ │ ├── cross.gyp
│ │ │ │ ├── cross_compile.gypi
│ │ │ │ ├── fake_cross.py
│ │ │ │ ├── program.cc
│ │ │ │ ├── test1.cc
│ │ │ │ ├── test2.c
│ │ │ │ ├── test3.cc
│ │ │ │ ├── test4.c
│ │ │ │ └── tochar.py
│ │ ├── generator-output
│ │ │ ├── actions
│ │ │ │ ├── actions.gyp
│ │ │ │ ├── subdir1
│ │ │ │ │ ├── actions-out
│ │ │ │ │ │ └── README.txt
│ │ │ │ │ ├── executable.gyp
│ │ │ │ │ ├── make-prog1.py
│ │ │ │ │ ├── make-prog2.py
│ │ │ │ │ └── program.c
│ │ │ │ └── subdir2
│ │ │ │ │ ├── actions-out
│ │ │ │ │ └── README.txt
│ │ │ │ │ ├── make-file.py
│ │ │ │ │ └── none.gyp
│ │ │ ├── copies
│ │ │ │ ├── copies-out
│ │ │ │ │ └── README.txt
│ │ │ │ ├── copies.gyp
│ │ │ │ ├── file1
│ │ │ │ ├── file2
│ │ │ │ └── subdir
│ │ │ │ │ ├── copies-out
│ │ │ │ │ └── README.txt
│ │ │ │ │ ├── file3
│ │ │ │ │ ├── file4
│ │ │ │ │ └── subdir.gyp
│ │ │ ├── gyptest-actions.py
│ │ │ ├── gyptest-copies.py
│ │ │ ├── gyptest-mac-bundle.py
│ │ │ ├── gyptest-relocate.py
│ │ │ ├── gyptest-rules.py
│ │ │ ├── gyptest-subdir2-deep.py
│ │ │ ├── gyptest-symlink.py
│ │ │ ├── gyptest-top-all.py
│ │ │ ├── mac-bundle
│ │ │ │ ├── Info.plist
│ │ │ │ ├── app.order
│ │ │ │ ├── header.h
│ │ │ │ ├── main.c
│ │ │ │ ├── resource.sb
│ │ │ │ └── test.gyp
│ │ │ ├── rules
│ │ │ │ ├── copy-file.py
│ │ │ │ ├── rules.gyp
│ │ │ │ ├── subdir1
│ │ │ │ │ ├── define3.in0
│ │ │ │ │ ├── define4.in0
│ │ │ │ │ ├── executable.gyp
│ │ │ │ │ ├── function1.in1
│ │ │ │ │ ├── function2.in1
│ │ │ │ │ └── program.c
│ │ │ │ └── subdir2
│ │ │ │ │ ├── file1.in0
│ │ │ │ │ ├── file2.in0
│ │ │ │ │ ├── file3.in1
│ │ │ │ │ ├── file4.in1
│ │ │ │ │ ├── none.gyp
│ │ │ │ │ └── rules-out
│ │ │ │ │ └── README.txt
│ │ │ └── src
│ │ │ │ ├── inc.h
│ │ │ │ ├── inc1
│ │ │ │ └── include1.h
│ │ │ │ ├── prog1.c
│ │ │ │ ├── prog1.gyp
│ │ │ │ ├── subdir2
│ │ │ │ ├── deeper
│ │ │ │ │ ├── deeper.c
│ │ │ │ │ ├── deeper.gyp
│ │ │ │ │ └── deeper.h
│ │ │ │ ├── inc2
│ │ │ │ │ └── include2.h
│ │ │ │ ├── prog2.c
│ │ │ │ └── prog2.gyp
│ │ │ │ ├── subdir3
│ │ │ │ ├── inc3
│ │ │ │ │ └── include3.h
│ │ │ │ ├── prog3.c
│ │ │ │ └── prog3.gyp
│ │ │ │ └── symroot.gypi
│ │ ├── gyp-defines
│ │ │ ├── defines.gyp
│ │ │ ├── echo.py
│ │ │ ├── gyptest-multiple-values.py
│ │ │ └── gyptest-regyp.py
│ │ ├── hard_dependency
│ │ │ ├── gyptest-exported-hard-dependency.py
│ │ │ ├── gyptest-no-exported-hard-dependency.py
│ │ │ └── src
│ │ │ │ ├── a.c
│ │ │ │ ├── a.h
│ │ │ │ ├── b.c
│ │ │ │ ├── b.h
│ │ │ │ ├── c.c
│ │ │ │ ├── c.h
│ │ │ │ ├── d.c
│ │ │ │ ├── emit.py
│ │ │ │ └── hard_dependency.gyp
│ │ ├── hello
│ │ │ ├── gyptest-all.py
│ │ │ ├── gyptest-default.py
│ │ │ ├── gyptest-disable-regyp.py
│ │ │ ├── gyptest-regyp.py
│ │ │ ├── gyptest-target.py
│ │ │ ├── hello.c
│ │ │ ├── hello.gyp
│ │ │ ├── hello2.c
│ │ │ └── hello2.gyp
│ │ ├── home_dot_gyp
│ │ │ ├── gyptest-home-includes-regyp.py
│ │ │ ├── gyptest-home-includes.py
│ │ │ ├── home
│ │ │ │ └── .gyp
│ │ │ │ │ └── include.gypi
│ │ │ ├── home2
│ │ │ │ └── .gyp
│ │ │ │ │ └── include.gypi
│ │ │ └── src
│ │ │ │ ├── all.gyp
│ │ │ │ └── printfoo.c
│ │ ├── include_dirs
│ │ │ ├── gyptest-all.py
│ │ │ ├── gyptest-default.py
│ │ │ └── src
│ │ │ │ ├── inc.h
│ │ │ │ ├── inc1
│ │ │ │ └── include1.h
│ │ │ │ ├── includes.c
│ │ │ │ ├── includes.gyp
│ │ │ │ ├── shadow1
│ │ │ │ └── shadow.h
│ │ │ │ ├── shadow2
│ │ │ │ └── shadow.h
│ │ │ │ └── subdir
│ │ │ │ ├── inc.h
│ │ │ │ ├── inc2
│ │ │ │ └── include2.h
│ │ │ │ ├── subdir_includes.c
│ │ │ │ └── subdir_includes.gyp
│ │ ├── intermediate_dir
│ │ │ ├── gyptest-intermediate-dir.py
│ │ │ └── src
│ │ │ │ ├── script.py
│ │ │ │ ├── shared_infile.txt
│ │ │ │ ├── test.gyp
│ │ │ │ └── test2.gyp
│ │ ├── lib
│ │ │ ├── README.txt
│ │ │ ├── TestCmd.py
│ │ │ ├── TestCommon.py
│ │ │ └── TestGyp.py
│ │ ├── library
│ │ │ ├── gyptest-shared-obj-install-path.py
│ │ │ ├── gyptest-shared.py
│ │ │ ├── gyptest-static.py
│ │ │ └── src
│ │ │ │ ├── lib1.c
│ │ │ │ ├── lib1_moveable.c
│ │ │ │ ├── lib2.c
│ │ │ │ ├── lib2_moveable.c
│ │ │ │ ├── library.gyp
│ │ │ │ ├── program.c
│ │ │ │ └── shared_dependency.gyp
│ │ ├── link-objects
│ │ │ ├── base.c
│ │ │ ├── extra.c
│ │ │ ├── gyptest-all.py
│ │ │ └── link-objects.gyp
│ │ ├── mac
│ │ │ ├── action-envvars
│ │ │ │ └── action
│ │ │ │ │ ├── action.gyp
│ │ │ │ │ └── action.sh
│ │ │ ├── app-bundle
│ │ │ │ ├── TestApp
│ │ │ │ │ ├── English.lproj
│ │ │ │ │ │ ├── InfoPlist.strings
│ │ │ │ │ │ └── MainMenu.xib
│ │ │ │ │ ├── TestApp-Info.plist
│ │ │ │ │ ├── TestAppAppDelegate.h
│ │ │ │ │ ├── TestAppAppDelegate.m
│ │ │ │ │ └── main.m
│ │ │ │ ├── empty.c
│ │ │ │ └── test.gyp
│ │ │ ├── archs
│ │ │ │ ├── my_file.cc
│ │ │ │ ├── my_main_file.cc
│ │ │ │ ├── test-archs-x86_64.gyp
│ │ │ │ └── test-no-archs.gyp
│ │ │ ├── cflags
│ │ │ │ ├── ccfile.cc
│ │ │ │ ├── ccfile_withcflags.cc
│ │ │ │ ├── cfile.c
│ │ │ │ ├── cppfile.cpp
│ │ │ │ ├── cppfile_withcflags.cpp
│ │ │ │ ├── cxxfile.cxx
│ │ │ │ ├── cxxfile_withcflags.cxx
│ │ │ │ ├── mfile.m
│ │ │ │ ├── mmfile.mm
│ │ │ │ ├── mmfile_withcflags.mm
│ │ │ │ └── test.gyp
│ │ │ ├── copy-dylib
│ │ │ │ ├── empty.c
│ │ │ │ └── test.gyp
│ │ │ ├── debuginfo
│ │ │ │ ├── file.c
│ │ │ │ └── test.gyp
│ │ │ ├── depend-on-bundle
│ │ │ │ ├── English.lproj
│ │ │ │ │ └── InfoPlist.strings
│ │ │ │ ├── Info.plist
│ │ │ │ ├── bundle.c
│ │ │ │ ├── executable.c
│ │ │ │ └── test.gyp
│ │ │ ├── framework-dirs
│ │ │ │ ├── calculate.c
│ │ │ │ └── framework-dirs.gyp
│ │ │ ├── framework-headers
│ │ │ │ ├── myframework.h
│ │ │ │ ├── myframework.m
│ │ │ │ └── test.gyp
│ │ │ ├── framework
│ │ │ │ ├── TestFramework
│ │ │ │ │ ├── English.lproj
│ │ │ │ │ │ └── InfoPlist.strings
│ │ │ │ │ ├── Info.plist
│ │ │ │ │ ├── ObjCVector.h
│ │ │ │ │ ├── ObjCVector.mm
│ │ │ │ │ ├── ObjCVectorInternal.h
│ │ │ │ │ └── TestFramework_Prefix.pch
│ │ │ │ ├── empty.c
│ │ │ │ └── framework.gyp
│ │ │ ├── global-settings
│ │ │ │ └── src
│ │ │ │ │ ├── dir1
│ │ │ │ │ └── dir1.gyp
│ │ │ │ │ └── dir2
│ │ │ │ │ ├── dir2.gyp
│ │ │ │ │ └── file.txt
│ │ │ ├── gyptest-action-envvars.py
│ │ │ ├── gyptest-app.py
│ │ │ ├── gyptest-archs.py
│ │ │ ├── gyptest-cflags.py
│ │ │ ├── gyptest-copies.py
│ │ │ ├── gyptest-copy-dylib.py
│ │ │ ├── gyptest-debuginfo.py
│ │ │ ├── gyptest-depend-on-bundle.py
│ │ │ ├── gyptest-framework-dirs.py
│ │ │ ├── gyptest-framework-headers.py
│ │ │ ├── gyptest-framework.py
│ │ │ ├── gyptest-global-settings.py
│ │ │ ├── gyptest-infoplist-process.py
│ │ │ ├── gyptest-installname.py
│ │ │ ├── gyptest-ldflags-passed-to-libtool.py
│ │ │ ├── gyptest-ldflags.py
│ │ │ ├── gyptest-libraries.py
│ │ │ ├── gyptest-loadable-module.py
│ │ │ ├── gyptest-missing-cfbundlesignature.py
│ │ │ ├── gyptest-non-strs-flattened-to-env.py
│ │ │ ├── gyptest-objc-gc.py
│ │ │ ├── gyptest-postbuild-copy-bundle.py
│ │ │ ├── gyptest-postbuild-defaults.py
│ │ │ ├── gyptest-postbuild-fail.py
│ │ │ ├── gyptest-postbuild-multiple-configurations.py
│ │ │ ├── gyptest-postbuild-static-library.gyp
│ │ │ ├── gyptest-postbuild.py
│ │ │ ├── gyptest-prefixheader.py
│ │ │ ├── gyptest-rebuild.py
│ │ │ ├── gyptest-rpath.py
│ │ │ ├── gyptest-sdkroot.py
│ │ │ ├── gyptest-sourceless-module.gyp
│ │ │ ├── gyptest-strip.py
│ │ │ ├── gyptest-type-envvars.py
│ │ │ ├── gyptest-xcode-env-order.py
│ │ │ ├── gyptest-xcode-gcc.py
│ │ │ ├── infoplist-process
│ │ │ │ ├── Info.plist
│ │ │ │ ├── main.c
│ │ │ │ ├── test1.gyp
│ │ │ │ ├── test2.gyp
│ │ │ │ └── test3.gyp
│ │ │ ├── installname
│ │ │ │ ├── Info.plist
│ │ │ │ ├── file.c
│ │ │ │ ├── main.c
│ │ │ │ └── test.gyp
│ │ │ ├── ldflags-libtool
│ │ │ │ ├── file.c
│ │ │ │ └── test.gyp
│ │ │ ├── ldflags
│ │ │ │ └── subdirectory
│ │ │ │ │ ├── Info.plist
│ │ │ │ │ ├── file.c
│ │ │ │ │ ├── symbol_list.def
│ │ │ │ │ └── test.gyp
│ │ │ ├── libraries
│ │ │ │ └── subdir
│ │ │ │ │ ├── README.txt
│ │ │ │ │ ├── hello.cc
│ │ │ │ │ ├── mylib.c
│ │ │ │ │ └── test.gyp
│ │ │ ├── loadable-module
│ │ │ │ ├── Info.plist
│ │ │ │ ├── module.c
│ │ │ │ └── test.gyp
│ │ │ ├── missing-cfbundlesignature
│ │ │ │ ├── Info.plist
│ │ │ │ ├── Other-Info.plist
│ │ │ │ ├── Third-Info.plist
│ │ │ │ ├── file.c
│ │ │ │ └── test.gyp
│ │ │ ├── non-strs-flattened-to-env
│ │ │ │ ├── Info.plist
│ │ │ │ ├── main.c
│ │ │ │ └── test.gyp
│ │ │ ├── objc-gc
│ │ │ │ ├── c-file.c
│ │ │ │ ├── cc-file.cc
│ │ │ │ ├── main.m
│ │ │ │ ├── needs-gc-mm.mm
│ │ │ │ ├── needs-gc.m
│ │ │ │ └── test.gyp
│ │ │ ├── postbuild-copy-bundle
│ │ │ │ ├── Framework-Info.plist
│ │ │ │ ├── TestApp-Info.plist
│ │ │ │ ├── copied.txt
│ │ │ │ ├── empty.c
│ │ │ │ ├── main.c
│ │ │ │ ├── postbuild-copy-framework.sh
│ │ │ │ ├── resource_file.sb
│ │ │ │ └── test.gyp
│ │ │ ├── postbuild-defaults
│ │ │ │ ├── Info.plist
│ │ │ │ ├── main.c
│ │ │ │ ├── postbuild-defaults.sh
│ │ │ │ └── test.gyp
│ │ │ ├── postbuild-fail
│ │ │ │ ├── file.c
│ │ │ │ ├── postbuild-fail.sh
│ │ │ │ ├── test.gyp
│ │ │ │ ├── touch-dynamic.sh
│ │ │ │ └── touch-static.sh
│ │ │ ├── postbuild-multiple-configurations
│ │ │ │ ├── main.c
│ │ │ │ ├── postbuild-touch-file.sh
│ │ │ │ └── test.gyp
│ │ │ ├── postbuild-static-library
│ │ │ │ ├── empty.c
│ │ │ │ ├── postbuild-touch-file.sh
│ │ │ │ └── test.gyp
│ │ │ ├── postbuilds
│ │ │ │ ├── copy.sh
│ │ │ │ ├── file.c
│ │ │ │ ├── file_g.c
│ │ │ │ ├── file_h.c
│ │ │ │ ├── script
│ │ │ │ │ ├── shared_library_postbuild.sh
│ │ │ │ │ └── static_library_postbuild.sh
│ │ │ │ ├── subdirectory
│ │ │ │ │ ├── copied_file.txt
│ │ │ │ │ └── nested_target.gyp
│ │ │ │ └── test.gyp
│ │ │ ├── prefixheader
│ │ │ │ ├── file.c
│ │ │ │ ├── file.cc
│ │ │ │ ├── file.m
│ │ │ │ ├── file.mm
│ │ │ │ ├── header.h
│ │ │ │ └── test.gyp
│ │ │ ├── rebuild
│ │ │ │ ├── TestApp-Info.plist
│ │ │ │ ├── delay-touch.sh
│ │ │ │ ├── empty.c
│ │ │ │ ├── main.c
│ │ │ │ └── test.gyp
│ │ │ ├── rpath
│ │ │ │ ├── file.c
│ │ │ │ ├── main.c
│ │ │ │ └── test.gyp
│ │ │ ├── sdkroot
│ │ │ │ ├── file.cc
│ │ │ │ ├── test.gyp
│ │ │ │ └── test_shorthand.sh
│ │ │ ├── sourceless-module
│ │ │ │ ├── empty.c
│ │ │ │ └── test.gyp
│ │ │ ├── strip
│ │ │ │ ├── file.c
│ │ │ │ ├── strip.saves
│ │ │ │ ├── subdirectory
│ │ │ │ │ ├── nested_file.c
│ │ │ │ │ ├── nested_strip.saves
│ │ │ │ │ ├── subdirectory.gyp
│ │ │ │ │ └── test_reading_save_file_from_postbuild.sh
│ │ │ │ └── test.gyp
│ │ │ ├── type_envvars
│ │ │ │ ├── file.c
│ │ │ │ ├── test.gyp
│ │ │ │ ├── test_bundle_executable.sh
│ │ │ │ ├── test_bundle_loadable_module.sh
│ │ │ │ ├── test_bundle_shared_library.sh
│ │ │ │ ├── test_nonbundle_executable.sh
│ │ │ │ ├── test_nonbundle_loadable_module.sh
│ │ │ │ ├── test_nonbundle_none.sh
│ │ │ │ ├── test_nonbundle_shared_library.sh
│ │ │ │ └── test_nonbundle_static_library.sh
│ │ │ ├── xcode-env-order
│ │ │ │ ├── Info.plist
│ │ │ │ ├── file.ext1
│ │ │ │ ├── file.ext2
│ │ │ │ ├── file.ext3
│ │ │ │ ├── main.c
│ │ │ │ └── test.gyp
│ │ │ └── xcode-gcc
│ │ │ │ ├── test.gyp
│ │ │ │ ├── valid_c.c
│ │ │ │ ├── valid_cc.cc
│ │ │ │ ├── valid_m.m
│ │ │ │ ├── valid_mm.mm
│ │ │ │ ├── warn_about_invalid_offsetof_macro.cc
│ │ │ │ └── warn_about_missing_newline.c
│ │ ├── make
│ │ │ ├── dependencies.gyp
│ │ │ ├── gyptest-dependencies.py
│ │ │ ├── gyptest-noload.py
│ │ │ ├── main.cc
│ │ │ ├── main.h
│ │ │ └── noload
│ │ │ │ ├── all.gyp
│ │ │ │ ├── lib
│ │ │ │ ├── shared.c
│ │ │ │ ├── shared.gyp
│ │ │ │ └── shared.h
│ │ │ │ └── main.c
│ │ ├── many-actions
│ │ │ ├── file0
│ │ │ ├── file1
│ │ │ ├── file2
│ │ │ ├── file3
│ │ │ ├── file4
│ │ │ ├── gyptest-many-actions-unsorted.py
│ │ │ ├── gyptest-many-actions.py
│ │ │ ├── many-actions-unsorted.gyp
│ │ │ └── many-actions.gyp
│ │ ├── module
│ │ │ ├── gyptest-default.py
│ │ │ └── src
│ │ │ │ ├── lib1.c
│ │ │ │ ├── lib2.c
│ │ │ │ ├── module.gyp
│ │ │ │ └── program.c
│ │ ├── msvs
│ │ │ ├── config_attrs
│ │ │ │ ├── gyptest-config_attrs.py
│ │ │ │ ├── hello.c
│ │ │ │ └── hello.gyp
│ │ │ ├── express
│ │ │ │ ├── base
│ │ │ │ │ └── base.gyp
│ │ │ │ ├── express.gyp
│ │ │ │ └── gyptest-express.py
│ │ │ ├── list_excluded
│ │ │ │ ├── gyptest-all.py
│ │ │ │ ├── hello.cpp
│ │ │ │ ├── hello_exclude.gyp
│ │ │ │ └── hello_mac.cpp
│ │ │ ├── missing_sources
│ │ │ │ ├── gyptest-missing.py
│ │ │ │ └── hello_missing.gyp
│ │ │ ├── props
│ │ │ │ ├── AppName.props
│ │ │ │ ├── AppName.vsprops
│ │ │ │ ├── gyptest-props.py
│ │ │ │ ├── hello.c
│ │ │ │ └── hello.gyp
│ │ │ ├── shared_output
│ │ │ │ ├── common.gypi
│ │ │ │ ├── gyptest-shared_output.py
│ │ │ │ ├── hello.c
│ │ │ │ ├── hello.gyp
│ │ │ │ └── there
│ │ │ │ │ ├── there.c
│ │ │ │ │ └── there.gyp
│ │ │ └── uldi2010
│ │ │ │ ├── gyptest-all.py
│ │ │ │ ├── hello.c
│ │ │ │ ├── hello.gyp
│ │ │ │ └── hello2.c
│ │ ├── multiple-targets
│ │ │ ├── gyptest-all.py
│ │ │ ├── gyptest-default.py
│ │ │ └── src
│ │ │ │ ├── common.c
│ │ │ │ ├── multiple.gyp
│ │ │ │ ├── prog1.c
│ │ │ │ └── prog2.c
│ │ ├── ninja
│ │ │ ├── action_dependencies
│ │ │ │ ├── gyptest-action-dependencies.py
│ │ │ │ └── src
│ │ │ │ │ ├── a.c
│ │ │ │ │ ├── a.h
│ │ │ │ │ ├── action_dependencies.gyp
│ │ │ │ │ ├── b.c
│ │ │ │ │ ├── b.h
│ │ │ │ │ ├── c.c
│ │ │ │ │ ├── c.h
│ │ │ │ │ └── emit.py
│ │ │ ├── chained-dependency
│ │ │ │ ├── chained-dependency.gyp
│ │ │ │ ├── chained.c
│ │ │ │ └── gyptest-chained-dependency.py
│ │ │ ├── normalize-paths-win
│ │ │ │ ├── gyptest-normalize-paths.py
│ │ │ │ ├── hello.cc
│ │ │ │ └── normalize-paths.gyp
│ │ │ ├── s-needs-no-depfiles
│ │ │ │ ├── empty.s
│ │ │ │ ├── gyptest-s-needs-no-depfiles.py
│ │ │ │ └── s-needs-no-depfiles.gyp
│ │ │ ├── solibs_avoid_relinking
│ │ │ │ ├── gyptest-solibs-avoid-relinking.py
│ │ │ │ ├── main.cc
│ │ │ │ ├── solib.cc
│ │ │ │ └── solibs_avoid_relinking.gyp
│ │ │ └── use-custom-environment-files
│ │ │ │ ├── gyptest-use-custom-environment-files.py
│ │ │ │ ├── use-custom-environment-files.cc
│ │ │ │ └── use-custom-environment-files.gyp
│ │ ├── no-output
│ │ │ ├── gyptest-no-output.py
│ │ │ └── src
│ │ │ │ └── nooutput.gyp
│ │ ├── product
│ │ │ ├── gyptest-product.py
│ │ │ ├── hello.c
│ │ │ └── product.gyp
│ │ ├── relative
│ │ │ ├── foo
│ │ │ │ ├── a
│ │ │ │ │ ├── a.cc
│ │ │ │ │ ├── a.gyp
│ │ │ │ │ └── c
│ │ │ │ │ │ ├── c.cc
│ │ │ │ │ │ └── c.gyp
│ │ │ │ └── b
│ │ │ │ │ ├── b.cc
│ │ │ │ │ └── b.gyp
│ │ │ └── gyptest-default.py
│ │ ├── rename
│ │ │ ├── filecase
│ │ │ │ ├── file.c
│ │ │ │ ├── test-casesensitive.gyp
│ │ │ │ └── test.gyp
│ │ │ └── gyptest-filecase.py
│ │ ├── restat
│ │ │ ├── gyptest-restat.py
│ │ │ └── src
│ │ │ │ ├── create_intermediate.py
│ │ │ │ ├── restat.gyp
│ │ │ │ └── touch.py
│ │ ├── rules-dirname
│ │ │ ├── gyptest-dirname.py
│ │ │ └── src
│ │ │ │ ├── actions.gyp
│ │ │ │ ├── copy-file.py
│ │ │ │ └── subdir
│ │ │ │ ├── a
│ │ │ │ └── b
│ │ │ │ │ ├── c.gencc
│ │ │ │ │ └── c.printvars
│ │ │ │ ├── foo
│ │ │ │ └── bar
│ │ │ │ │ ├── baz.gencc
│ │ │ │ │ └── baz.printvars
│ │ │ │ ├── input-rule-dirname.gyp
│ │ │ │ ├── main.cc
│ │ │ │ └── printvars.py
│ │ ├── rules-rebuild
│ │ │ ├── gyptest-all.py
│ │ │ ├── gyptest-default.py
│ │ │ └── src
│ │ │ │ ├── main.c
│ │ │ │ ├── make-sources.py
│ │ │ │ ├── prog1.in
│ │ │ │ ├── prog2.in
│ │ │ │ └── same_target.gyp
│ │ ├── rules-variables
│ │ │ ├── gyptest-rules-variables.py
│ │ │ └── src
│ │ │ │ ├── input_ext.c
│ │ │ │ ├── input_name
│ │ │ │ └── test.c
│ │ │ │ ├── input_path
│ │ │ │ └── subdir
│ │ │ │ │ └── test.c
│ │ │ │ ├── subdir
│ │ │ │ ├── input_dirname.c
│ │ │ │ └── test.c
│ │ │ │ ├── test.input_root.c
│ │ │ │ └── variables.gyp
│ │ ├── rules
│ │ │ ├── gyptest-all.py
│ │ │ ├── gyptest-default.py
│ │ │ ├── gyptest-input-root.py
│ │ │ ├── gyptest-special-variables.py
│ │ │ └── src
│ │ │ │ ├── actions.gyp
│ │ │ │ ├── an_asm.S
│ │ │ │ ├── as.bat
│ │ │ │ ├── copy-file.py
│ │ │ │ ├── external
│ │ │ │ ├── external.gyp
│ │ │ │ ├── file1.in
│ │ │ │ └── file2.in
│ │ │ │ ├── input-root.gyp
│ │ │ │ ├── noaction
│ │ │ │ ├── file1.in
│ │ │ │ └── no_action_with_rules_fails.gyp
│ │ │ │ ├── rule.py
│ │ │ │ ├── somefile.ext
│ │ │ │ ├── special-variables.gyp
│ │ │ │ ├── subdir1
│ │ │ │ ├── executable.gyp
│ │ │ │ ├── function1.in
│ │ │ │ ├── function2.in
│ │ │ │ └── program.c
│ │ │ │ ├── subdir2
│ │ │ │ ├── file1.in
│ │ │ │ ├── file2.in
│ │ │ │ ├── never_used.gyp
│ │ │ │ ├── no_action.gyp
│ │ │ │ ├── no_inputs.gyp
│ │ │ │ └── none.gyp
│ │ │ │ ├── subdir3
│ │ │ │ ├── executable2.gyp
│ │ │ │ ├── function3.in
│ │ │ │ └── program.c
│ │ │ │ └── subdir4
│ │ │ │ ├── asm-function.assem
│ │ │ │ ├── build-asm.gyp
│ │ │ │ └── program.c
│ │ ├── same-gyp-name
│ │ │ ├── gyptest-all.py
│ │ │ ├── gyptest-default.py
│ │ │ ├── gyptest-library.py
│ │ │ ├── library
│ │ │ │ ├── one
│ │ │ │ │ └── sub.gyp
│ │ │ │ ├── test.gyp
│ │ │ │ └── two
│ │ │ │ │ └── sub.gyp
│ │ │ └── src
│ │ │ │ ├── all.gyp
│ │ │ │ ├── subdir1
│ │ │ │ ├── executable.gyp
│ │ │ │ └── main1.cc
│ │ │ │ └── subdir2
│ │ │ │ ├── executable.gyp
│ │ │ │ └── main2.cc
│ │ ├── same-rule-output-file-name
│ │ │ ├── gyptest-all.py
│ │ │ └── src
│ │ │ │ ├── subdir1
│ │ │ │ └── subdir1.gyp
│ │ │ │ ├── subdir2
│ │ │ │ └── subdir2.gyp
│ │ │ │ ├── subdirs.gyp
│ │ │ │ └── touch.py
│ │ ├── same-source-file-name
│ │ │ ├── gyptest-all.py
│ │ │ ├── gyptest-default.py
│ │ │ ├── gyptest-fail-shared.py
│ │ │ ├── gyptest-fail-static.py
│ │ │ ├── gyptest-pass-executable.py
│ │ │ └── src
│ │ │ │ ├── all.gyp
│ │ │ │ ├── double-executable.gyp
│ │ │ │ ├── double-shared.gyp
│ │ │ │ ├── double-static.gyp
│ │ │ │ ├── func.c
│ │ │ │ ├── prog1.c
│ │ │ │ ├── prog2.c
│ │ │ │ ├── prog3.c
│ │ │ │ ├── subdir1
│ │ │ │ └── func.c
│ │ │ │ └── subdir2
│ │ │ │ └── func.c
│ │ ├── same-target-name-different-directory
│ │ │ ├── gyptest-all.py
│ │ │ └── src
│ │ │ │ ├── subdir1
│ │ │ │ └── subdir1.gyp
│ │ │ │ ├── subdir2
│ │ │ │ └── subdir2.gyp
│ │ │ │ ├── subdirs.gyp
│ │ │ │ └── touch.py
│ │ ├── same-target-name
│ │ │ ├── gyptest-same-target-name.py
│ │ │ └── src
│ │ │ │ ├── all.gyp
│ │ │ │ ├── executable1.gyp
│ │ │ │ └── executable2.gyp
│ │ ├── sanitize-rule-names
│ │ │ ├── blah.S
│ │ │ ├── gyptest-sanitize-rule-names.py
│ │ │ ├── hello.cc
│ │ │ ├── sanitize-rule-names.gyp
│ │ │ └── script.py
│ │ ├── scons_tools
│ │ │ ├── gyptest-tools.py
│ │ │ ├── site_scons
│ │ │ │ └── site_tools
│ │ │ │ │ └── this_tool.py
│ │ │ ├── tools.c
│ │ │ └── tools.gyp
│ │ ├── sibling
│ │ │ ├── gyptest-all.py
│ │ │ ├── gyptest-relocate.py
│ │ │ └── src
│ │ │ │ ├── prog1
│ │ │ │ ├── prog1.c
│ │ │ │ └── prog1.gyp
│ │ │ │ └── prog2
│ │ │ │ ├── prog2.c
│ │ │ │ └── prog2.gyp
│ │ ├── small
│ │ │ └── gyptest-small.py
│ │ ├── standalone-static-library
│ │ │ ├── gyptest-standalone-static-library.py
│ │ │ ├── invalid.gyp
│ │ │ ├── mylib.c
│ │ │ ├── mylib.gyp
│ │ │ └── prog.c
│ │ ├── standalone
│ │ │ ├── gyptest-standalone.py
│ │ │ └── standalone.gyp
│ │ ├── subdirectory
│ │ │ ├── gyptest-SYMROOT-all.py
│ │ │ ├── gyptest-SYMROOT-default.py
│ │ │ ├── gyptest-subdir-all.py
│ │ │ ├── gyptest-subdir-default.py
│ │ │ ├── gyptest-subdir2-deep.py
│ │ │ ├── gyptest-top-all.py
│ │ │ ├── gyptest-top-default.py
│ │ │ └── src
│ │ │ │ ├── prog1.c
│ │ │ │ ├── prog1.gyp
│ │ │ │ ├── subdir
│ │ │ │ ├── prog2.c
│ │ │ │ ├── prog2.gyp
│ │ │ │ └── subdir2
│ │ │ │ │ ├── prog3.c
│ │ │ │ │ └── prog3.gyp
│ │ │ │ └── symroot.gypi
│ │ ├── toolsets
│ │ │ ├── gyptest-toolsets.py
│ │ │ ├── main.cc
│ │ │ ├── toolsets.cc
│ │ │ └── toolsets.gyp
│ │ ├── toplevel-dir
│ │ │ ├── gyptest-toplevel-dir.py
│ │ │ └── src
│ │ │ │ ├── sub1
│ │ │ │ ├── main.gyp
│ │ │ │ └── prog1.c
│ │ │ │ └── sub2
│ │ │ │ ├── prog2.c
│ │ │ │ └── prog2.gyp
│ │ ├── variables
│ │ │ ├── commands
│ │ │ │ ├── commands-repeated.gyp
│ │ │ │ ├── commands-repeated.gyp.stdout
│ │ │ │ ├── commands-repeated.gypd.golden
│ │ │ │ ├── commands.gyp
│ │ │ │ ├── commands.gyp.ignore-env.stdout
│ │ │ │ ├── commands.gyp.stdout
│ │ │ │ ├── commands.gypd.golden
│ │ │ │ ├── commands.gypi
│ │ │ │ ├── gyptest-commands-ignore-env.py
│ │ │ │ ├── gyptest-commands-repeated.py
│ │ │ │ ├── gyptest-commands.py
│ │ │ │ ├── test.py
│ │ │ │ └── update_golden
│ │ │ ├── filelist
│ │ │ │ ├── filelist.gyp.stdout
│ │ │ │ ├── filelist.gypd.golden
│ │ │ │ ├── gyptest-filelist.py
│ │ │ │ ├── src
│ │ │ │ │ └── filelist.gyp
│ │ │ │ └── update_golden
│ │ │ ├── latelate
│ │ │ │ ├── gyptest-latelate.py
│ │ │ │ └── src
│ │ │ │ │ ├── latelate.gyp
│ │ │ │ │ └── program.cc
│ │ │ └── variable-in-path
│ │ │ │ ├── C1
│ │ │ │ └── hello.cc
│ │ │ │ ├── gyptest-variable-in-path.py
│ │ │ │ └── variable-in-path.gyp
│ │ ├── variants
│ │ │ ├── gyptest-variants.py
│ │ │ └── src
│ │ │ │ ├── variants.c
│ │ │ │ └── variants.gyp
│ │ └── win
│ │ │ ├── asm-files
│ │ │ ├── asm-files.gyp
│ │ │ ├── b.s
│ │ │ ├── c.S
│ │ │ └── hello.cc
│ │ │ ├── batch-file-action
│ │ │ ├── batch-file-action.gyp
│ │ │ ├── infile
│ │ │ └── somecmd.bat
│ │ │ ├── command-quote
│ │ │ ├── a.S
│ │ │ ├── bat with spaces.bat
│ │ │ ├── command-quote.gyp
│ │ │ ├── go.bat
│ │ │ └── subdir
│ │ │ │ └── and
│ │ │ │ └── another
│ │ │ │ └── in-subdir.gyp
│ │ │ ├── compiler-flags
│ │ │ ├── additional-include-dirs.cc
│ │ │ ├── additional-include-dirs.gyp
│ │ │ ├── additional-options.cc
│ │ │ ├── additional-options.gyp
│ │ │ ├── analysis.gyp
│ │ │ ├── buffer-security-check.gyp
│ │ │ ├── buffer-security.cc
│ │ │ ├── character-set-mbcs.cc
│ │ │ ├── character-set-unicode.cc
│ │ │ ├── character-set.gyp
│ │ │ ├── debug-format.gyp
│ │ │ ├── default-char-is-unsigned.cc
│ │ │ ├── default-char-is-unsigned.gyp
│ │ │ ├── exception-handling-on.cc
│ │ │ ├── exception-handling.gyp
│ │ │ ├── force-include-files.cc
│ │ │ ├── force-include-files.gyp
│ │ │ ├── function-level-linking.cc
│ │ │ ├── function-level-linking.gyp
│ │ │ ├── hello.cc
│ │ │ ├── optimizations.gyp
│ │ │ ├── pdbname.cc
│ │ │ ├── pdbname.gyp
│ │ │ ├── rtti-on.cc
│ │ │ ├── rtti.gyp
│ │ │ ├── runtime-checks.cc
│ │ │ ├── runtime-checks.gyp
│ │ │ ├── runtime-library-md.cc
│ │ │ ├── runtime-library-mdd.cc
│ │ │ ├── runtime-library-mt.cc
│ │ │ ├── runtime-library-mtd.cc
│ │ │ ├── runtime-library.gyp
│ │ │ ├── subdir
│ │ │ │ └── header.h
│ │ │ ├── treat-wchar-t-as-built-in-type.gyp
│ │ │ ├── treat-wchar-t-as-built-in-type1.cc
│ │ │ ├── treat-wchar-t-as-built-in-type2.cc
│ │ │ ├── uninit.cc
│ │ │ ├── warning-as-error.cc
│ │ │ ├── warning-as-error.gyp
│ │ │ ├── warning-level.gyp
│ │ │ ├── warning-level1.cc
│ │ │ ├── warning-level2.cc
│ │ │ ├── warning-level3.cc
│ │ │ └── warning-level4.cc
│ │ │ ├── gyptest-asm-files.py
│ │ │ ├── gyptest-cl-additional-include-dirs.py
│ │ │ ├── gyptest-cl-additional-options.py
│ │ │ ├── gyptest-cl-analysis.py
│ │ │ ├── gyptest-cl-buffer-security-check.py
│ │ │ ├── gyptest-cl-character-set.py
│ │ │ ├── gyptest-cl-debug-format.py
│ │ │ ├── gyptest-cl-default-char-is-unsigned.py
│ │ │ ├── gyptest-cl-exception-handling.py
│ │ │ ├── gyptest-cl-force-include-files.py
│ │ │ ├── gyptest-cl-function-level-linking.py
│ │ │ ├── gyptest-cl-optimizations.py
│ │ │ ├── gyptest-cl-pdbname.py
│ │ │ ├── gyptest-cl-rtti.py
│ │ │ ├── gyptest-cl-runtime-checks.py
│ │ │ ├── gyptest-cl-runtime-library.py
│ │ │ ├── gyptest-cl-treat-wchar-t-as-built-in-type.py
│ │ │ ├── gyptest-cl-warning-as-error.py
│ │ │ ├── gyptest-cl-warning-level.py
│ │ │ ├── gyptest-command-quote.py
│ │ │ ├── gyptest-lib-ltcg.py
│ │ │ ├── gyptest-link-additional-deps.py
│ │ │ ├── gyptest-link-additional-options.py
│ │ │ ├── gyptest-link-aslr.py
│ │ │ ├── gyptest-link-debug-info.py
│ │ │ ├── gyptest-link-default-libs.py
│ │ │ ├── gyptest-link-deffile.py
│ │ │ ├── gyptest-link-delay-load-dlls.py
│ │ │ ├── gyptest-link-entrypointsymbol.py
│ │ │ ├── gyptest-link-fixed-base.py
│ │ │ ├── gyptest-link-generate-manifest.py
│ │ │ ├── gyptest-link-incremental.py
│ │ │ ├── gyptest-link-large-address-aware.py
│ │ │ ├── gyptest-link-library-adjust.py
│ │ │ ├── gyptest-link-library-directories.py
│ │ │ ├── gyptest-link-nodefaultlib.py
│ │ │ ├── gyptest-link-nxcompat.py
│ │ │ ├── gyptest-link-opt-icf.py
│ │ │ ├── gyptest-link-opt-ref.py
│ │ │ ├── gyptest-link-outputfile.py
│ │ │ ├── gyptest-link-pdb.py
│ │ │ ├── gyptest-link-profile.py
│ │ │ ├── gyptest-link-restat-importlib.py
│ │ │ ├── gyptest-link-subsystem.py
│ │ │ ├── gyptest-link-tsaware.py
│ │ │ ├── gyptest-link-uldi.py
│ │ │ ├── gyptest-long-command-line.py
│ │ │ ├── gyptest-macro-projectname.py
│ │ │ ├── gyptest-macro-vcinstalldir.py
│ │ │ ├── gyptest-macros-containing-gyp.py
│ │ │ ├── gyptest-macros-in-inputs-and-outputs.py
│ │ │ ├── gyptest-midl-rules.py
│ │ │ ├── gyptest-quoting-commands.py
│ │ │ ├── gyptest-rc-build.py
│ │ │ ├── idl-rules
│ │ │ ├── basic-idl.gyp
│ │ │ ├── history_indexer.idl
│ │ │ └── history_indexer_user.cc
│ │ │ ├── importlib
│ │ │ ├── has-exports.cc
│ │ │ ├── hello.cc
│ │ │ └── importlib.gyp
│ │ │ ├── lib-flags
│ │ │ ├── answer.cc
│ │ │ ├── answer.h
│ │ │ └── ltcg.gyp
│ │ │ ├── linker-flags
│ │ │ ├── additional-deps.cc
│ │ │ ├── additional-deps.gyp
│ │ │ ├── additional-options.gyp
│ │ │ ├── aslr.gyp
│ │ │ ├── debug-info.gyp
│ │ │ ├── default-libs.cc
│ │ │ ├── default-libs.gyp
│ │ │ ├── deffile-multiple.gyp
│ │ │ ├── deffile.cc
│ │ │ ├── deffile.def
│ │ │ ├── deffile.gyp
│ │ │ ├── delay-load-dlls.gyp
│ │ │ ├── delay-load.cc
│ │ │ ├── entrypointsymbol.cc
│ │ │ ├── entrypointsymbol.gyp
│ │ │ ├── extra.manifest
│ │ │ ├── extra2.manifest
│ │ │ ├── fixed-base.gyp
│ │ │ ├── generate-manifest.gyp
│ │ │ ├── hello.cc
│ │ │ ├── incremental.gyp
│ │ │ ├── large-address-aware.gyp
│ │ │ ├── library-adjust.cc
│ │ │ ├── library-adjust.gyp
│ │ │ ├── library-directories-define.cc
│ │ │ ├── library-directories-reference.cc
│ │ │ ├── library-directories.gyp
│ │ │ ├── nodefaultlib.cc
│ │ │ ├── nodefaultlib.gyp
│ │ │ ├── nxcompat.gyp
│ │ │ ├── opt-icf.cc
│ │ │ ├── opt-icf.gyp
│ │ │ ├── opt-ref.cc
│ │ │ ├── opt-ref.gyp
│ │ │ ├── outputfile.gyp
│ │ │ ├── profile.gyp
│ │ │ ├── program-database.gyp
│ │ │ ├── subdir
│ │ │ │ └── library.gyp
│ │ │ ├── subsystem-windows.cc
│ │ │ ├── subsystem.gyp
│ │ │ └── tsaware.gyp
│ │ │ ├── long-command-line
│ │ │ ├── function.cc
│ │ │ ├── hello.cc
│ │ │ └── long-command-line.gyp
│ │ │ ├── precompiled
│ │ │ ├── gyptest-all.py
│ │ │ ├── hello.c
│ │ │ ├── hello.gyp
│ │ │ ├── hello2.c
│ │ │ └── precomp.c
│ │ │ ├── rc-build
│ │ │ ├── Resource.h
│ │ │ ├── hello.cpp
│ │ │ ├── hello.gyp
│ │ │ ├── hello.h
│ │ │ ├── hello.ico
│ │ │ ├── hello.rc
│ │ │ ├── small.ico
│ │ │ ├── subdir
│ │ │ │ ├── hello2.rc
│ │ │ │ └── include.h
│ │ │ └── targetver.h
│ │ │ ├── uldi
│ │ │ ├── a.cc
│ │ │ ├── b.cc
│ │ │ ├── main.cc
│ │ │ └── uldi.gyp
│ │ │ └── vs-macros
│ │ │ ├── as.py
│ │ │ ├── containing-gyp.gyp
│ │ │ ├── do_stuff.py
│ │ │ ├── hello.cc
│ │ │ ├── input-output-macros.gyp
│ │ │ ├── input.S
│ │ │ ├── projectname.gyp
│ │ │ ├── stuff.blah
│ │ │ ├── test_exists.py
│ │ │ └── vcinstalldir.gyp
│ └── tools
│ │ ├── README
│ │ ├── Xcode
│ │ ├── README
│ │ └── Specifications
│ │ │ ├── gyp.pbfilespec
│ │ │ └── gyp.xclangspec
│ │ ├── emacs
│ │ ├── README
│ │ ├── gyp-tests.el
│ │ ├── gyp.el
│ │ ├── run-unit-tests.sh
│ │ └── testdata
│ │ │ ├── media.gyp
│ │ │ └── media.gyp.fontified
│ │ ├── graphviz.py
│ │ ├── pretty_gyp.py
│ │ ├── pretty_sln.py
│ │ └── pretty_vcproj.py
└── libuv
│ ├── .gitignore
│ ├── .mailmap
│ ├── .travis.yml
│ ├── AUTHORS
│ ├── LICENSE
│ ├── Makefile
│ ├── README.md
│ ├── checksparse.sh
│ ├── common.gypi
│ ├── config-mingw.mk
│ ├── config-unix.mk
│ ├── gyp_uv
│ ├── include
│ ├── uv-private
│ │ ├── ngx-queue.h
│ │ ├── stdint-msvc2008.h
│ │ ├── tree.h
│ │ ├── uv-bsd.h
│ │ ├── uv-darwin.h
│ │ ├── uv-linux.h
│ │ ├── uv-sunos.h
│ │ ├── uv-unix.h
│ │ └── uv-win.h
│ └── uv.h
│ ├── src
│ ├── fs-poll.c
│ ├── inet.c
│ ├── unix
│ │ ├── aix.c
│ │ ├── async.c
│ │ ├── core.c
│ │ ├── cygwin.c
│ │ ├── darwin.c
│ │ ├── dl.c
│ │ ├── error.c
│ │ ├── freebsd.c
│ │ ├── fs.c
│ │ ├── fsevents.c
│ │ ├── getaddrinfo.c
│ │ ├── internal.h
│ │ ├── kqueue.c
│ │ ├── linux
│ │ │ ├── inotify.c
│ │ │ ├── linux-core.c
│ │ │ ├── syscalls.c
│ │ │ └── syscalls.h
│ │ ├── loop-watcher.c
│ │ ├── loop.c
│ │ ├── netbsd.c
│ │ ├── openbsd.c
│ │ ├── pipe.c
│ │ ├── poll.c
│ │ ├── process.c
│ │ ├── signal.c
│ │ ├── stream.c
│ │ ├── sunos.c
│ │ ├── tcp.c
│ │ ├── thread.c
│ │ ├── threadpool.c
│ │ ├── timer.c
│ │ ├── tty.c
│ │ └── udp.c
│ ├── uv-common.c
│ ├── uv-common.h
│ └── win
│ │ ├── async.c
│ │ ├── atomicops-inl.h
│ │ ├── core.c
│ │ ├── dl.c
│ │ ├── error.c
│ │ ├── fs-event.c
│ │ ├── fs.c
│ │ ├── getaddrinfo.c
│ │ ├── handle-inl.h
│ │ ├── handle.c
│ │ ├── internal.h
│ │ ├── loop-watcher.c
│ │ ├── pipe.c
│ │ ├── poll.c
│ │ ├── process-stdio.c
│ │ ├── process.c
│ │ ├── req-inl.h
│ │ ├── req.c
│ │ ├── signal.c
│ │ ├── stream-inl.h
│ │ ├── stream.c
│ │ ├── tcp.c
│ │ ├── thread.c
│ │ ├── threadpool.c
│ │ ├── timer.c
│ │ ├── tty.c
│ │ ├── udp.c
│ │ ├── util.c
│ │ ├── winapi.c
│ │ ├── winapi.h
│ │ ├── winsock.c
│ │ └── winsock.h
│ ├── test
│ ├── benchmark-async-pummel.c
│ ├── benchmark-async.c
│ ├── benchmark-fs-stat.c
│ ├── benchmark-getaddrinfo.c
│ ├── benchmark-list.h
│ ├── benchmark-loop-count.c
│ ├── benchmark-million-async.c
│ ├── benchmark-million-timers.c
│ ├── benchmark-multi-accept.c
│ ├── benchmark-ping-pongs.c
│ ├── benchmark-pound.c
│ ├── benchmark-pump.c
│ ├── benchmark-sizes.c
│ ├── benchmark-spawn.c
│ ├── benchmark-tcp-write-batch.c
│ ├── benchmark-thread.c
│ ├── benchmark-udp-pummel.c
│ ├── blackhole-server.c
│ ├── dns-server.c
│ ├── echo-server.c
│ ├── fixtures
│ │ ├── empty_file
│ │ └── load_error.node
│ ├── run-benchmarks.c
│ ├── run-tests.c
│ ├── runner-unix.c
│ ├── runner-unix.h
│ ├── runner-win.c
│ ├── runner-win.h
│ ├── runner.c
│ ├── runner.h
│ ├── task.h
│ ├── test-active.c
│ ├── test-async.c
│ ├── test-barrier.c
│ ├── test-callback-order.c
│ ├── test-callback-stack.c
│ ├── test-condvar.c
│ ├── test-connection-fail.c
│ ├── test-cwd-and-chdir.c
│ ├── test-delayed-accept.c
│ ├── test-dlerror.c
│ ├── test-embed.c
│ ├── test-error.c
│ ├── test-fail-always.c
│ ├── test-fs-event.c
│ ├── test-fs-poll.c
│ ├── test-fs.c
│ ├── test-get-currentexe.c
│ ├── test-get-loadavg.c
│ ├── test-get-memory.c
│ ├── test-getaddrinfo.c
│ ├── test-getsockname.c
│ ├── test-guess-handle.c
│ ├── test-hrtime.c
│ ├── test-idle.c
│ ├── test-ipc-send-recv.c
│ ├── test-ipc.c
│ ├── test-list.h
│ ├── test-loop-handles.c
│ ├── test-multiple-listen.c
│ ├── test-mutexes.c
│ ├── test-pass-always.c
│ ├── test-ping-pong.c
│ ├── test-pipe-bind-error.c
│ ├── test-pipe-connect-error.c
│ ├── test-platform-output.c
│ ├── test-poll-close.c
│ ├── test-poll.c
│ ├── test-process-title.c
│ ├── test-ref.c
│ ├── test-run-nowait.c
│ ├── test-run-once.c
│ ├── test-semaphore.c
│ ├── test-shutdown-close.c
│ ├── test-shutdown-eof.c
│ ├── test-signal-multiple-loops.c
│ ├── test-signal.c
│ ├── test-spawn.c
│ ├── test-stdio-over-pipes.c
│ ├── test-tcp-bind-error.c
│ ├── test-tcp-bind6-error.c
│ ├── test-tcp-close-while-connecting.c
│ ├── test-tcp-close.c
│ ├── test-tcp-connect-error-after-write.c
│ ├── test-tcp-connect-error.c
│ ├── test-tcp-connect-timeout.c
│ ├── test-tcp-connect6-error.c
│ ├── test-tcp-flags.c
│ ├── test-tcp-open.c
│ ├── test-tcp-read-stop.c
│ ├── test-tcp-shutdown-after-write.c
│ ├── test-tcp-unexpected-read.c
│ ├── test-tcp-write-error.c
│ ├── test-tcp-write-to-half-open-connection.c
│ ├── test-tcp-writealot.c
│ ├── test-thread.c
│ ├── test-threadpool-cancel.c
│ ├── test-threadpool.c
│ ├── test-timer-again.c
│ ├── test-timer.c
│ ├── test-tty.c
│ ├── test-udp-dgram-too-big.c
│ ├── test-udp-ipv6.c
│ ├── test-udp-multicast-join.c
│ ├── test-udp-multicast-ttl.c
│ ├── test-udp-open.c
│ ├── test-udp-options.c
│ ├── test-udp-send-and-recv.c
│ ├── test-util.c
│ └── test-walk-handles.c
│ ├── uv.gyp
│ └── vcbuild.bat
├── doc
├── magpie v2.txt
├── manifesto.txt
├── namespaces.mag
├── objects and types.txt
├── old
│ ├── classes 2.txt
│ ├── classes 3.txt
│ ├── classes.mag
│ ├── definitions.mag
│ ├── fn literals.mag
│ ├── members.mag
│ ├── members2.mag
│ ├── scopes.txt
│ ├── separate types.txt
│ ├── templates.mag
│ ├── type checking.txt
│ ├── type evaluation.txt
│ └── types.txt
├── redux.txt
├── scratchpad
│ ├── block-sugar.mag
│ ├── compiling definitions.txt
│ ├── double.mag
│ ├── generics.mag
│ ├── generics2.mag
│ ├── import.mag
│ ├── inferring-type-args.mag
│ ├── inheritance-qa.txt
│ ├── inheritance.txt
│ ├── multi 1.txt
│ ├── multimethod semantics.txt
│ ├── multimethods.txt
│ ├── multiple inheritance.txt
│ ├── patterns.txt
│ ├── patterns2.txt
│ ├── precedence.txt
│ ├── private.txt
│ ├── scope.mag
│ ├── specialization.txt
│ ├── structural types.txt
│ ├── syntax.txt
│ ├── top-level scope.mag
│ ├── top-level-scope2.mag
│ └── top-level-scope3.md
├── site
│ ├── README
│ ├── design
│ │ └── Comp 7.psd
│ ├── generate-docs.py
│ ├── magpie
│ │ ├── Magpie.egg-info
│ │ │ ├── PKG-INFO
│ │ │ ├── SOURCES.txt
│ │ │ ├── dependency_links.txt
│ │ │ ├── entry_points.txt
│ │ │ └── top_level.txt
│ │ ├── magpie
│ │ │ └── __init__.py
│ │ └── setup.py
│ ├── markdown
│ │ ├── blocks.md
│ │ ├── calls.md
│ │ ├── classes.md
│ │ ├── concurrency.md
│ │ ├── core-concepts.md
│ │ ├── design-questions.md
│ │ ├── design-questions
│ │ │ ├── are-all-types-first-class.md
│ │ │ ├── are-types-in-java-or-magpie.md
│ │ │ ├── can-all-generic-arguments-be-inferred.md
│ │ │ ├── dynamic-scope-and-implicit-state.md
│ │ │ ├── how-are-bare-names-interpreted.md
│ │ │ ├── how-are-classes-declared.md
│ │ │ ├── how-are-generic-functions-checked.md
│ │ │ ├── how-are-methods-defined.md
│ │ │ ├── how-are-multimethods-compiled.md
│ │ │ ├── how-are-syntax-extensions-imported.md
│ │ │ ├── how-do-abstract-members-work.md
│ │ │ ├── how-do-callable-fields-work.md
│ │ │ ├── how-do-callables-work-with-multimethods.md
│ │ │ ├── how-do-fields-work.md
│ │ │ ├── how-do-multimethods-interact-with-modules.md
│ │ │ ├── how-do-multimethods-work.md
│ │ │ ├── how-do-operators-work.md
│ │ │ ├── how-does-inheritance-work.md
│ │ │ ├── how-static-is-the-top-level.md
│ │ │ ├── interfaces-or-abstract-classes.md
│ │ │ ├── what-conversions-are-needed.md
│ │ │ ├── what-is-a-multimethods-identity.md
│ │ │ ├── what-is-the-type-of-a-generic.md
│ │ │ └── where-do-type-expressions-appear.md
│ │ ├── error-handling.md
│ │ ├── expressions.md
│ │ ├── flow-control.md
│ │ ├── functions.md
│ │ ├── hacking-on-magpie.md
│ │ ├── index.md
│ │ ├── internals.md
│ │ ├── lists.md
│ │ ├── looping.md
│ │ ├── modules.md
│ │ ├── multimethods.md
│ │ ├── objects.md
│ │ ├── pattern-matching.md
│ │ ├── patterns.md
│ │ ├── pragmatics.md
│ │ ├── primitives.md
│ │ ├── program-structure.md
│ │ ├── records.md
│ │ ├── the-heart-of-magpie.md
│ │ ├── top-level-definitions.md
│ │ ├── tutorial.md
│ │ └── variables.md
│ ├── static
│ │ ├── background.gif
│ │ └── style.css
│ ├── style.scss
│ └── template.html
├── string interpolation.mag
└── to do.txt
├── example
├── Calculator.mag
├── Channel.mag
├── File.mag
├── FileWriter.mag
├── LexerTest.mag
├── OrNothingAndLet.mag
├── ParserTest.mag
├── PriorityQueue.mag
├── Web.mag
├── fib.mag
├── fibers.mag
├── files.mag
├── fringe.mag
├── hello.mag
├── point.mag
├── primes.mag
├── tcp.mag
└── temp.mag
├── lib
├── README
├── async.mag
├── io.mag
├── io
│ └── path.mag
├── magpie
│ ├── core.mag
│ ├── core
│ │ ├── comparable.mag
│ │ ├── indexable.mag
│ │ ├── range.mag
│ │ └── usable.mag
│ ├── syntax.mag
│ └── syntax
│ │ ├── lexer.mag
│ │ └── parser.mag
├── net.mag
├── process.mag
├── reflection.mag
└── regex.mag
├── magpie
├── magpie.gyp
├── magpie.xcodeproj
└── project.xcworkspace
│ └── contents.xcworkspacedata
├── magpie.xcworkspace
└── contents.xcworkspacedata
├── run_gyp
├── run_gyp.bat
├── script
├── generate_ast.py
└── test.py
├── spec
├── README
├── _init.mag
├── language
│ ├── _init.mag
│ ├── and_.mag
│ ├── array.mag
│ ├── assign.mag
│ ├── break_.mag
│ ├── catch_.mag
│ ├── def_.mag
│ ├── defclass_.mag
│ ├── do_.mag
│ ├── fn_.mag
│ ├── for_.mag
│ ├── if_.mag
│ ├── import_.mag
│ ├── import_test.mag
│ ├── import_test_a.mag
│ ├── import_test_b.mag
│ ├── import_test_c.mag
│ ├── import_test_d.mag
│ ├── let_.mag
│ ├── match_.mag
│ ├── newline.mag
│ ├── or_.mag
│ ├── pattern.mag
│ ├── quote.mag
│ ├── record.mag
│ ├── return_.mag
│ ├── string.mag
│ ├── val_.mag
│ ├── var_.mag
│ └── with_.mag
├── lib
│ ├── _init.mag
│ ├── async
│ │ ├── Channel.mag
│ │ └── isAsyncSafe.mag
│ ├── io
│ │ ├── Directory.mag
│ │ ├── File.mag
│ │ ├── path.mag
│ │ ├── test_dir
│ │ │ ├── a.txt
│ │ │ ├── b.txt
│ │ │ └── test_subdir
│ │ │ │ └── a.txt
│ │ └── test_file.txt
│ ├── magpie
│ │ ├── core
│ │ │ ├── Array.mag
│ │ │ ├── Bool.mag
│ │ │ ├── Class.mag
│ │ │ ├── Comparable.mag
│ │ │ ├── Indexable.mag
│ │ │ ├── IndexableIterator.mag
│ │ │ ├── Int.mag
│ │ │ ├── Iterable.mag
│ │ │ ├── List.mag
│ │ │ ├── Range.mag
│ │ │ ├── Record.mag
│ │ │ ├── String.mag
│ │ │ ├── toString.mag
│ │ │ └── use.mag
│ │ └── syntax
│ │ │ ├── lexer.mag
│ │ │ └── parser.mag
│ ├── process.mag
│ └── regex.mag
├── specify.mag
└── truth_test.mag
├── src
├── .classpath
├── .project
├── Common.h
├── Compiler
│ ├── Bytecode.h
│ ├── Compiler.cpp
│ ├── Compiler.h
│ ├── ExprCompiler.cpp
│ ├── ExprCompiler.h
│ ├── Resolver.cpp
│ └── Resolver.h
├── Data
│ ├── Array.h
│ ├── FixedQueue.h
│ ├── Queue.h
│ ├── Stack.h
│ ├── String.cpp
│ └── String.h
├── Memory
│ ├── ForwardingAddress.h
│ ├── Managed.cpp
│ ├── Managed.h
│ ├── Memory.cpp
│ ├── Memory.h
│ ├── RootSource.h
│ ├── Semispace.cpp
│ └── Semispace.h
├── Native
│ ├── Core.cpp
│ ├── Core.h
│ ├── IO.cpp
│ ├── IO.h
│ ├── Net.cpp
│ └── Net.h
├── Platform
│ ├── Environment.cpp
│ ├── Environment.h
│ ├── Environment_linux.cpp
│ ├── Environment_mac.cpp
│ ├── Environment_win.cpp
│ ├── Path.cpp
│ ├── Path.h
│ ├── Path_posix.cpp
│ └── Path_win.cpp
├── Syntax
│ ├── Ast.cpp
│ ├── Ast.generated.h
│ ├── Ast.h
│ ├── ErrorReporter.cpp
│ ├── ErrorReporter.h
│ ├── Lexer.cpp
│ ├── Lexer.h
│ ├── Parser.cpp
│ ├── Parser.h
│ ├── Token.cpp
│ └── Token.h
├── Test
│ ├── ArrayTests.cpp
│ ├── ArrayTests.h
│ ├── FixedQueueTests.cpp
│ ├── FixedQueueTests.h
│ ├── LexerTests.cpp
│ ├── LexerTests.h
│ ├── MemoryTests.cpp
│ ├── MemoryTests.h
│ ├── ParserTests.cpp
│ ├── ParserTests.h
│ ├── StringTests.cpp
│ ├── StringTests.h
│ ├── Test.cpp
│ ├── Test.h
│ ├── TestMain.cpp
│ ├── TokenTests.cpp
│ └── TokenTests.h
├── VM
│ ├── Fiber.cpp
│ ├── Fiber.h
│ ├── Method.cpp
│ ├── Method.h
│ ├── Module.cpp
│ ├── Module.h
│ ├── Object.cpp
│ ├── Object.h
│ ├── Scheduler.cpp
│ ├── Scheduler.h
│ ├── VM.cpp
│ └── VM.h
├── com
│ └── stuffwithstuff
│ │ └── magpie
│ │ ├── Def.java
│ │ ├── Doc.java
│ │ ├── Magpie.java
│ │ ├── MagpieHost.java
│ │ ├── Method.java
│ │ ├── Repl.java
│ │ ├── ReplResult.java
│ │ ├── SourceFile.java
│ │ ├── SourceReader.java
│ │ ├── app
│ │ ├── ColorRepl.java
│ │ ├── ConsoleRepl.java
│ │ ├── MagpieApp.java
│ │ ├── MagpieAppHost.java
│ │ ├── NiceReplCharacterReader.java
│ │ ├── QuitException.java
│ │ ├── ReplMethods.java
│ │ ├── ReplReader.java
│ │ └── Term.java
│ │ ├── ast
│ │ ├── ArrayExpr.java
│ │ ├── AssignExpr.java
│ │ ├── BoolExpr.java
│ │ ├── BreakExpr.java
│ │ ├── CallExpr.java
│ │ ├── ClassExpr.java
│ │ ├── Expr.java
│ │ ├── ExprVisitor.java
│ │ ├── Field.java
│ │ ├── FnExpr.java
│ │ ├── ImportDeclaration.java
│ │ ├── ImportExpr.java
│ │ ├── IntExpr.java
│ │ ├── LoopExpr.java
│ │ ├── MatchExpr.java
│ │ ├── MethodExpr.java
│ │ ├── NameExpr.java
│ │ ├── NothingExpr.java
│ │ ├── QuoteExpr.java
│ │ ├── RecordExpr.java
│ │ ├── ReturnExpr.java
│ │ ├── ScopeExpr.java
│ │ ├── SequenceExpr.java
│ │ ├── StringExpr.java
│ │ ├── ThrowExpr.java
│ │ ├── UnquoteExpr.java
│ │ ├── VarExpr.java
│ │ └── pattern
│ │ │ ├── MatchCase.java
│ │ │ ├── Pattern.java
│ │ │ ├── PatternVisitor.java
│ │ │ ├── RecordPattern.java
│ │ │ ├── TypePattern.java
│ │ │ ├── ValuePattern.java
│ │ │ ├── VariablePattern.java
│ │ │ └── WildcardPattern.java
│ │ ├── interpreter
│ │ ├── BreakException.java
│ │ ├── Callable.java
│ │ ├── Channel.java
│ │ ├── ClassObj.java
│ │ ├── Context.java
│ │ ├── DocBuilder.java
│ │ ├── EnvironmentBuilder.java
│ │ ├── ErrorException.java
│ │ ├── ExprEvaluator.java
│ │ ├── FieldObj.java
│ │ ├── FnObj.java
│ │ ├── Function.java
│ │ ├── Interpreter.java
│ │ ├── InterpreterException.java
│ │ ├── JavaToMagpie.java
│ │ ├── MagpieToJava.java
│ │ ├── MethodGraph.java
│ │ ├── Module.java
│ │ ├── Multimethod.java
│ │ ├── Name.java
│ │ ├── NullInterpreterHost.java
│ │ ├── Obj.java
│ │ ├── PatternBinder.java
│ │ ├── PatternComparer.java
│ │ ├── PatternTester.java
│ │ ├── Profiler.java
│ │ ├── ReturnException.java
│ │ ├── Routine.java
│ │ └── Scope.java
│ │ ├── intrinsic
│ │ ├── ArrayMethods.java
│ │ ├── AsyncMethods.java
│ │ ├── ClassInit.java
│ │ ├── ClassNew.java
│ │ ├── FieldGetter.java
│ │ ├── FieldSetter.java
│ │ ├── IOMethods.java
│ │ ├── Indexable.java
│ │ ├── IntMethods.java
│ │ ├── Intrinsic.java
│ │ ├── IntrinsicCallable.java
│ │ ├── IntrinsicLoader.java
│ │ ├── IntrinsicMethods.java
│ │ ├── ListMethods.java
│ │ ├── MethodWrapper.java
│ │ ├── NetMethods.java
│ │ ├── PathMethods.java
│ │ ├── ProcessMethods.java
│ │ ├── ReflectionMethods.java
│ │ ├── RegexMethods.java
│ │ └── StringMethods.java
│ │ ├── parser
│ │ ├── AndParser.java
│ │ ├── Annotator.java
│ │ ├── BacktickParser.java
│ │ ├── BracePrefixParser.java
│ │ ├── BracketInfixParser.java
│ │ ├── BracketPrefixParser.java
│ │ ├── CommaParser.java
│ │ ├── ConvertAssignmentExpr.java
│ │ ├── EqualsParser.java
│ │ ├── FieldParser.java
│ │ ├── FnParser.java
│ │ ├── Grammar.java
│ │ ├── InfixOperatorParser.java
│ │ ├── InfixParser.java
│ │ ├── Lexer.java
│ │ ├── LiteralParser.java
│ │ ├── MagpieParser.java
│ │ ├── Morpher.java
│ │ ├── NameParser.java
│ │ ├── OrParser.java
│ │ ├── ParenthesisPrefixParser.java
│ │ ├── ParseException.java
│ │ ├── Parser.java
│ │ ├── PatternParser.java
│ │ ├── Position.java
│ │ ├── PositionSpan.java
│ │ ├── Precedence.java
│ │ ├── PrefixParser.java
│ │ ├── StringReader.java
│ │ ├── Token.java
│ │ ├── TokenReader.java
│ │ └── TokenType.java
│ │ └── util
│ │ ├── Expect.java
│ │ ├── FileReader.java
│ │ ├── FileWriter.java
│ │ ├── IO.java
│ │ ├── NotImplementedException.java
│ │ ├── Pair.java
│ │ └── Ref.java
├── magpie.1
└── main.cpp
├── support
├── Sublime Text 2
│ └── Magpie
│ │ ├── Syntaxes
│ │ └── Magpie.tmLanguage
│ │ └── info.plist
└── TextMate
│ └── Magpie.tmbundle
│ ├── Syntaxes
│ └── Magpie.tmLanguage
│ └── info.plist
└── test
├── and
├── and.mag
├── eof.mag
└── eof_with_newline.mag
├── async
├── closure.mag
├── closure_in_method.mag
├── end_when_main_fiber_ends.mag
├── return.mag
├── wait_to_receive.mag
└── wait_to_send.mag
├── bools
├── class.mag
└── to_string.mag
├── calls
├── infix.mag
├── left_argument.mag
├── nested_param.mag
├── no_arguments.mag
├── record_arguments.mag
├── right_argument.mag
├── unknown_method.mag
└── unknown_signature.mag
├── channel
├── close.mag
├── iteration.mag
├── new.mag
├── queued_receives.mag
├── queued_sends.mag
├── two_blocked_receivers.mag
└── two_blocked_senders.mag
├── char
├── class.mag
├── literal.mag
└── to_string.mag
├── classes
├── class_with_no_fields.mag
├── classes_are_first_class.mag
├── field
│ ├── no_literal_pattern.mag
│ ├── no_value_pattern.mag
│ └── no_variable_pattern.mag
├── field_getters.mag
├── field_setter_modifies_object.mag
├── field_setter_returns_value.mag
├── field_setter_uses_pattern.mag
├── immutable_fields_cannot_be_set.mag
├── is_inherited_class.mag
├── new.mag
├── new_requires_all_fields.mag
├── new_requires_fields_in_order.mag
├── new_uses_field_patterns.mag
├── new_with_fields.mag
└── superclass
│ ├── no_literal.mag
│ └── no_method_call.mag
├── comments
├── block.mag
├── block_at_end_of_file.mag
└── line_at_end_of_file.mag
├── definition_order
├── field_initializer
│ ├── class
│ │ ├── construct_defclass_field.mag
│ │ ├── construct_field_defclass.mag
│ │ ├── defclass_construct_field.mag
│ │ ├── defclass_field_construct.mag
│ │ ├── field_construct_defclass.mag
│ │ └── field_defclass_construct.mag
│ ├── class_constructor
│ │ ├── construct_defclass_field.mag
│ │ ├── construct_field_defclass.mag
│ │ ├── defclass_construct_field.mag
│ │ ├── defclass_field_construct.mag
│ │ ├── field_construct_defclass.mag
│ │ └── field_defclass_construct.mag
│ ├── method
│ │ ├── construct_def_field.mag
│ │ ├── construct_field_def.mag
│ │ ├── def_construct_field.mag
│ │ ├── def_field_construct.mag
│ │ ├── field_construct_def.mag
│ │ └── field_def_construct.mag
│ └── var
│ │ ├── construct_field_var.mag
│ │ ├── construct_var_field.mag
│ │ ├── field_construct_var.mag
│ │ ├── field_var_construct.mag
│ │ ├── var_construct_field.mag
│ │ └── var_field_construct.mag
├── field_pattern
│ ├── construct_later_class.mag
│ ├── construct_later_variable.mag
│ ├── later_class.mag
│ ├── later_variable.mag
│ ├── previous_class.mag
│ └── previous_variable.mag
├── superclass
│ ├── later_class.mag
│ ├── later_variable.mag
│ ├── previous_class.mag
│ └── previous_variable.mag
└── variable
│ ├── instantiate_later_class.mag
│ └── instantiate_previous_class.mag
├── do
├── block_argument.mag
├── block_argument_must_follow_call.mag
├── block_argument_with_pattern.mag
├── block_argument_with_pattern_must_follow_call.mag
├── do_expression.mag
├── eof_block.mag
└── eof_with_newline.mag
├── event
├── exit_while_fiber_sleeping.mag
├── sleep.mag
├── sleep_main_fiber.mag
├── sleep_main_fiber_with_other_fiber.mag
└── sleep_return.mag
├── functions
├── argument_mismatch.mag
├── arguments.mag
├── class.mag
├── closure.mag
├── closure_in_method.mag
├── fn.mag
├── implicit_parameters.mag
└── loop_closure.mag
├── if.mag
├── import
├── do_not_import_private_vars
│ ├── do_not_import_private_vars.mag
│ └── foo.mag
├── do_not_run_imported_module_if_main_has_error
│ ├── foo.mag
│ └── main.mag
├── do_not_run_main_module_if_import_has_error
│ ├── foo.mag
│ └── main.mag
├── import_from_same_dir
│ ├── foo.mag
│ └── import_from_same_dir.mag
├── import_from_subdir
│ ├── foo
│ │ └── bar
│ │ │ └── baz.mag
│ └── import_from_subdir.mag
├── imports_must_appear_before_other_code.mag
├── private_var_in_same_module.mag
└── shared_import
│ ├── a.mag
│ ├── b.mag
│ ├── c.mag
│ └── shared_import.mag
├── io
├── buffer
│ ├── class.mag
│ ├── construct_int.mag
│ ├── count.mag
│ ├── decode_ascii.mag
│ ├── subscript_int.mag
│ ├── subscript_setter_int.mag
│ └── to_string.mag
├── file
│ ├── class.mag
│ ├── close.mag
│ ├── data.txt
│ ├── open.mag
│ ├── open_block.mag
│ ├── read.mag
│ ├── read_bytes.mag
│ ├── read_from_path.mag
│ ├── size.mag
│ └── stream_bytes.mag
└── stream
│ ├── class.mag
│ └── to_string.mag
├── is
├── eof.mag
├── eof_with_newline.mag
├── is.mag
└── newline.mag
├── iterable
├── contains.mag
├── count.mag
├── each.mag
├── first.mag
├── join.mag
├── map.mag
├── skip.mag
├── to_list.mag
└── where.mag
├── list
├── add.mag
├── class.mag
├── clear.mag
├── count.mag
├── insert.mag
├── iteration.mag
├── last.mag
├── literals.mag
├── remove_at.mag
├── subscript_int.mag
├── subscript_range.mag
└── subscript_setter_int.mag
├── looping
├── break_at_top_level.mag
├── break_outside_loop.mag
├── for.mag
├── for_break.mag
├── for_scope.mag
├── for_syntax.mag
├── while_break.mag
├── while_scope.mag
└── while_syntax.mag
├── match
├── case_after_else.mag
├── duplicate_field.mag
├── duplicate_positional_field.mag
├── match.mag
├── record_patterns.mag
└── use_wildcard.mag
├── methods
├── declare_in_local_scope.mag
├── expression_in_type_pattern.mag
├── expression_in_value_pattern.mag
├── mutual_recursion.mag
├── record_pattern_in_setter.mag
├── recursion.mag
└── top_level_vars_in_body
│ ├── call_def_var.mag
│ ├── call_var_def.mag
│ ├── def_call_var.mag
│ ├── def_var_call.mag
│ ├── var_call_def.mag
│ └── var_def_call.mag
├── modules
└── empty.mag
├── multimethods
├── collision
│ ├── bool.mag
│ ├── char.mag
│ ├── float.mag
│ ├── int.mag
│ ├── int_float.mag
│ └── nothing.mag
├── different_arity.mag
├── literal_patterns.mag
├── nested_record_pattern.mag
├── ordering
│ ├── field_pattern.mag
│ ├── subclass_before_superclass.mag
│ ├── type_before_variable.mag
│ ├── value_before_type.mag
│ ├── value_before_variable.mag
│ └── wide_record_before_narrow.mag
├── type_patterns.mag
└── types_in_record_patterns.mag
├── not.mag
├── nothing.mag
├── number
├── float
│ ├── addition.mag
│ ├── class.mag
│ ├── comparison.mag
│ ├── division.mag
│ ├── literals.mag
│ ├── multiplication.mag
│ ├── negation.mag
│ ├── sgn.mag
│ ├── subtraction.mag
│ └── to_string.mag
├── int
│ ├── addition.mag
│ ├── class.mag
│ ├── comparison.mag
│ ├── division.mag
│ ├── literals.mag
│ ├── multiplication.mag
│ ├── negation.mag
│ ├── sgn.mag
│ ├── subtraction.mag
│ └── to_string.mag
└── mixed
│ ├── addition.mag
│ ├── comparison.mag
│ ├── division.mag
│ ├── multiplication.mag
│ └── subtraction.mag
├── operator
├── associativity.mag
├── custom_infix.mag
├── custom_prefix.mag
└── range.mag
├── or
├── eof.mag
├── eof_with_newline.mag
└── or.mag
├── range
├── iteration.mag
└── range.mag
├── records
├── class.mag
├── duplicate_field.mag
├── duplicate_infix_field.mag
├── record.mag
└── record_in_method.mag
├── return.mag
├── strings
├── class.mag
├── count.mag
├── iterate.mag
├── multiply.mag
├── newline_in_string.mag
├── plus.mag
├── strings.mag
├── subscript.mag
├── to_string.mag
├── unterminated_escape.mag
└── unterminated_string.mag
├── throw
├── catch.mag
├── catch_in_if.mag
├── catch_unwind.mag
├── method_catch.mag
├── uncaught.mag
└── unwind_past_match_failure.mag
├── top_level_variables
├── assign_to_undeclared_variable.mag
├── assignment.mag
├── destructure_missing_field.mag
├── destructure_non_record.mag
├── destructure_pattern_fail.mag
├── destructuring.mag
├── duplicate_definition.mag
├── duplicate_field.mag
├── duplicate_infix_field.mag
├── duplicate_positional_field.mag
├── initialize_from_later_class.mag
├── initialize_from_later_method.mag
├── initialize_from_later_variable.mag
├── initialize_from_previous_class.mag
├── initialize_from_previous_method.mag
├── initialize_from_previous_variable.mag
├── type_pattern_fail.mag
├── type_patterns.mag
├── unknown.mag
├── use_before_definition.mag
├── value_pattern_fail.mag
└── value_patterns.mag
├── variables
├── assign_to_undeclared_variable.mag
├── assignment.mag
├── destructuring.mag
├── duplicate_definition.mag
├── duplicate_field.mag
├── duplicate_infix_field.mag
├── duplicate_positional_field.mag
├── initializer_scope.mag
├── out_of_scope.mag
├── shadowing.mag
├── type_patterns.mag
├── unknown.mag
└── value_patterns.mag
└── whitespace
├── beginning_of_file.mag
├── end_of_file.mag
└── none_at_end_of_file.mag
/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Ignore output files
2 | bin/
3 | build/
4 | magpie.jar
5 | doc/site/html/
6 | doc/site/magpie/magpie/__init__.pyc
7 | doc/site/.sass-cache/
8 |
9 | # Ignore gyp generated projects
10 | magpie.xcodeproj/project.pbxproj
11 | dep/libuv/uv.xcodeproj/project.pbxproj
12 |
13 | # Ignore user-specific config files.
14 | xcuserdata
15 | magpie.xcworkspace/
--------------------------------------------------------------------------------
/AUTHORS:
--------------------------------------------------------------------------------
1 | Bob Nystrom
2 | Marcus Martin
3 | Antal Szabó
4 |
--------------------------------------------------------------------------------
/core/README:
--------------------------------------------------------------------------------
1 | This directory contains the Magpie "standard library" for the C++ Magpie VM.
2 | Once the VM is more mature, this will be merged with lib/.
--------------------------------------------------------------------------------
/dep/gyp/.gitignore:
--------------------------------------------------------------------------------
1 | *.pyc
2 |
--------------------------------------------------------------------------------
/dep/gyp/AUTHORS:
--------------------------------------------------------------------------------
1 | # Names should be added to this file like so:
2 | # Name or Organization
3 |
4 | Google Inc.
5 | Bloomberg Finance L.P.
6 |
7 | Steven Knight
8 | Ryan Norton
9 |
--------------------------------------------------------------------------------
/dep/gyp/OWNERS:
--------------------------------------------------------------------------------
1 | *
2 |
--------------------------------------------------------------------------------
/dep/gyp/gyp.bat:
--------------------------------------------------------------------------------
1 | @rem Copyright (c) 2009 Google Inc. All rights reserved.
2 | @rem Use of this source code is governed by a BSD-style license that can be
3 | @rem found in the LICENSE file.
4 |
5 | @python "%~dp0/gyp" %*
6 |
--------------------------------------------------------------------------------
/dep/gyp/gyp_dummy.c:
--------------------------------------------------------------------------------
1 | /* Copyright (c) 2009 Google Inc. All rights reserved.
2 | * Use of this source code is governed by a BSD-style license that can be
3 | * found in the LICENSE file. */
4 |
5 | int main() {
6 | return 0;
7 | }
8 |
--------------------------------------------------------------------------------
/dep/gyp/pylib/gyp/generator/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/munificent/magpie/f5138e3d316ec1a664b5eadba1bcc8573d3faca3/dep/gyp/pylib/gyp/generator/__init__.py
--------------------------------------------------------------------------------
/dep/gyp/samples/samples.bat:
--------------------------------------------------------------------------------
1 | @rem Copyright (c) 2009 Google Inc. All rights reserved.
2 | @rem Use of this source code is governed by a BSD-style license that can be
3 | @rem found in the LICENSE file.
4 |
5 | @python %~dp0/samples %*
6 |
--------------------------------------------------------------------------------
/dep/gyp/test/actions-bare/src/bare.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 |
3 | # Copyright (c) 2009 Google Inc. All rights reserved.
4 | # Use of this source code is governed by a BSD-style license that can be
5 | # found in the LICENSE file.
6 |
7 | import sys
8 |
9 | f = open(sys.argv[1], 'wb')
10 | f.write('Hello from bare.py\n')
11 | f.close()
12 |
--------------------------------------------------------------------------------
/dep/gyp/test/actions-multiple/src/copy.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # Copyright (c) 2011 Google Inc. All rights reserved.
3 | # Use of this source code is governed by a BSD-style license that can be
4 | # found in the LICENSE file.
5 |
6 | import shutil
7 | import sys
8 |
9 | shutil.copyfile(sys.argv[1], sys.argv[2])
10 |
--------------------------------------------------------------------------------
/dep/gyp/test/actions-multiple/src/foo.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2011 Google Inc. All rights reserved.
3 | * Use of this source code is governed by a BSD-style license that can be
4 | * found in the LICENSE file.
5 | */
6 |
7 | #include
8 |
9 | void foo(void) {
10 | printf("foo\n");
11 | }
12 |
--------------------------------------------------------------------------------
/dep/gyp/test/actions-multiple/src/input.txt:
--------------------------------------------------------------------------------
1 | hello there
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/actions-none/src/foo.cc:
--------------------------------------------------------------------------------
1 | foo.cc
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/actions-subdir/src/make-file.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 |
3 | # Copyright (c) 2009 Google Inc. All rights reserved.
4 | # Use of this source code is governed by a BSD-style license that can be
5 | # found in the LICENSE file.
6 |
7 | import sys
8 |
9 | contents = 'Hello from make-file.py\n'
10 |
11 | open(sys.argv[1], 'wb').write(contents)
12 |
--------------------------------------------------------------------------------
/dep/gyp/test/actions-subdir/src/subdir/make-subdir-file.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 |
3 | # Copyright (c) 2009 Google Inc. All rights reserved.
4 | # Use of this source code is governed by a BSD-style license that can be
5 | # found in the LICENSE file.
6 |
7 | import sys
8 |
9 | contents = 'Hello from make-subdir-file.py\n'
10 |
11 | open(sys.argv[1], 'wb').write(contents)
12 |
--------------------------------------------------------------------------------
/dep/gyp/test/actions/src/subdir1/program.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | extern void prog1(void);
4 | extern void prog2(void);
5 |
6 | int main(int argc, char *argv[])
7 | {
8 | printf("Hello from program.c\n");
9 | prog1();
10 | prog2();
11 | return 0;
12 | }
13 |
--------------------------------------------------------------------------------
/dep/gyp/test/actions/src/subdir2/make-file.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 |
3 | # Copyright (c) 2009 Google Inc. All rights reserved.
4 | # Use of this source code is governed by a BSD-style license that can be
5 | # found in the LICENSE file.
6 |
7 | import sys
8 |
9 | contents = "Hello from make-file.py\n"
10 |
11 | open(sys.argv[1], 'wb').write(contents)
12 |
--------------------------------------------------------------------------------
/dep/gyp/test/additional-targets/src/dir1/emit.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 |
3 | # Copyright (c) 2009 Google Inc. All rights reserved.
4 | # Use of this source code is governed by a BSD-style license that can be
5 | # found in the LICENSE file.
6 |
7 | import sys
8 |
9 | f = open(sys.argv[1], 'wb')
10 | f.write('Hello from emit.py\n')
11 | f.close()
12 |
--------------------------------------------------------------------------------
/dep/gyp/test/additional-targets/src/dir1/lib1.c:
--------------------------------------------------------------------------------
1 | #ifdef _WIN32
2 | __declspec(dllexport)
3 | #endif
4 | int func1(void) {
5 | return 42;
6 | }
7 |
--------------------------------------------------------------------------------
/dep/gyp/test/assembly/src/as.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | :: Mock windows assembler.
3 | cl /c %1 /Fo"%2"
4 |
5 |
--------------------------------------------------------------------------------
/dep/gyp/test/assembly/src/lib1.c:
--------------------------------------------------------------------------------
1 | int lib1_function(void) {
2 | return 42;
3 | }
4 |
--------------------------------------------------------------------------------
/dep/gyp/test/assembly/src/override_asm.asm:
--------------------------------------------------------------------------------
1 | ; Copyright (c) 2012 Google Inc. All rights reserved.
2 | ; Use of this source code is governed by a BSD-style license that can be
3 | ; found in the LICENSE file.
4 |
5 | ; This is a placeholder. It should not be referenced if overrides work
6 | ; correctly.
7 |
8 | Bad stuff that shouldn't assemble.
9 |
--------------------------------------------------------------------------------
/dep/gyp/test/assembly/src/program.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | extern int lib1_function(void);
4 |
5 | int main(int argc, char *argv[])
6 | {
7 | fprintf(stdout, "Hello from program.c\n");
8 | fflush(stdout);
9 | fprintf(stdout, "Got %d.\n", lib1_function());
10 | fflush(stdout);
11 | return 0;
12 | }
13 |
--------------------------------------------------------------------------------
/dep/gyp/test/build-option/hello.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2012 Google Inc. All rights reserved.
3 | * Use of this source code is governed by a BSD-style license that can be
4 | * found in the LICENSE file.
5 | */
6 |
7 | #include
8 |
9 | int main(int argc, char *argv[])
10 | {
11 | printf("Hello, world!\n");
12 | return 0;
13 | }
14 |
--------------------------------------------------------------------------------
/dep/gyp/test/builddir/src/func1.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | void func1(void)
4 | {
5 | printf("Hello from func1.c\n");
6 | }
7 |
--------------------------------------------------------------------------------
/dep/gyp/test/builddir/src/func2.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | void func2(void)
4 | {
5 | printf("Hello from func2.c\n");
6 | }
7 |
--------------------------------------------------------------------------------
/dep/gyp/test/builddir/src/func3.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | void func3(void)
4 | {
5 | printf("Hello from func3.c\n");
6 | }
7 |
--------------------------------------------------------------------------------
/dep/gyp/test/builddir/src/func4.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | void func4(void)
4 | {
5 | printf("Hello from func4.c\n");
6 | }
7 |
--------------------------------------------------------------------------------
/dep/gyp/test/builddir/src/func5.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | void func5(void)
4 | {
5 | printf("Hello from func5.c\n");
6 | }
7 |
--------------------------------------------------------------------------------
/dep/gyp/test/builddir/src/prog1.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | extern void func1(void);
4 |
5 | int main(int argc, char *argv[])
6 | {
7 | printf("Hello from prog1.c\n");
8 | func1();
9 | return 0;
10 | }
11 |
--------------------------------------------------------------------------------
/dep/gyp/test/builddir/src/subdir2/prog2.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | extern void func2(void);
4 |
5 | int main(int argc, char *argv[])
6 | {
7 | printf("Hello from subdir2/prog2.c\n");
8 | func2();
9 | return 0;
10 | }
11 |
--------------------------------------------------------------------------------
/dep/gyp/test/builddir/src/subdir2/subdir3/prog3.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | extern void func3(void);
4 |
5 | int main(int argc, char *argv[])
6 | {
7 | printf("Hello from subdir2/subdir3/prog3.c\n");
8 | func3();
9 | return 0;
10 | }
11 |
--------------------------------------------------------------------------------
/dep/gyp/test/builddir/src/subdir2/subdir3/subdir4/prog4.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | extern void func4(void);
4 |
5 | int main(int argc, char *argv[])
6 | {
7 | printf("Hello from subdir2/subdir3/subdir4/prog4.c\n");
8 | func4();
9 | return 0;
10 | }
11 |
--------------------------------------------------------------------------------
/dep/gyp/test/builddir/src/subdir2/subdir3/subdir4/subdir5/prog5.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | extern void func5(void);
4 |
5 | int main(int argc, char *argv[])
6 | {
7 | printf("Hello from subdir2/subdir3/subdir4/subdir5/prog5.c\n");
8 | func5();
9 | return 0;
10 | }
11 |
--------------------------------------------------------------------------------
/dep/gyp/test/compilable/src/lib1.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include "lib1.hpp"
3 |
4 | void lib1_function(void) {
5 | fprintf(stdout, "Hello from lib1.c\n");
6 | fflush(stdout);
7 | }
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/compilable/src/lib1.hpp:
--------------------------------------------------------------------------------
1 | #ifndef _lib1_hpp
2 | #define _lib1_hpp
3 |
4 | extern void lib1_function(void);
5 |
6 | #endif
7 |
--------------------------------------------------------------------------------
/dep/gyp/test/compilable/src/program.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include "lib1.hpp"
3 |
4 | int main(int argc, char *argv[]) {
5 | fprintf(stdout, "Hello from program.c\n");
6 | fflush(stdout);
7 | lib1_function();
8 | return 0;
9 | }
10 |
--------------------------------------------------------------------------------
/dep/gyp/test/compiler-override/cxxtest.cc:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | // Deliberate C syntax error as this file should never be passed to
6 | // the actual compiler
7 | #error Should not be passed to a real compiler
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/compiler-override/my_cc.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # Copyright (c) 2012 Google Inc. All rights reserved.
3 | # Use of this source code is governed by a BSD-style license that can be
4 | # found in the LICENSE file.
5 | import sys
6 | print sys.argv
7 |
--------------------------------------------------------------------------------
/dep/gyp/test/compiler-override/my_cxx.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # Copyright (c) 2012 Google Inc. All rights reserved.
3 | # Use of this source code is governed by a BSD-style license that can be
4 | # found in the LICENSE file.
5 | import sys
6 | print sys.argv
7 |
--------------------------------------------------------------------------------
/dep/gyp/test/compiler-override/my_ld.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # Copyright (c) 2012 Google Inc. All rights reserved.
3 | # Use of this source code is governed by a BSD-style license that can be
4 | # found in the LICENSE file.
5 | import sys
6 | print sys.argv
7 |
--------------------------------------------------------------------------------
/dep/gyp/test/compiler-override/test.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | // Deliberate C syntax error as this file should never be passed to
6 | // the actual compiler
7 | #error Should not be passed to a real compiler
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/configurations/basics/configurations.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main(int argc, char *argv[])
4 | {
5 | #ifdef FOO
6 | printf("Foo configuration\n");
7 | #endif
8 | #ifdef DEBUG
9 | printf("Debug configuration\n");
10 | #endif
11 | #ifdef RELEASE
12 | printf("Release configuration\n");
13 | #endif
14 | return 0;
15 | }
16 |
--------------------------------------------------------------------------------
/dep/gyp/test/configurations/target_platform/front.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | const char *message(void);
4 |
5 | int main(int argc, char *argv[]) {
6 | printf("%s\n", message());
7 | return 0;
8 | }
9 |
--------------------------------------------------------------------------------
/dep/gyp/test/configurations/target_platform/left.c:
--------------------------------------------------------------------------------
1 | const char *message(void) {
2 | return "left";
3 | }
4 |
--------------------------------------------------------------------------------
/dep/gyp/test/configurations/target_platform/right.c:
--------------------------------------------------------------------------------
1 | const char *message(void) {
2 | return "right";
3 | }
4 |
--------------------------------------------------------------------------------
/dep/gyp/test/configurations/x64/configurations.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main(int argc, char *argv[]) {
4 | if (sizeof(void*) == 4) {
5 | printf("Running Win32\n");
6 | } else if (sizeof(void*) == 8) {
7 | printf("Running x64\n");
8 | } else {
9 | printf("Unexpected platform\n");
10 | }
11 | return 0;
12 | }
13 |
--------------------------------------------------------------------------------
/dep/gyp/test/copies/src/directory/file3:
--------------------------------------------------------------------------------
1 | file3 contents
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/copies/src/directory/file4:
--------------------------------------------------------------------------------
1 | file4 contents
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/copies/src/directory/subdir/file5:
--------------------------------------------------------------------------------
1 | file5 contents
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/copies/src/file1:
--------------------------------------------------------------------------------
1 | file1 contents
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/copies/src/file2:
--------------------------------------------------------------------------------
1 | file2 contents
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/copies/src/parentdir/subdir/file6:
--------------------------------------------------------------------------------
1 | file6 contents
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/defines-escaping/defines-escaping.c:
--------------------------------------------------------------------------------
1 | /* Copyright (c) 2010 Google Inc. All rights reserved.
2 | * Use of this source code is governed by a BSD-style license that can be
3 | * found in the LICENSE file. */
4 |
5 | #include
6 |
7 | int main(int argc, char *argv[])
8 | {
9 | printf(TEST_FORMAT, TEST_ARGS);
10 | return 0;
11 | }
12 |
--------------------------------------------------------------------------------
/dep/gyp/test/dependencies/a.c:
--------------------------------------------------------------------------------
1 | /* Copyright (c) 2009 Google Inc. All rights reserved.
2 | * Use of this source code is governed by a BSD-style license that can be
3 | * found in the LICENSE file. */
4 |
5 | extern int funcB();
6 |
7 | int funcA() {
8 | return funcB();
9 | }
10 |
--------------------------------------------------------------------------------
/dep/gyp/test/dependencies/b/b.c:
--------------------------------------------------------------------------------
1 | int funcB() {
2 | return 2;
3 | }
4 |
--------------------------------------------------------------------------------
/dep/gyp/test/dependencies/b/b3.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2011 Google Inc. All rights reserved.
3 | * Use of this source code is governed by a BSD-style license that can be
4 | * found in the LICENSE file.
5 | */
6 |
7 | int funcB() {
8 | return 3;
9 | }
10 |
--------------------------------------------------------------------------------
/dep/gyp/test/dependencies/c/c.c:
--------------------------------------------------------------------------------
1 | int funcC() {
2 | return 3
3 | // Intentional syntax error. This file should never be compiled, so this
4 | // shouldn't be a problem.
5 |
--------------------------------------------------------------------------------
/dep/gyp/test/dependencies/c/d.c:
--------------------------------------------------------------------------------
1 | int funcD() {
2 | return 4;
3 | }
4 |
--------------------------------------------------------------------------------
/dep/gyp/test/dependencies/double_dependent.gyp:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2012 Google Inc. All rights reserved.
2 | # Use of this source code is governed by a BSD-style license that can be
3 | # found in the LICENSE file.
4 |
5 | {
6 | 'targets': [
7 | {
8 | 'target_name': 'double_dependent',
9 | 'type': 'none',
10 | },
11 | ],
12 | }
13 |
--------------------------------------------------------------------------------
/dep/gyp/test/dependencies/main.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2011 Google Inc. All rights reserved.
3 | * Use of this source code is governed by a BSD-style license that can be
4 | * found in the LICENSE file.
5 | */
6 |
7 | #include
8 |
9 | extern int funcA();
10 |
11 | int main() {
12 | printf("%d\n", funcA());
13 | return 0;
14 | }
15 |
--------------------------------------------------------------------------------
/dep/gyp/test/dependency-copy/src/file1.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main(int argc, char *argv[])
4 | {
5 | printf("Hello from file1.c\n");
6 | return 0;
7 | }
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/dependency-copy/src/file2.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main(int argc, char *argv[])
4 | {
5 | printf("Hello from file2.c\n");
6 | return 0;
7 | }
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/errors/duplicate_targets.gyp:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2009 Google Inc. All rights reserved.
2 | # Use of this source code is governed by a BSD-style license that can be
3 | # found in the LICENSE file.
4 |
5 | {
6 | 'targets': [
7 | {
8 | 'target_name': 'foo'
9 | },
10 | {
11 | 'target_name': 'foo'
12 | },
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/dep/gyp/test/errors/missing_targets.gyp:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2011 Google Inc. All rights reserved.
2 | # Use of this source code is governed by a BSD-style license that can be
3 | # found in the LICENSE file.
4 |
5 | {
6 | 'target_defaults': {
7 | },
8 | }
9 |
--------------------------------------------------------------------------------
/dep/gyp/test/external-cross-compile/src/bogus1.cc:
--------------------------------------------------------------------------------
1 | From bogus1.cc
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/external-cross-compile/src/bogus2.c:
--------------------------------------------------------------------------------
1 | From bogus2.c
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/external-cross-compile/src/test1.cc:
--------------------------------------------------------------------------------
1 | From test1.cc
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/external-cross-compile/src/test2.c:
--------------------------------------------------------------------------------
1 | From test2.c
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/external-cross-compile/src/test3.cc:
--------------------------------------------------------------------------------
1 | From test3.cc
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/external-cross-compile/src/test4.c:
--------------------------------------------------------------------------------
1 | From test4.c
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/actions/subdir1/actions-out/README.txt:
--------------------------------------------------------------------------------
1 | A place-holder for this Xcode build output directory, so that the
2 | test script can verify that .xcodeproj files are not created in
3 | their normal location by making the src/ read-only, and then
4 | selectively making this build directory writable.
5 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/actions/subdir1/program.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | extern void prog1(void);
4 | extern void prog2(void);
5 |
6 | int main(int argc, char *argv[])
7 | {
8 | printf("Hello from program.c\n");
9 | prog1();
10 | prog2();
11 | return 0;
12 | }
13 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/actions/subdir2/actions-out/README.txt:
--------------------------------------------------------------------------------
1 | A place-holder for this Xcode build output directory, so that the
2 | test script can verify that .xcodeproj files are not created in
3 | their normal location by making the src/ read-only, and then
4 | selectively making this build directory writable.
5 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/actions/subdir2/make-file.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 |
3 | # Copyright (c) 2009 Google Inc. All rights reserved.
4 | # Use of this source code is governed by a BSD-style license that can be
5 | # found in the LICENSE file.
6 |
7 | import sys
8 |
9 | contents = "Hello from make-file.py\n"
10 |
11 | open(sys.argv[1], 'wb').write(contents)
12 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/copies/copies-out/README.txt:
--------------------------------------------------------------------------------
1 | A place-holder for this Xcode build output directory, so that the
2 | test script can verify that .xcodeproj files are not created in
3 | their normal location by making the src/ read-only, and then
4 | selectively making this build directory writable.
5 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/copies/file1:
--------------------------------------------------------------------------------
1 | file1 contents
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/copies/file2:
--------------------------------------------------------------------------------
1 | file2 contents
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/copies/subdir/copies-out/README.txt:
--------------------------------------------------------------------------------
1 | A place-holder for this Xcode build output directory, so that the
2 | test script can verify that .xcodeproj files are not created in
3 | their normal location by making the src/ read-only, and then
4 | selectively making this build directory writable.
5 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/copies/subdir/file3:
--------------------------------------------------------------------------------
1 | file3 contents
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/copies/subdir/file4:
--------------------------------------------------------------------------------
1 | file4 contents
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/mac-bundle/app.order:
--------------------------------------------------------------------------------
1 | _main
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/mac-bundle/header.h:
--------------------------------------------------------------------------------
1 | int f();
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/mac-bundle/main.c:
--------------------------------------------------------------------------------
1 | int main() {}
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/mac-bundle/resource.sb:
--------------------------------------------------------------------------------
1 | A text file.
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/rules/subdir1/define3.in0:
--------------------------------------------------------------------------------
1 | #define STRING3 "Hello from define3.in0\n"
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/rules/subdir1/define4.in0:
--------------------------------------------------------------------------------
1 | #define STRING4 "Hello from define4.in0\n"
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/rules/subdir1/function1.in1:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | void function1(void)
4 | {
5 | printf("Hello from function1.in1\n");
6 | }
7 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/rules/subdir1/function2.in1:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | void function2(void)
4 | {
5 | printf("Hello from function2.in1\n");
6 | }
7 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/rules/subdir2/file1.in0:
--------------------------------------------------------------------------------
1 | Hello from file1.in0
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/rules/subdir2/file2.in0:
--------------------------------------------------------------------------------
1 | Hello from file2.in0
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/rules/subdir2/file3.in1:
--------------------------------------------------------------------------------
1 | Hello from file3.in1
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/rules/subdir2/file4.in1:
--------------------------------------------------------------------------------
1 | Hello from file4.in1
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/rules/subdir2/rules-out/README.txt:
--------------------------------------------------------------------------------
1 | A place-holder for this Xcode build output directory, so that the
2 | test script can verify that .xcodeproj files are not created in
3 | their normal location by making the src/ read-only, and then
4 | selectively making this build directory writable.
5 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/src/inc.h:
--------------------------------------------------------------------------------
1 | #define INC_STRING "inc.h"
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/src/inc1/include1.h:
--------------------------------------------------------------------------------
1 | #define INCLUDE1_STRING "inc1/include1.h"
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/src/subdir2/deeper/deeper.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main(int argc, char *argv[])
4 | {
5 | printf("Hello from deeper.c\n");
6 | return 0;
7 | }
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/src/subdir2/deeper/deeper.h:
--------------------------------------------------------------------------------
1 | #define DEEPER_STRING "subdir2/deeper/deeper.h"
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/src/subdir2/inc2/include2.h:
--------------------------------------------------------------------------------
1 | #define INCLUDE2_STRING "inc2/include2.h"
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/generator-output/src/subdir3/inc3/include3.h:
--------------------------------------------------------------------------------
1 | #define INCLUDE3_STRING "inc3/include3.h"
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/gyp-defines/echo.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 |
3 | # Copyright (c) 2012 Google Inc. All rights reserved.
4 | # Use of this source code is governed by a BSD-style license that can be
5 | # found in the LICENSE file.
6 |
7 | import sys
8 |
9 | f = open(sys.argv[2], 'w+')
10 | f.write(sys.argv[1])
11 | f.close()
12 |
--------------------------------------------------------------------------------
/dep/gyp/test/hard_dependency/src/a.c:
--------------------------------------------------------------------------------
1 | /* Copyright (c) 2011 Google Inc. All rights reserved.
2 | * Use of this source code is governed by a BSD-style license that can be
3 | * found in the LICENSE file. */
4 |
5 | #include "a.h"
6 |
7 | int funcA() {
8 | return 42;
9 | }
10 |
--------------------------------------------------------------------------------
/dep/gyp/test/hard_dependency/src/a.h:
--------------------------------------------------------------------------------
1 | /* Copyright (c) 2009 Google Inc. All rights reserved.
2 | * Use of this source code is governed by a BSD-style license that can be
3 | * found in the LICENSE file. */
4 |
5 | #ifndef A_H_
6 | #define A_H_
7 |
8 | #include "generated.h"
9 |
10 | int funcA();
11 |
12 | #endif // A_H_
13 |
--------------------------------------------------------------------------------
/dep/gyp/test/hard_dependency/src/b.c:
--------------------------------------------------------------------------------
1 | /* Copyright (c) 2011 Google Inc. All rights reserved.
2 | * Use of this source code is governed by a BSD-style license that can be
3 | * found in the LICENSE file. */
4 |
5 | #include "a.h"
6 |
7 | int funcB() {
8 | return funcA();
9 | }
10 |
--------------------------------------------------------------------------------
/dep/gyp/test/hard_dependency/src/b.h:
--------------------------------------------------------------------------------
1 | /* Copyright (c) 2011 Google Inc. All rights reserved.
2 | * Use of this source code is governed by a BSD-style license that can be
3 | * found in the LICENSE file. */
4 |
5 | #ifndef B_H_
6 | #define B_H_
7 |
8 | #include "a.h"
9 |
10 | int funcB();
11 |
12 | #endif // B_H_
13 |
--------------------------------------------------------------------------------
/dep/gyp/test/hard_dependency/src/c.c:
--------------------------------------------------------------------------------
1 | /* Copyright (c) 2011 Google Inc. All rights reserved.
2 | * Use of this source code is governed by a BSD-style license that can be
3 | * found in the LICENSE file. */
4 |
5 | #include "b.h"
6 | #include "c.h"
7 |
8 | int funcC() {
9 | return funcB();
10 | }
11 |
--------------------------------------------------------------------------------
/dep/gyp/test/hard_dependency/src/c.h:
--------------------------------------------------------------------------------
1 | /* Copyright (c) 2011 Google Inc. All rights reserved.
2 | * Use of this source code is governed by a BSD-style license that can be
3 | * found in the LICENSE file. */
4 |
5 | #ifndef C_H_
6 | #define C_H_
7 |
8 | int funcC();
9 |
10 | #endif // C_H_
11 |
--------------------------------------------------------------------------------
/dep/gyp/test/hard_dependency/src/d.c:
--------------------------------------------------------------------------------
1 | /* Copyright (c) 2009 Google Inc. All rights reserved.
2 | * Use of this source code is governed by a BSD-style license that can be
3 | * found in the LICENSE file. */
4 |
5 | #include "c.h"
6 |
7 | int funcD() {
8 | return funcC();
9 | }
10 |
--------------------------------------------------------------------------------
/dep/gyp/test/hard_dependency/src/emit.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 |
3 | # Copyright (c) 2011 Google Inc. All rights reserved.
4 | # Use of this source code is governed by a BSD-style license that can be
5 | # found in the LICENSE file.
6 |
7 | import sys
8 |
9 | f = open(sys.argv[1], 'wb')
10 | f.write('/* Hello World */\n')
11 | f.close()
12 |
--------------------------------------------------------------------------------
/dep/gyp/test/hello/hello.c:
--------------------------------------------------------------------------------
1 | /* Copyright (c) 2009 Google Inc. All rights reserved.
2 | * Use of this source code is governed by a BSD-style license that can be
3 | * found in the LICENSE file. */
4 |
5 | #include
6 |
7 | int main(int argc, char *argv[])
8 | {
9 | printf("Hello, world!\n");
10 | return 0;
11 | }
12 |
--------------------------------------------------------------------------------
/dep/gyp/test/hello/hello2.c:
--------------------------------------------------------------------------------
1 | /* Copyright (c) 2009 Google Inc. All rights reserved.
2 | * Use of this source code is governed by a BSD-style license that can be
3 | * found in the LICENSE file. */
4 |
5 | #include
6 |
7 | int main(int argc, char *argv[])
8 | {
9 | printf("Hello, two!\n");
10 | return 0;
11 | }
12 |
--------------------------------------------------------------------------------
/dep/gyp/test/home_dot_gyp/home/.gyp/include.gypi:
--------------------------------------------------------------------------------
1 | {
2 | 'variables': {
3 | 'foo': '"fromhome"',
4 | },
5 | }
6 |
--------------------------------------------------------------------------------
/dep/gyp/test/home_dot_gyp/home2/.gyp/include.gypi:
--------------------------------------------------------------------------------
1 | {
2 | 'variables': {
3 | 'foo': '"fromhome2"',
4 | },
5 | }
6 |
--------------------------------------------------------------------------------
/dep/gyp/test/home_dot_gyp/src/printfoo.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main(int argc, char *argv[])
4 | {
5 | printf("FOO is %s\n", FOO);
6 | return 0;
7 | }
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/include_dirs/src/inc.h:
--------------------------------------------------------------------------------
1 | #define INC_STRING "inc.h"
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/include_dirs/src/inc1/include1.h:
--------------------------------------------------------------------------------
1 | #define INCLUDE1_STRING "include1.h"
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/include_dirs/src/shadow1/shadow.h:
--------------------------------------------------------------------------------
1 | #define SHADOW_STRING "shadow1/shadow.h"
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/include_dirs/src/shadow2/shadow.h:
--------------------------------------------------------------------------------
1 | #define SHADOW_STRING "shadow2/shadow.h"
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/include_dirs/src/subdir/inc.h:
--------------------------------------------------------------------------------
1 | #define INC_STRING "subdir/inc.h"
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/include_dirs/src/subdir/inc2/include2.h:
--------------------------------------------------------------------------------
1 | #define INCLUDE2_STRING "subdir/inc2/include2.h"
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/intermediate_dir/src/shared_infile.txt:
--------------------------------------------------------------------------------
1 | dummy input
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/library/src/lib1.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | #ifdef _WIN32
4 | __declspec(dllexport)
5 | #endif
6 | void lib1_function(void)
7 | {
8 | fprintf(stdout, "Hello from lib1.c\n");
9 | fflush(stdout);
10 | }
11 |
--------------------------------------------------------------------------------
/dep/gyp/test/library/src/lib1_moveable.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | #ifdef _WIN32
4 | __declspec(dllexport)
5 | #endif
6 | void moveable_function(void)
7 | {
8 | fprintf(stdout, "Hello from lib1_moveable.c\n");
9 | fflush(stdout);
10 | }
11 |
--------------------------------------------------------------------------------
/dep/gyp/test/library/src/lib2.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | #ifdef _WIN32
4 | __declspec(dllexport)
5 | #endif
6 | void lib2_function(void)
7 | {
8 | fprintf(stdout, "Hello from lib2.c\n");
9 | fflush(stdout);
10 | }
11 |
--------------------------------------------------------------------------------
/dep/gyp/test/library/src/lib2_moveable.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | #ifdef _WIN32
4 | __declspec(dllexport)
5 | #endif
6 | void moveable_function(void)
7 | {
8 | fprintf(stdout, "Hello from lib2_moveable.c\n");
9 | fflush(stdout);
10 | }
11 |
--------------------------------------------------------------------------------
/dep/gyp/test/link-objects/base.c:
--------------------------------------------------------------------------------
1 | void extra();
2 |
3 | int main(int argc, char** argv) {
4 | extra();
5 | return 0;
6 | }
7 |
--------------------------------------------------------------------------------
/dep/gyp/test/link-objects/extra.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | void extra() {
4 | printf("PASS\n");
5 | }
6 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/action-envvars/action/action.sh:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2012 Google Inc. All rights reserved.
2 | # Use of this source code is governed by a BSD-style license that can be
3 | # found in the LICENSE file.
4 |
5 | set -e
6 |
7 | echo 'Test output' > "${BUILT_PRODUCTS_DIR}/result"
8 | echo 'Other output' > "$1"
9 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings:
--------------------------------------------------------------------------------
1 | /* Localized versions of Info.plist keys */
2 |
3 | NSHumanReadableCopyright = "Copyright ©2011 Google Inc."
4 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/app-bundle/TestApp/main.m:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2011 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #import
6 |
7 | int main(int argc, char *argv[])
8 | {
9 | return NSApplicationMain(argc, (const char **) argv);
10 | }
11 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/app-bundle/empty.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/munificent/magpie/f5138e3d316ec1a664b5eadba1bcc8573d3faca3/dep/gyp/test/mac/app-bundle/empty.c
--------------------------------------------------------------------------------
/dep/gyp/test/mac/archs/my_file.cc:
--------------------------------------------------------------------------------
1 | /* Copyright (c) 2012 Google Inc. All rights reserved.
2 | * Use of this source code is governed by a BSD-style license that can be
3 | * found in the LICENSE file. */
4 | int x = 1;
5 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/archs/my_main_file.cc:
--------------------------------------------------------------------------------
1 | /* Copyright (c) 2012 Google Inc. All rights reserved.
2 | * Use of this source code is governed by a BSD-style license that can be
3 | * found in the LICENSE file. */
4 | #include
5 | extern int x;
6 | int main() {
7 | printf("hello, world %d\n", x);
8 | }
9 |
10 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/cflags/ccfile.cc:
--------------------------------------------------------------------------------
1 | #ifdef CFLAG
2 | #error CFLAG should not be set
3 | #endif
4 |
5 | #ifndef CCFLAG
6 | #error CCFLAG should be set
7 | #endif
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/cflags/ccfile_withcflags.cc:
--------------------------------------------------------------------------------
1 | #ifndef CFLAG
2 | #error CFLAG should be set
3 | #endif
4 |
5 | #ifndef CCFLAG
6 | #error CCFLAG should be set
7 | #endif
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/cflags/cfile.c:
--------------------------------------------------------------------------------
1 | #ifndef CFLAG
2 | #error CFLAG should be set
3 | #endif
4 |
5 | #ifdef CCFLAG
6 | #error CCFLAG should not be set
7 | #endif
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/cflags/cppfile.cpp:
--------------------------------------------------------------------------------
1 | #ifdef CFLAG
2 | #error CFLAG should not be set
3 | #endif
4 |
5 | #ifndef CCFLAG
6 | #error CCFLAG should be set
7 | #endif
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/cflags/cppfile_withcflags.cpp:
--------------------------------------------------------------------------------
1 | #ifndef CFLAG
2 | #error CFLAG should be set
3 | #endif
4 |
5 | #ifndef CCFLAG
6 | #error CCFLAG should be set
7 | #endif
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/cflags/cxxfile.cxx:
--------------------------------------------------------------------------------
1 | #ifdef CFLAG
2 | #error CFLAG should not be set
3 | #endif
4 |
5 | #ifndef CCFLAG
6 | #error CCFLAG should be set
7 | #endif
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/cflags/cxxfile_withcflags.cxx:
--------------------------------------------------------------------------------
1 | #ifndef CFLAG
2 | #error CFLAG should be set
3 | #endif
4 |
5 | #ifndef CCFLAG
6 | #error CCFLAG should be set
7 | #endif
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/cflags/mfile.m:
--------------------------------------------------------------------------------
1 | #ifndef CFLAG
2 | #error CFLAG should be set
3 | #endif
4 |
5 | #ifdef CCFLAG
6 | #error CCFLAG should not be set
7 | #endif
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/cflags/mmfile.mm:
--------------------------------------------------------------------------------
1 | #ifdef CFLAG
2 | #error CFLAG should not be set
3 | #endif
4 |
5 | #ifndef CCFLAG
6 | #error CCFLAG should be set
7 | #endif
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/cflags/mmfile_withcflags.mm:
--------------------------------------------------------------------------------
1 | #ifndef CFLAG
2 | #error CFLAG should be set
3 | #endif
4 |
5 | #ifndef CCFLAG
6 | #error CCFLAG should be set
7 | #endif
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/copy-dylib/empty.c:
--------------------------------------------------------------------------------
1 | int main() {}
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/debuginfo/file.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2011 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | void f() {}
6 | int main() {}
7 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/depend-on-bundle/English.lproj/InfoPlist.strings:
--------------------------------------------------------------------------------
1 | /* Localized versions of Info.plist keys */
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/depend-on-bundle/bundle.c:
--------------------------------------------------------------------------------
1 | int f() { return 42; }
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/depend-on-bundle/executable.c:
--------------------------------------------------------------------------------
1 | int f();
2 | int main() {
3 | return f();
4 | }
5 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/framework-headers/myframework.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #import
6 |
7 | @interface TestObject : NSObject
8 | @end
9 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/framework-headers/myframework.m:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #import "myframework.h"
6 |
7 | @implementation TestObject
8 | @end
9 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/framework/TestFramework/English.lproj/InfoPlist.strings:
--------------------------------------------------------------------------------
1 | /* Localized versions of Info.plist keys */
2 |
3 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/framework/TestFramework/ObjCVectorInternal.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2011 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #include
6 |
7 | struct ObjCVectorImp {
8 | std::vector v;
9 | };
10 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/framework/TestFramework/TestFramework_Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header for all source files of the 'TestFramework' target in the 'TestFramework' project.
3 | //
4 |
5 | #ifdef __OBJC__
6 | #import
7 | #endif
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/framework/empty.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/munificent/magpie/f5138e3d316ec1a664b5eadba1bcc8573d3faca3/dep/gyp/test/mac/framework/empty.c
--------------------------------------------------------------------------------
/dep/gyp/test/mac/global-settings/src/dir1/dir1.gyp:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2012 Google Inc. All rights reserved.
2 | # Use of this source code is governed by a BSD-style license that can be
3 | # found in the LICENSE file.
4 | {
5 | 'targets': [
6 | {
7 | 'target_name': 'dir1_target',
8 | 'type': 'none',
9 | },
10 | ],
11 | }
12 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/global-settings/src/dir2/file.txt:
--------------------------------------------------------------------------------
1 | File.
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/infoplist-process/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2011 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | int main() {
6 | return 0;
7 | }
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/installname/file.c:
--------------------------------------------------------------------------------
1 | int f() { return 0; }
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/installname/main.c:
--------------------------------------------------------------------------------
1 | int main() {}
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/ldflags-libtool/file.c:
--------------------------------------------------------------------------------
1 | void f() {}
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/ldflags/subdirectory/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleSignature
6 | ????
7 |
8 |
9 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/ldflags/subdirectory/file.c:
--------------------------------------------------------------------------------
1 | void f() {}
2 | void g() {}
3 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/ldflags/subdirectory/symbol_list.def:
--------------------------------------------------------------------------------
1 | _f
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/libraries/subdir/README.txt:
--------------------------------------------------------------------------------
1 | Make things live in a subdirectory, to make sure that DEPTH works correctly.
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/libraries/subdir/hello.cc:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #include
6 |
7 | int main() {
8 | std::cout << "Hello, world!" << std::endl;
9 | return 0;
10 | }
11 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/libraries/subdir/mylib.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | int my_foo(int x) {
6 | return x + 1;
7 | }
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/loadable-module/module.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2011 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | int SuperFly() {
6 | return 42;
7 | }
8 |
9 | const char* SuperFoo() {
10 | return "Hello World";
11 | }
12 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/missing-cfbundlesignature/file.c:
--------------------------------------------------------------------------------
1 | int main() {}
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/non-strs-flattened-to-env/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | int main() {
6 | return 0;
7 | }
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/objc-gc/c-file.c:
--------------------------------------------------------------------------------
1 | void c_fun() {}
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/objc-gc/cc-file.cc:
--------------------------------------------------------------------------------
1 | void cc_fun() {}
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/objc-gc/main.m:
--------------------------------------------------------------------------------
1 | #import
2 |
3 | int main() {
4 | printf("gc on: %d\n", [NSGarbageCollector defaultCollector] != NULL);
5 | return 0;
6 | }
7 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/objc-gc/needs-gc-mm.mm:
--------------------------------------------------------------------------------
1 | void objcpp_fun() { }
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/objc-gc/needs-gc.m:
--------------------------------------------------------------------------------
1 | void objc_fun() { }
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/postbuild-copy-bundle/copied.txt:
--------------------------------------------------------------------------------
1 | old copied file
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/postbuild-copy-bundle/empty.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/munificent/magpie/f5138e3d316ec1a664b5eadba1bcc8573d3faca3/dep/gyp/test/mac/postbuild-copy-bundle/empty.c
--------------------------------------------------------------------------------
/dep/gyp/test/mac/postbuild-copy-bundle/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 | int main() {}
5 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/postbuild-copy-bundle/postbuild-copy-framework.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # Copyright (c) 2012 Google Inc. All rights reserved.
4 | # Use of this source code is governed by a BSD-style license that can be
5 | # found in the LICENSE file.
6 |
7 | set -e
8 |
9 | rsync -acC --delete "$1" "$2"
10 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/postbuild-copy-bundle/resource_file.sb:
--------------------------------------------------------------------------------
1 | This is included in the framework bundle.
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/postbuild-defaults/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | int main() {
6 | return 0;
7 | }
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/postbuild-fail/file.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2011 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | // That's right, this is copyrighted.
6 | void f() {}
7 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/postbuild-fail/postbuild-fail.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/bash
2 | # Copyright (c) 2011 Google Inc. All rights reserved.
3 | # Use of this source code is governed by a BSD-style license that can be
4 | # found in the LICENSE file.
5 |
6 | exit 1
7 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/postbuild-fail/touch-dynamic.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # Copyright (c) 2011 Google Inc. All rights reserved.
3 | # Use of this source code is governed by a BSD-style license that can be
4 | # found in the LICENSE file.
5 |
6 | set -e
7 | touch "${BUILT_PRODUCTS_DIR}/dynamic_touch"
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/postbuild-fail/touch-static.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # Copyright (c) 2011 Google Inc. All rights reserved.
3 | # Use of this source code is governed by a BSD-style license that can be
4 | # found in the LICENSE file.
5 |
6 | set -e
7 | touch "${BUILT_PRODUCTS_DIR}/static_touch"
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/postbuild-multiple-configurations/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 | int main() {}
5 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/postbuild-multiple-configurations/postbuild-touch-file.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # Copyright (c) 2012 Google Inc. All rights reserved.
4 | # Use of this source code is governed by a BSD-style license that can be
5 | # found in the LICENSE file.
6 |
7 | touch "${BUILT_PRODUCTS_DIR}/postbuild-file"
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/postbuild-static-library/empty.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 | void f() {}
5 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/postbuild-static-library/postbuild-touch-file.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # Copyright (c) 2012 Google Inc. All rights reserved.
4 | # Use of this source code is governed by a BSD-style license that can be
5 | # found in the LICENSE file.
6 |
7 | touch "${BUILT_PRODUCTS_DIR}/$1"
8 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/postbuilds/copy.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | cp "$@"
4 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/postbuilds/file.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2011 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 | void f() {}
5 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/postbuilds/file_g.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 | void g() {}
5 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/postbuilds/file_h.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 | void h() {}
5 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/postbuilds/subdirectory/copied_file.txt:
--------------------------------------------------------------------------------
1 | This file should be copied to the products dir.
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/prefixheader/file.c:
--------------------------------------------------------------------------------
1 | MyInt f() { return 0; }
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/prefixheader/file.cc:
--------------------------------------------------------------------------------
1 | MyInt f() { return 0; }
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/prefixheader/file.m:
--------------------------------------------------------------------------------
1 | MyInt f() { return 0; }
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/prefixheader/file.mm:
--------------------------------------------------------------------------------
1 | MyInt f() { return 0; }
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/prefixheader/header.h:
--------------------------------------------------------------------------------
1 | typedef int MyInt;
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/rebuild/delay-touch.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -e
4 |
5 | sleep 1 # mtime resolution is 1 sec on unix.
6 | touch "$1"
7 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/rebuild/empty.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/munificent/magpie/f5138e3d316ec1a664b5eadba1bcc8573d3faca3/dep/gyp/test/mac/rebuild/empty.c
--------------------------------------------------------------------------------
/dep/gyp/test/mac/rebuild/main.c:
--------------------------------------------------------------------------------
1 | int main() {}
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/rpath/file.c:
--------------------------------------------------------------------------------
1 | void f() {}
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/rpath/main.c:
--------------------------------------------------------------------------------
1 | int main() {}
2 |
--------------------------------------------------------------------------------
/dep/gyp/test/mac/sdkroot/file.cc:
--------------------------------------------------------------------------------
1 | #include