Permalink
Browse files

Move skinny confiugration to configure

  • Loading branch information...
pquerna committed Jun 7, 2012
1 parent c169f7c commit 52b7010c01233d6a8eb53bf2f734c6db7b73661c
Showing with 6 additions and 3 deletions.
  1. +0 −3 common.gypi
  2. +6 −0 configure
View
@@ -1,7 +1,4 @@
{
- 'variables': {
- 'luvit_skinny': 'false',
- },
'make_global_settings': [
# chrome normally links using the C++ compiler, but all of our code
# is pure C, and we don't want to link in libstdc++.
View
@@ -38,6 +38,11 @@ parser.add_option("--without-ssl",
dest="without_ssl",
help="Disable SSL Support")
+parser.add_option("--without-fat",
+ action="store_true",
+ dest="skinny",
+ help="Compile in Skinny mode, removing less commonly used features, but reducing footprint.")
+
(options, args) = parser.parse_args()
@@ -100,6 +105,7 @@ def configure_luvit(o):
o['variables']['host_arch'] = host_arch()
o['variables']['target_arch'] = options.arch if options.arch else target_arch()
o['variables']['without_ssl'] = 'true' if options.without_ssl else 'false'
+ o['variables']['luvit_skinny'] = 'true' if options.skinny else 'false'
t_os = gyp.common.GetFlavor({})
t_arch = o['variables']['target_arch']

0 comments on commit 52b7010

Please sign in to comment.