Navigation Menu

Skip to content

Commit

Permalink
Move skinny confiugration to configure
Browse files Browse the repository at this point in the history
  • Loading branch information
pquerna committed Jun 7, 2012
1 parent c169f7c commit 52b7010
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 0 additions & 3 deletions common.gypi
@@ -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++.
Expand Down
6 changes: 6 additions & 0 deletions configure
Expand Up @@ -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()


Expand Down Expand Up @@ -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']
Expand Down

0 comments on commit 52b7010

Please sign in to comment.