},
'target_defaults': {
'mac_framework_dirs': [
- '<(atom_source_root)/frameworks',
+ '<(atom_source_root)/external_binaries',
],
'includes': [
# Rules for excluding e.g. foo_win.cc from the build on non-Windows.
'files': [
'<(PRODUCT_DIR)/<(product_name) Helper.app',
'<(PRODUCT_DIR)/<(framework_name).framework',
- 'frameworks/Squirrel.framework',
- 'frameworks/ReactiveCocoa.framework',
- 'frameworks/Mantle.framework',
+ 'external_binaries/Squirrel.framework',
+ 'external_binaries/ReactiveCocoa.framework',
+ 'external_binaries/Mantle.framework',
],
},
{
'<(libchromiumcontent_library_dir)/libEGL.dll',
'<(libchromiumcontent_library_dir)/libGLESv2.dll',
'<(libchromiumcontent_resources_dir)/content_shell.pak',
- 'frameworks/d3dcompiler_43.dll',
- 'frameworks/xinput1_3.dll',
+ 'external_binaries/d3dcompiler_43.dll',
+ 'external_binaries/xinput1_3.dll',
],
},
{
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
- 'frameworks/Squirrel.framework',
- 'frameworks/ReactiveCocoa.framework',
- 'frameworks/Mantle.framework',
+ 'external_binaries/Squirrel.framework',
+ 'external_binaries/ReactiveCocoa.framework',
+ 'external_binaries/Mantle.framework',
],
},
'mac_bundle': 1,
rm_rf(os.path.join(SOURCE_ROOT, 'out'))
rm_rf(os.path.join(SOURCE_ROOT, 'node_modules'))
rm_rf(os.path.join(SOURCE_ROOT, 'frameworks'))
+ rm_rf(os.path.join(SOURCE_ROOT, 'external_binaries'))
rm_rf(os.path.join(SOURCE_ROOT, 'vendor', 'apm', 'node_modules'))
rm_rf(os.path.join(SOURCE_ROOT, 'vendor', 'brightray', 'vendor', 'download',
'libchromiumcontent'))
def main():
os.chdir(SOURCE_ROOT)
try:
- os.makedirs('frameworks')
+ os.makedirs('external_binaries')
except OSError as e:
if e.errno != errno.EEXIST:
raise
def download_and_unzip(framework):
zip_path = download_framework(framework)
if zip_path:
- extract_zip(zip_path, 'frameworks')
+ extract_zip(zip_path, 'external_binaries')
def download_framework(framework):
def main():
os.chdir(SOURCE_ROOT)
- update_frameworks()
+ update_external_binaries()
update_gyp()
-def update_frameworks():
- uf = os.path.join('script', 'update-frameworks.py')
+def update_external_binaries():
+ uf = os.path.join('script', 'update-external-binaries.py')
subprocess.check_call([sys.executable, uf])