Set openssl_fips in config.gypi

This commit is contained in:
Cheng Zhao 2015-07-03 20:56:49 +08:00
parent 16acd669a7
commit 26525d6b0f

View file

@ -174,7 +174,7 @@ def create_chrome_version_h():
def touch_config_gypi(): def touch_config_gypi():
config_gypi = os.path.join(SOURCE_ROOT, 'vendor', 'node', 'config.gypi') config_gypi = os.path.join(SOURCE_ROOT, 'vendor', 'node', 'config.gypi')
with open(config_gypi, 'w+') as f: with open(config_gypi, 'w+') as f:
content = '\n{}' content = "{\n 'variables': {\n 'openssl_fips': ''\n }\n}"
if f.read() != content: if f.read() != content:
f.write(content) f.write(content)