fyn 1.1.45 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/README.md +2 -2
  2. package/dist/fyn.js +135700 -89172
  3. package/dist/node_modules_f___cacache_20_0_1_cacache_node_modules_f___p-map_7_0_3_p-map_index_js +314 -0
  4. package/dist/node_modules_f___p-map_7_0_3_p-map_index_js +314 -0
  5. package/package.json +11 -11
  6. package/addon.gypi +0 -185
  7. package/bin/node-gyp.js +0 -3
  8. package/dist/Find-VisualStudio.cs +0 -250
  9. package/gyp/AUTHORS +0 -16
  10. package/gyp/LICENSE +0 -28
  11. package/gyp/data/win/large-pdb-shim.cc +0 -12
  12. package/gyp/gyp +0 -8
  13. package/gyp/gyp.bat +0 -5
  14. package/gyp/gyp_main.py +0 -45
  15. package/gyp/pylib/gyp/MSVSNew.py +0 -367
  16. package/gyp/pylib/gyp/MSVSProject.py +0 -206
  17. package/gyp/pylib/gyp/MSVSSettings.py +0 -1270
  18. package/gyp/pylib/gyp/MSVSSettings_test.py +0 -1547
  19. package/gyp/pylib/gyp/MSVSToolFile.py +0 -59
  20. package/gyp/pylib/gyp/MSVSUserFile.py +0 -153
  21. package/gyp/pylib/gyp/MSVSUtil.py +0 -271
  22. package/gyp/pylib/gyp/MSVSVersion.py +0 -574
  23. package/gyp/pylib/gyp/__init__.py +0 -666
  24. package/gyp/pylib/gyp/common.py +0 -654
  25. package/gyp/pylib/gyp/common_test.py +0 -78
  26. package/gyp/pylib/gyp/easy_xml.py +0 -165
  27. package/gyp/pylib/gyp/easy_xml_test.py +0 -109
  28. package/gyp/pylib/gyp/flock_tool.py +0 -55
  29. package/gyp/pylib/gyp/generator/__init__.py +0 -0
  30. package/gyp/pylib/gyp/generator/analyzer.py +0 -808
  31. package/gyp/pylib/gyp/generator/android.py +0 -1173
  32. package/gyp/pylib/gyp/generator/cmake.py +0 -1321
  33. package/gyp/pylib/gyp/generator/compile_commands_json.py +0 -120
  34. package/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -103
  35. package/gyp/pylib/gyp/generator/eclipse.py +0 -464
  36. package/gyp/pylib/gyp/generator/gypd.py +0 -89
  37. package/gyp/pylib/gyp/generator/gypsh.py +0 -58
  38. package/gyp/pylib/gyp/generator/make.py +0 -2518
  39. package/gyp/pylib/gyp/generator/msvs.py +0 -3978
  40. package/gyp/pylib/gyp/generator/msvs_test.py +0 -44
  41. package/gyp/pylib/gyp/generator/ninja.py +0 -2936
  42. package/gyp/pylib/gyp/generator/ninja_test.py +0 -55
  43. package/gyp/pylib/gyp/generator/xcode.py +0 -1394
  44. package/gyp/pylib/gyp/generator/xcode_test.py +0 -25
  45. package/gyp/pylib/gyp/input.py +0 -3137
  46. package/gyp/pylib/gyp/input_test.py +0 -98
  47. package/gyp/pylib/gyp/mac_tool.py +0 -771
  48. package/gyp/pylib/gyp/msvs_emulation.py +0 -1271
  49. package/gyp/pylib/gyp/ninja_syntax.py +0 -174
  50. package/gyp/pylib/gyp/simple_copy.py +0 -61
  51. package/gyp/pylib/gyp/win_tool.py +0 -374
  52. package/gyp/pylib/gyp/xcode_emulation.py +0 -1939
  53. package/gyp/pylib/gyp/xcode_ninja.py +0 -302
  54. package/gyp/pylib/gyp/xcodeproj_file.py +0 -3197
  55. package/gyp/pylib/gyp/xml_fix.py +0 -65
  56. package/gyp/requirements_dev.txt +0 -2
  57. package/gyp/setup.py +0 -42
  58. package/gyp/test_gyp.py +0 -260
  59. package/gyp/tools/README +0 -15
  60. package/gyp/tools/Xcode/README +0 -5
  61. package/gyp/tools/Xcode/Specifications/gyp.pbfilespec +0 -27
  62. package/gyp/tools/Xcode/Specifications/gyp.xclangspec +0 -226
  63. package/gyp/tools/emacs/README +0 -12
  64. package/gyp/tools/emacs/gyp-tests.el +0 -63
  65. package/gyp/tools/emacs/gyp.el +0 -275
  66. package/gyp/tools/emacs/run-unit-tests.sh +0 -7
  67. package/gyp/tools/emacs/testdata/media.gyp +0 -1105
  68. package/gyp/tools/emacs/testdata/media.gyp.fontified +0 -1107
  69. package/gyp/tools/graphviz.py +0 -102
  70. package/gyp/tools/pretty_gyp.py +0 -156
  71. package/gyp/tools/pretty_sln.py +0 -181
  72. package/gyp/tools/pretty_vcproj.py +0 -339
  73. package/node-gyp-bin/node-gyp +0 -6
  74. package/node-gyp-bin/node-gyp.cmd +0 -5
  75. package/src/win_delay_load_hook.cc +0 -39
@@ -1,55 +0,0 @@
1
- #!/usr/bin/env python3
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
- """ Unit tests for the ninja.py file. """
8
-
9
- import sys
10
- import unittest
11
-
12
- import gyp.generator.ninja as ninja
13
-
14
-
15
- class TestPrefixesAndSuffixes(unittest.TestCase):
16
- def test_BinaryNamesWindows(self):
17
- # These cannot run on non-Windows as they require a VS installation to
18
- # correctly handle variable expansion.
19
- if sys.platform.startswith("win"):
20
- writer = ninja.NinjaWriter(
21
- "foo", "wee", ".", ".", "build.ninja", ".", "build.ninja", "win"
22
- )
23
- spec = {"target_name": "wee"}
24
- self.assertTrue(
25
- writer.ComputeOutputFileName(spec, "executable").endswith(".exe")
26
- )
27
- self.assertTrue(
28
- writer.ComputeOutputFileName(spec, "shared_library").endswith(".dll")
29
- )
30
- self.assertTrue(
31
- writer.ComputeOutputFileName(spec, "static_library").endswith(".lib")
32
- )
33
-
34
- def test_BinaryNamesLinux(self):
35
- writer = ninja.NinjaWriter(
36
- "foo", "wee", ".", ".", "build.ninja", ".", "build.ninja", "linux"
37
- )
38
- spec = {"target_name": "wee"}
39
- self.assertTrue("." not in writer.ComputeOutputFileName(spec, "executable"))
40
- self.assertTrue(
41
- writer.ComputeOutputFileName(spec, "shared_library").startswith("lib")
42
- )
43
- self.assertTrue(
44
- writer.ComputeOutputFileName(spec, "static_library").startswith("lib")
45
- )
46
- self.assertTrue(
47
- writer.ComputeOutputFileName(spec, "shared_library").endswith(".so")
48
- )
49
- self.assertTrue(
50
- writer.ComputeOutputFileName(spec, "static_library").endswith(".a")
51
- )
52
-
53
-
54
- if __name__ == "__main__":
55
- unittest.main()