2013-04-12 05:46:58 +04:00
|
|
|
{
|
|
|
|
'variables': {
|
2014-04-15 07:15:46 +04:00
|
|
|
'includes': [
|
|
|
|
'vendor/native_mate/native_mate_files.gypi',
|
|
|
|
],
|
2013-04-12 05:46:58 +04:00
|
|
|
'project_name': 'atom',
|
|
|
|
'product_name': 'Atom',
|
|
|
|
'app_sources': [
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/app/atom_main.cc',
|
|
|
|
'atom/app/atom_main.h',
|
2013-04-12 05:46:58 +04:00
|
|
|
],
|
2013-05-14 11:50:33 +04:00
|
|
|
'bundle_sources': [
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/resources/mac/atom.icns',
|
2013-05-14 11:50:33 +04:00
|
|
|
],
|
2013-04-14 18:48:35 +04:00
|
|
|
'coffee_sources': [
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/api/lib/app.coffee',
|
|
|
|
'atom/browser/api/lib/atom-delegate.coffee',
|
|
|
|
'atom/browser/api/lib/auto-updater.coffee',
|
|
|
|
'atom/browser/api/lib/browser-window.coffee',
|
2014-07-31 11:08:54 +04:00
|
|
|
'atom/browser/api/lib/content-tracing.coffee',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/api/lib/dialog.coffee',
|
2014-07-31 08:22:29 +04:00
|
|
|
'atom/browser/api/lib/global-shortcut.coffee',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/api/lib/ipc.coffee',
|
|
|
|
'atom/browser/api/lib/menu.coffee',
|
|
|
|
'atom/browser/api/lib/menu-item.coffee',
|
|
|
|
'atom/browser/api/lib/power-monitor.coffee',
|
|
|
|
'atom/browser/api/lib/protocol.coffee',
|
2014-05-30 19:57:54 +04:00
|
|
|
'atom/browser/api/lib/tray.coffee',
|
2014-04-25 12:23:40 +04:00
|
|
|
'atom/browser/api/lib/web-contents.coffee',
|
2014-08-27 12:01:15 +04:00
|
|
|
'atom/browser/lib/chrome-extension.coffee',
|
2014-10-23 13:54:52 +04:00
|
|
|
'atom/browser/lib/guest-view-manager.coffee',
|
2014-10-27 16:56:04 +03:00
|
|
|
'atom/browser/lib/guest-window-manager.coffee',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/lib/init.coffee',
|
|
|
|
'atom/browser/lib/objects-registry.coffee',
|
|
|
|
'atom/browser/lib/rpc-server.coffee',
|
|
|
|
'atom/common/api/lib/callbacks-registry.coffee',
|
|
|
|
'atom/common/api/lib/clipboard.coffee',
|
|
|
|
'atom/common/api/lib/crash-reporter.coffee',
|
|
|
|
'atom/common/api/lib/id-weak-map.coffee',
|
2014-11-12 06:09:59 +03:00
|
|
|
'atom/common/api/lib/original-fs.coffee',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/common/api/lib/screen.coffee',
|
|
|
|
'atom/common/api/lib/shell.coffee',
|
|
|
|
'atom/common/lib/init.coffee',
|
2014-09-24 11:06:36 +04:00
|
|
|
'atom/common/lib/asar.coffee',
|
2014-08-28 08:24:52 +04:00
|
|
|
'atom/renderer/lib/chrome-api.coffee',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/renderer/lib/init.coffee',
|
2014-04-03 16:54:42 +04:00
|
|
|
'atom/renderer/lib/inspector.coffee',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/renderer/lib/override.coffee',
|
2014-12-08 17:08:21 +03:00
|
|
|
'atom/renderer/lib/web-view/guest-view-internal.coffee',
|
|
|
|
'atom/renderer/lib/web-view/web-view.coffee',
|
2014-12-09 03:14:12 +03:00
|
|
|
'atom/renderer/lib/web-view/web-view-attributes.coffee',
|
2014-12-08 19:05:34 +03:00
|
|
|
'atom/renderer/lib/web-view/web-view-constants.coffee',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/renderer/api/lib/ipc.coffee',
|
|
|
|
'atom/renderer/api/lib/remote.coffee',
|
2014-10-24 14:24:12 +04:00
|
|
|
'atom/renderer/api/lib/web-frame.coffee',
|
2013-04-14 18:48:35 +04:00
|
|
|
],
|
2013-04-12 05:46:58 +04:00
|
|
|
'lib_sources': [
|
2014-08-27 16:48:49 +04:00
|
|
|
'atom/app/atom_content_client.cc',
|
|
|
|
'atom/app/atom_content_client.h',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/app/atom_main_delegate.cc',
|
|
|
|
'atom/app/atom_main_delegate.h',
|
2014-12-29 20:35:08 +03:00
|
|
|
'atom/app/atom_main_delegate_mac.mm',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/api/atom_api_app.cc',
|
|
|
|
'atom/browser/api/atom_api_app.h',
|
|
|
|
'atom/browser/api/atom_api_auto_updater.cc',
|
|
|
|
'atom/browser/api/atom_api_auto_updater.h',
|
2014-07-31 11:08:54 +04:00
|
|
|
'atom/browser/api/atom_api_content_tracing.cc',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/api/atom_api_dialog.cc',
|
2014-07-31 08:22:29 +04:00
|
|
|
'atom/browser/api/atom_api_global_shortcut.cc',
|
|
|
|
'atom/browser/api/atom_api_global_shortcut.h',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/api/atom_api_menu.cc',
|
|
|
|
'atom/browser/api/atom_api_menu.h',
|
2014-07-10 08:07:01 +04:00
|
|
|
'atom/browser/api/atom_api_menu_views.cc',
|
|
|
|
'atom/browser/api/atom_api_menu_views.h',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/api/atom_api_menu_mac.h',
|
|
|
|
'atom/browser/api/atom_api_menu_mac.mm',
|
|
|
|
'atom/browser/api/atom_api_power_monitor.cc',
|
|
|
|
'atom/browser/api/atom_api_power_monitor.h',
|
|
|
|
'atom/browser/api/atom_api_protocol.cc',
|
|
|
|
'atom/browser/api/atom_api_protocol.h',
|
2014-05-30 19:57:54 +04:00
|
|
|
'atom/browser/api/atom_api_tray.cc',
|
|
|
|
'atom/browser/api/atom_api_tray.h',
|
2014-04-24 12:45:25 +04:00
|
|
|
'atom/browser/api/atom_api_web_contents.cc',
|
|
|
|
'atom/browser/api/atom_api_web_contents.h',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/api/atom_api_window.cc',
|
|
|
|
'atom/browser/api/atom_api_window.h',
|
2014-04-17 13:12:27 +04:00
|
|
|
'atom/browser/api/event.cc',
|
|
|
|
'atom/browser/api/event.h',
|
|
|
|
'atom/browser/api/event_emitter.cc',
|
|
|
|
'atom/browser/api/event_emitter.h',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/auto_updater.cc',
|
|
|
|
'atom/browser/auto_updater.h',
|
|
|
|
'atom/browser/auto_updater_delegate.h',
|
|
|
|
'atom/browser/auto_updater_linux.cc',
|
|
|
|
'atom/browser/auto_updater_mac.mm',
|
|
|
|
'atom/browser/auto_updater_win.cc',
|
2014-08-13 08:12:43 +04:00
|
|
|
'atom/browser/atom_access_token_store.cc',
|
|
|
|
'atom/browser/atom_access_token_store.h',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/atom_browser_client.cc',
|
|
|
|
'atom/browser/atom_browser_client.h',
|
|
|
|
'atom/browser/atom_browser_context.cc',
|
|
|
|
'atom/browser/atom_browser_context.h',
|
|
|
|
'atom/browser/atom_browser_main_parts.cc',
|
|
|
|
'atom/browser/atom_browser_main_parts.h',
|
2014-10-21 14:50:50 +04:00
|
|
|
'atom/browser/atom_browser_main_parts_linux.cc',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/atom_browser_main_parts_mac.mm',
|
|
|
|
'atom/browser/atom_javascript_dialog_manager.cc',
|
|
|
|
'atom/browser/atom_javascript_dialog_manager.h',
|
2014-10-08 07:55:14 +04:00
|
|
|
'atom/browser/atom_speech_recognition_manager_delegate.cc',
|
|
|
|
'atom/browser/atom_speech_recognition_manager_delegate.h',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/browser.cc',
|
|
|
|
'atom/browser/browser.h',
|
|
|
|
'atom/browser/browser_linux.cc',
|
|
|
|
'atom/browser/browser_mac.mm',
|
|
|
|
'atom/browser/browser_win.cc',
|
|
|
|
'atom/browser/browser_observer.h',
|
2014-07-28 12:00:15 +04:00
|
|
|
'atom/browser/javascript_environment.cc',
|
|
|
|
'atom/browser/javascript_environment.h',
|
2014-04-15 05:35:26 +04:00
|
|
|
'atom/browser/mac/atom_application.h',
|
|
|
|
'atom/browser/mac/atom_application.mm',
|
|
|
|
'atom/browser/mac/atom_application_delegate.h',
|
|
|
|
'atom/browser/mac/atom_application_delegate.mm',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/native_window.cc',
|
|
|
|
'atom/browser/native_window.h',
|
2014-07-03 21:30:36 +04:00
|
|
|
'atom/browser/native_window_views.cc',
|
|
|
|
'atom/browser/native_window_views.h',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/native_window_mac.h',
|
|
|
|
'atom/browser/native_window_mac.mm',
|
|
|
|
'atom/browser/native_window_observer.h',
|
|
|
|
'atom/browser/net/adapter_request_job.cc',
|
|
|
|
'atom/browser/net/adapter_request_job.h',
|
2014-09-23 15:14:30 +04:00
|
|
|
'atom/browser/net/asar/asar_protocol_handler.cc',
|
|
|
|
'atom/browser/net/asar/asar_protocol_handler.h',
|
|
|
|
'atom/browser/net/asar/url_request_asar_job.cc',
|
|
|
|
'atom/browser/net/asar/url_request_asar_job.h',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/net/atom_url_request_job_factory.cc',
|
|
|
|
'atom/browser/net/atom_url_request_job_factory.h',
|
|
|
|
'atom/browser/net/url_request_string_job.cc',
|
|
|
|
'atom/browser/net/url_request_string_job.h',
|
2014-08-19 19:36:26 +04:00
|
|
|
'atom/browser/node_debugger.cc',
|
|
|
|
'atom/browser/node_debugger.h',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/ui/accelerator_util.cc',
|
|
|
|
'atom/browser/ui/accelerator_util.h',
|
|
|
|
'atom/browser/ui/accelerator_util_mac.mm',
|
2014-07-10 09:06:41 +04:00
|
|
|
'atom/browser/ui/accelerator_util_views.cc',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/ui/cocoa/atom_menu_controller.h',
|
|
|
|
'atom/browser/ui/cocoa/atom_menu_controller.mm',
|
|
|
|
'atom/browser/ui/cocoa/event_processing_window.h',
|
|
|
|
'atom/browser/ui/cocoa/event_processing_window.mm',
|
|
|
|
'atom/browser/ui/file_dialog.h',
|
|
|
|
'atom/browser/ui/file_dialog_gtk.cc',
|
|
|
|
'atom/browser/ui/file_dialog_mac.mm',
|
|
|
|
'atom/browser/ui/file_dialog_win.cc',
|
|
|
|
'atom/browser/ui/message_box.h',
|
|
|
|
'atom/browser/ui/message_box_mac.mm',
|
2014-07-03 21:30:36 +04:00
|
|
|
'atom/browser/ui/message_box_views.cc',
|
2014-05-30 06:31:27 +04:00
|
|
|
'atom/browser/ui/tray_icon.cc',
|
|
|
|
'atom/browser/ui/tray_icon.h',
|
|
|
|
'atom/browser/ui/tray_icon_gtk.cc',
|
2014-07-10 09:06:41 +04:00
|
|
|
'atom/browser/ui/tray_icon_gtk.h',
|
2014-05-30 06:31:27 +04:00
|
|
|
'atom/browser/ui/tray_icon_cocoa.h',
|
|
|
|
'atom/browser/ui/tray_icon_cocoa.mm',
|
2014-06-02 07:08:29 +04:00
|
|
|
'atom/browser/ui/tray_icon_observer.h',
|
2014-05-30 06:31:27 +04:00
|
|
|
'atom/browser/ui/tray_icon_win.cc',
|
2014-07-16 11:33:40 +04:00
|
|
|
'atom/browser/ui/views/frameless_view.cc',
|
|
|
|
'atom/browser/ui/views/frameless_view.h',
|
2014-07-11 04:57:19 +04:00
|
|
|
'atom/browser/ui/views/global_menu_bar_x11.cc',
|
|
|
|
'atom/browser/ui/views/global_menu_bar_x11.h',
|
2014-07-16 18:10:10 +04:00
|
|
|
'atom/browser/ui/views/menu_bar.cc',
|
|
|
|
'atom/browser/ui/views/menu_bar.h',
|
2014-07-17 10:23:28 +04:00
|
|
|
'atom/browser/ui/views/menu_delegate.cc',
|
|
|
|
'atom/browser/ui/views/menu_delegate.h',
|
2014-07-16 18:10:10 +04:00
|
|
|
'atom/browser/ui/views/menu_layout.cc',
|
|
|
|
'atom/browser/ui/views/menu_layout.h',
|
2014-08-18 12:14:28 +04:00
|
|
|
'atom/browser/ui/views/submenu_button.cc',
|
|
|
|
'atom/browser/ui/views/submenu_button.h',
|
2014-07-12 07:36:08 +04:00
|
|
|
'atom/browser/ui/views/win_frame_view.cc',
|
|
|
|
'atom/browser/ui/views/win_frame_view.h',
|
2014-06-03 07:25:09 +04:00
|
|
|
'atom/browser/ui/win/notify_icon_host.cc',
|
|
|
|
'atom/browser/ui/win/notify_icon_host.h',
|
|
|
|
'atom/browser/ui/win/notify_icon.cc',
|
|
|
|
'atom/browser/ui/win/notify_icon.h',
|
2014-11-25 08:05:04 +03:00
|
|
|
'atom/browser/ui/x/window_state_watcher.cc',
|
|
|
|
'atom/browser/ui/x/window_state_watcher.h',
|
2014-08-26 09:37:37 +04:00
|
|
|
'atom/browser/ui/x/x_window_utils.cc',
|
|
|
|
'atom/browser/ui/x/x_window_utils.h',
|
2014-10-22 18:55:13 +04:00
|
|
|
'atom/browser/web_view/web_view_manager.cc',
|
|
|
|
'atom/browser/web_view/web_view_manager.h',
|
2014-10-25 16:52:42 +04:00
|
|
|
'atom/browser/web_view/web_view_renderer_state.cc',
|
|
|
|
'atom/browser/web_view/web_view_renderer_state.h',
|
2014-10-30 19:37:14 +03:00
|
|
|
'atom/browser/web_dialog_helper.cc',
|
|
|
|
'atom/browser/web_dialog_helper.h',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/window_list.cc',
|
|
|
|
'atom/browser/window_list.h',
|
|
|
|
'atom/browser/window_list_observer.h',
|
|
|
|
'atom/common/api/api_messages.h',
|
2014-09-24 07:10:07 +04:00
|
|
|
'atom/common/api/atom_api_asar.cc',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/common/api/atom_api_clipboard.cc',
|
|
|
|
'atom/common/api/atom_api_crash_reporter.cc',
|
|
|
|
'atom/common/api/atom_api_id_weak_map.cc',
|
|
|
|
'atom/common/api/atom_api_id_weak_map.h',
|
|
|
|
'atom/common/api/atom_api_screen.cc',
|
|
|
|
'atom/common/api/atom_api_screen.h',
|
|
|
|
'atom/common/api/atom_api_shell.cc',
|
|
|
|
'atom/common/api/atom_api_v8_util.cc',
|
|
|
|
'atom/common/api/atom_bindings.cc',
|
|
|
|
'atom/common/api/atom_bindings.h',
|
|
|
|
'atom/common/api/object_life_monitor.cc',
|
|
|
|
'atom/common/api/object_life_monitor.h',
|
2014-09-23 15:14:30 +04:00
|
|
|
'atom/common/asar/archive.cc',
|
|
|
|
'atom/common/asar/archive.h',
|
2014-09-25 12:56:50 +04:00
|
|
|
'atom/common/asar/scoped_temporary_file.cc',
|
|
|
|
'atom/common/asar/scoped_temporary_file.h',
|
2014-08-21 12:14:22 +04:00
|
|
|
'atom/common/common_message_generator.cc',
|
|
|
|
'atom/common/common_message_generator.h',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/common/crash_reporter/crash_reporter.cc',
|
|
|
|
'atom/common/crash_reporter/crash_reporter.h',
|
|
|
|
'atom/common/crash_reporter/crash_reporter_linux.cc',
|
|
|
|
'atom/common/crash_reporter/crash_reporter_linux.h',
|
|
|
|
'atom/common/crash_reporter/crash_reporter_mac.h',
|
|
|
|
'atom/common/crash_reporter/crash_reporter_mac.mm',
|
|
|
|
'atom/common/crash_reporter/crash_reporter_win.cc',
|
|
|
|
'atom/common/crash_reporter/crash_reporter_win.h',
|
|
|
|
'atom/common/crash_reporter/linux/crash_dump_handler.cc',
|
|
|
|
'atom/common/crash_reporter/linux/crash_dump_handler.h',
|
|
|
|
'atom/common/crash_reporter/win/crash_service.cc',
|
|
|
|
'atom/common/crash_reporter/win/crash_service.h',
|
|
|
|
'atom/common/crash_reporter/win/crash_service_main.cc',
|
|
|
|
'atom/common/crash_reporter/win/crash_service_main.h',
|
|
|
|
'atom/common/draggable_region.cc',
|
|
|
|
'atom/common/draggable_region.h',
|
2014-10-08 14:27:39 +04:00
|
|
|
'atom/common/google_api_key.h',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/common/linux/application_info.cc',
|
2014-08-04 20:00:39 +04:00
|
|
|
'atom/common/native_mate_converters/accelerator_converter.cc',
|
|
|
|
'atom/common/native_mate_converters/accelerator_converter.h',
|
2014-04-17 09:45:14 +04:00
|
|
|
'atom/common/native_mate_converters/file_path_converter.h',
|
2014-10-24 08:48:52 +04:00
|
|
|
'atom/common/native_mate_converters/gfx_converter.h',
|
2014-04-22 19:07:21 +04:00
|
|
|
'atom/common/native_mate_converters/gurl_converter.h',
|
2014-05-30 19:57:54 +04:00
|
|
|
'atom/common/native_mate_converters/image_converter.cc',
|
|
|
|
'atom/common/native_mate_converters/image_converter.h',
|
2014-04-17 09:45:14 +04:00
|
|
|
'atom/common/native_mate_converters/string16_converter.h',
|
|
|
|
'atom/common/native_mate_converters/v8_value_converter.cc',
|
|
|
|
'atom/common/native_mate_converters/v8_value_converter.h',
|
|
|
|
'atom/common/native_mate_converters/value_converter.cc',
|
|
|
|
'atom/common/native_mate_converters/value_converter.h',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/common/node_bindings.cc',
|
|
|
|
'atom/common/node_bindings.h',
|
|
|
|
'atom/common/node_bindings_linux.cc',
|
|
|
|
'atom/common/node_bindings_linux.h',
|
|
|
|
'atom/common/node_bindings_mac.cc',
|
|
|
|
'atom/common/node_bindings_mac.h',
|
|
|
|
'atom/common/node_bindings_win.cc',
|
|
|
|
'atom/common/node_bindings_win.h',
|
2014-04-17 09:45:14 +04:00
|
|
|
'atom/common/node_includes.h',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/common/options_switches.cc',
|
|
|
|
'atom/common/options_switches.h',
|
|
|
|
'atom/common/platform_util.h',
|
|
|
|
'atom/common/platform_util_linux.cc',
|
|
|
|
'atom/common/platform_util_mac.mm',
|
|
|
|
'atom/common/platform_util_win.cc',
|
|
|
|
'atom/renderer/api/atom_api_renderer_ipc.cc',
|
2014-12-19 00:43:51 +03:00
|
|
|
'atom/renderer/api/atom_api_spell_check_client.cc',
|
|
|
|
'atom/renderer/api/atom_api_spell_check_client.h',
|
2014-10-24 14:24:12 +04:00
|
|
|
'atom/renderer/api/atom_api_web_frame.cc',
|
|
|
|
'atom/renderer/api/atom_api_web_frame.h',
|
2014-12-19 00:43:51 +03:00
|
|
|
'atom/renderer/api/atom_renderer_bindings.cc',
|
|
|
|
'atom/renderer/api/atom_renderer_bindings.h',
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/renderer/atom_render_view_observer.cc',
|
|
|
|
'atom/renderer/atom_render_view_observer.h',
|
|
|
|
'atom/renderer/atom_renderer_client.cc',
|
|
|
|
'atom/renderer/atom_renderer_client.h',
|
2014-08-21 11:38:20 +04:00
|
|
|
'chromium_src/chrome/browser/browser_process.cc',
|
|
|
|
'chromium_src/chrome/browser/browser_process.h',
|
|
|
|
'chromium_src/chrome/browser/chrome_notification_types.h',
|
2014-07-31 08:22:29 +04:00
|
|
|
'chromium_src/chrome/browser/extensions/global_shortcut_listener.cc',
|
|
|
|
'chromium_src/chrome/browser/extensions/global_shortcut_listener.h',
|
|
|
|
'chromium_src/chrome/browser/extensions/global_shortcut_listener_mac.mm',
|
|
|
|
'chromium_src/chrome/browser/extensions/global_shortcut_listener_mac.h',
|
|
|
|
'chromium_src/chrome/browser/extensions/global_shortcut_listener_x11.cc',
|
|
|
|
'chromium_src/chrome/browser/extensions/global_shortcut_listener_x11.h',
|
|
|
|
'chromium_src/chrome/browser/extensions/global_shortcut_listener_win.cc',
|
|
|
|
'chromium_src/chrome/browser/extensions/global_shortcut_listener_win.h',
|
2014-08-21 11:38:20 +04:00
|
|
|
'chromium_src/chrome/browser/printing/print_job.cc',
|
|
|
|
'chromium_src/chrome/browser/printing/print_job.h',
|
|
|
|
'chromium_src/chrome/browser/printing/print_job_manager.cc',
|
|
|
|
'chromium_src/chrome/browser/printing/print_job_manager.h',
|
|
|
|
'chromium_src/chrome/browser/printing/print_job_worker.cc',
|
|
|
|
'chromium_src/chrome/browser/printing/print_job_worker.h',
|
2014-12-07 17:55:40 +03:00
|
|
|
'chromium_src/chrome/browser/printing/print_job_worker_owner.cc',
|
2014-08-21 11:38:20 +04:00
|
|
|
'chromium_src/chrome/browser/printing/print_job_worker_owner.h',
|
|
|
|
'chromium_src/chrome/browser/printing/print_view_manager_base.cc',
|
|
|
|
'chromium_src/chrome/browser/printing/print_view_manager_base.h',
|
|
|
|
'chromium_src/chrome/browser/printing/print_view_manager_basic.cc',
|
|
|
|
'chromium_src/chrome/browser/printing/print_view_manager_basic.h',
|
|
|
|
'chromium_src/chrome/browser/printing/print_view_manager_observer.h',
|
|
|
|
'chromium_src/chrome/browser/printing/printer_query.cc',
|
|
|
|
'chromium_src/chrome/browser/printing/printer_query.h',
|
2014-08-22 11:03:39 +04:00
|
|
|
'chromium_src/chrome/browser/printing/printing_message_filter.cc',
|
|
|
|
'chromium_src/chrome/browser/printing/printing_message_filter.h',
|
2014-10-07 17:18:44 +04:00
|
|
|
'chromium_src/chrome/browser/speech/tts_controller.h',
|
|
|
|
'chromium_src/chrome/browser/speech/tts_controller_impl.cc',
|
|
|
|
'chromium_src/chrome/browser/speech/tts_controller_impl.h',
|
2014-10-08 06:14:12 +04:00
|
|
|
'chromium_src/chrome/browser/speech/tts_linux.cc',
|
2014-10-07 17:18:44 +04:00
|
|
|
'chromium_src/chrome/browser/speech/tts_mac.mm',
|
|
|
|
'chromium_src/chrome/browser/speech/tts_message_filter.cc',
|
|
|
|
'chromium_src/chrome/browser/speech/tts_message_filter.h',
|
|
|
|
'chromium_src/chrome/browser/speech/tts_platform.cc',
|
|
|
|
'chromium_src/chrome/browser/speech/tts_platform.h',
|
|
|
|
'chromium_src/chrome/browser/speech/tts_win.cc',
|
2014-10-31 17:53:15 +03:00
|
|
|
'chromium_src/chrome/browser/ui/browser_dialogs.h',
|
|
|
|
'chromium_src/chrome/browser/ui/cocoa/color_chooser_mac.mm',
|
2014-10-31 18:06:50 +03:00
|
|
|
'chromium_src/chrome/browser/ui/views/color_chooser_aura.cc',
|
|
|
|
'chromium_src/chrome/browser/ui/views/color_chooser_aura.h',
|
2014-07-11 04:57:19 +04:00
|
|
|
'chromium_src/chrome/browser/ui/views/frame/global_menu_bar_registrar_x11.cc',
|
|
|
|
'chromium_src/chrome/browser/ui/views/frame/global_menu_bar_registrar_x11.h',
|
2014-08-21 11:38:20 +04:00
|
|
|
'chromium_src/chrome/common/print_messages.cc',
|
|
|
|
'chromium_src/chrome/common/print_messages.h',
|
2014-10-07 17:18:44 +04:00
|
|
|
'chromium_src/chrome/common/tts_messages.h',
|
|
|
|
'chromium_src/chrome/common/tts_utterance_request.cc',
|
|
|
|
'chromium_src/chrome/common/tts_utterance_request.h',
|
2014-08-21 11:38:20 +04:00
|
|
|
'chromium_src/chrome/renderer/printing/print_web_view_helper.cc',
|
|
|
|
'chromium_src/chrome/renderer/printing/print_web_view_helper_linux.cc',
|
|
|
|
'chromium_src/chrome/renderer/printing/print_web_view_helper_mac.mm',
|
2014-12-11 01:17:07 +03:00
|
|
|
'chromium_src/chrome/renderer/printing/print_web_view_helper_pdf_win.cc',
|
2014-08-21 11:38:20 +04:00
|
|
|
'chromium_src/chrome/renderer/printing/print_web_view_helper.h',
|
2014-12-20 07:42:19 +03:00
|
|
|
'chromium_src/chrome/renderer/spellchecker/spellcheck_worditerator.cc',
|
|
|
|
'chromium_src/chrome/renderer/spellchecker/spellcheck_worditerator.h',
|
2014-10-07 17:18:44 +04:00
|
|
|
'chromium_src/chrome/renderer/tts_dispatcher.cc',
|
|
|
|
'chromium_src/chrome/renderer/tts_dispatcher.h',
|
2014-10-21 14:50:50 +04:00
|
|
|
'chromium_src/library_loaders/libgio_loader.cc',
|
|
|
|
'chromium_src/library_loaders/libgio.h',
|
2014-10-08 06:14:12 +04:00
|
|
|
'chromium_src/library_loaders/libspeechd_loader.cc',
|
2014-10-21 14:50:50 +04:00
|
|
|
'chromium_src/library_loaders/libspeechd.h',
|
2014-04-15 07:15:46 +04:00
|
|
|
'<@(native_mate_files)',
|
2013-04-12 05:46:58 +04:00
|
|
|
],
|
2014-11-01 08:44:28 +03:00
|
|
|
'lib_sources_win': [
|
|
|
|
'chromium_src/chrome/browser/ui/views/color_chooser_dialog.cc',
|
|
|
|
'chromium_src/chrome/browser/ui/views/color_chooser_dialog.h',
|
|
|
|
'chromium_src/chrome/browser/ui/views/color_chooser_win.cc',
|
|
|
|
],
|
2013-04-12 05:46:58 +04:00
|
|
|
'framework_sources': [
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/app/atom_library_main.cc',
|
|
|
|
'atom/app/atom_library_main.h',
|
2013-04-12 05:46:58 +04:00
|
|
|
],
|
2014-05-29 13:13:24 +04:00
|
|
|
'locales': [
|
|
|
|
'am', 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB',
|
|
|
|
'en-US', 'es-419', 'es', 'et', 'fa', 'fi', 'fil', 'fr', 'gu', 'he',
|
|
|
|
'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lt', 'lv',
|
|
|
|
'ml', 'mr', 'ms', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru',
|
|
|
|
'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk',
|
|
|
|
'vi', 'zh-CN', 'zh-TW',
|
|
|
|
],
|
2014-11-26 01:16:17 +03:00
|
|
|
'atom_source_root': '<!(["python", "tools/atom_source_root.py"])',
|
2013-07-06 04:29:08 +04:00
|
|
|
'conditions': [
|
|
|
|
['OS=="win"', {
|
|
|
|
'app_sources': [
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/resources/win/resource.h',
|
|
|
|
'atom/browser/resources/win/atom.ico',
|
|
|
|
'atom/browser/resources/win/atom.rc',
|
2013-07-06 04:29:08 +04:00
|
|
|
'<(libchromiumcontent_src_dir)/content/app/startup_helper_win.cc',
|
|
|
|
],
|
|
|
|
}], # OS=="win"
|
2014-05-29 11:54:45 +04:00
|
|
|
['OS=="mac"', {
|
2014-05-29 13:13:24 +04:00
|
|
|
'apply_locales_cmd': ['python', 'tools/mac/apply_locales.py'],
|
2014-05-29 11:54:45 +04:00
|
|
|
}], # OS=="mac"
|
2013-07-06 04:29:08 +04:00
|
|
|
],
|
2013-04-12 05:46:58 +04:00
|
|
|
},
|
2013-06-01 10:29:35 +04:00
|
|
|
'target_defaults': {
|
2013-06-19 17:31:57 +04:00
|
|
|
'mac_framework_dirs': [
|
2014-05-18 19:35:07 +04:00
|
|
|
'<(atom_source_root)/external_binaries',
|
2013-06-19 17:31:57 +04:00
|
|
|
],
|
2013-07-22 12:05:35 +04:00
|
|
|
'includes': [
|
|
|
|
# Rules for excluding e.g. foo_win.cc from the build on non-Windows.
|
|
|
|
'filename_rules.gypi',
|
|
|
|
],
|
2013-07-23 12:37:00 +04:00
|
|
|
'configurations': {
|
|
|
|
'Debug': {
|
2014-02-25 14:24:07 +04:00
|
|
|
'defines': [ 'DEBUG' ],
|
2014-02-19 15:39:51 +04:00
|
|
|
'cflags': [ '-g', '-O0' ],
|
2013-07-23 12:37:00 +04:00
|
|
|
},
|
|
|
|
},
|
2013-06-01 10:29:35 +04:00
|
|
|
},
|
2013-04-12 05:46:58 +04:00
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': '<(project_name)',
|
|
|
|
'type': 'executable',
|
|
|
|
'dependencies': [
|
2013-04-14 18:48:35 +04:00
|
|
|
'generated_sources',
|
2013-04-12 05:46:58 +04:00
|
|
|
'<(project_name)_lib',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'<@(app_sources)',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['OS=="mac"', {
|
|
|
|
'product_name': '<(product_name)',
|
|
|
|
'mac_bundle': 1,
|
|
|
|
'dependencies!': [
|
|
|
|
'<(project_name)_lib',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'<(project_name)_framework',
|
|
|
|
'<(project_name)_helper',
|
|
|
|
],
|
|
|
|
'xcode_settings': {
|
2014-03-16 04:30:26 +04:00
|
|
|
'INFOPLIST_FILE': 'atom/browser/resources/mac/Info.plist',
|
2013-06-19 17:31:57 +04:00
|
|
|
'LD_RUNPATH_SEARCH_PATHS': [
|
|
|
|
'@executable_path/../Frameworks',
|
|
|
|
],
|
2013-04-12 05:46:58 +04:00
|
|
|
},
|
2013-07-06 04:29:08 +04:00
|
|
|
'mac_bundle_resources': [
|
|
|
|
'<@(bundle_sources)',
|
|
|
|
],
|
2013-04-12 05:46:58 +04:00
|
|
|
'copies': [
|
|
|
|
{
|
|
|
|
'destination': '<(PRODUCT_DIR)/<(product_name).app/Contents/Frameworks',
|
|
|
|
'files': [
|
|
|
|
'<(PRODUCT_DIR)/<(product_name) Helper.app',
|
2014-12-29 20:49:10 +03:00
|
|
|
'<(PRODUCT_DIR)/<(product_name) Framework.framework',
|
2014-05-18 19:35:07 +04:00
|
|
|
'external_binaries/Squirrel.framework',
|
|
|
|
'external_binaries/ReactiveCocoa.framework',
|
|
|
|
'external_binaries/Mantle.framework',
|
2013-04-12 05:46:58 +04:00
|
|
|
],
|
|
|
|
},
|
2013-04-14 19:24:46 +04:00
|
|
|
{
|
2014-03-16 11:19:09 +04:00
|
|
|
'destination': '<(PRODUCT_DIR)/<(product_name).app/Contents/Resources',
|
2013-04-14 19:24:46 +04:00
|
|
|
'files': [
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/default_app',
|
2013-04-14 19:24:46 +04:00
|
|
|
],
|
2013-05-11 17:07:03 +04:00
|
|
|
},
|
2013-04-12 05:46:58 +04:00
|
|
|
],
|
|
|
|
'postbuilds': [
|
|
|
|
{
|
|
|
|
# This postbuid step is responsible for creating the following
|
|
|
|
# helpers:
|
|
|
|
#
|
|
|
|
# <(product_name) EH.app and <(product_name) NP.app are created
|
|
|
|
# from <(product_name).app.
|
|
|
|
#
|
|
|
|
# The EH helper is marked for an executable heap. The NP helper
|
|
|
|
# is marked for no PIE (ASLR).
|
|
|
|
'postbuild_name': 'Make More Helpers',
|
|
|
|
'action': [
|
|
|
|
'vendor/brightray/tools/mac/make_more_helpers.sh',
|
|
|
|
'Frameworks',
|
|
|
|
'<(product_name)',
|
|
|
|
],
|
|
|
|
},
|
2014-05-29 11:54:45 +04:00
|
|
|
# The application doesn't have real localizations, it just has
|
|
|
|
# empty .lproj directories, which is enough to convince Cocoa
|
|
|
|
# atom-shell supports those languages.
|
|
|
|
{
|
|
|
|
'postbuild_name': 'Make Empty Localizations',
|
2014-05-29 13:13:24 +04:00
|
|
|
'variables': {
|
|
|
|
'locale_dirs': [
|
|
|
|
'>!@(<(apply_locales_cmd) -d ZZLOCALE.lproj <(locales))',
|
|
|
|
],
|
|
|
|
},
|
2014-05-29 11:54:45 +04:00
|
|
|
'action': [
|
|
|
|
'tools/mac/make_locale_dirs.sh',
|
2014-05-29 13:13:24 +04:00
|
|
|
'<@(locale_dirs)',
|
2014-05-29 11:54:45 +04:00
|
|
|
],
|
|
|
|
},
|
2013-04-12 05:46:58 +04:00
|
|
|
]
|
2014-05-29 15:08:59 +04:00
|
|
|
}, { # OS=="mac"
|
|
|
|
'dependencies': [
|
|
|
|
'make_locale_paks',
|
|
|
|
],
|
|
|
|
}], # OS!="mac"
|
2013-07-06 04:29:08 +04:00
|
|
|
['OS=="win"', {
|
|
|
|
'copies': [
|
|
|
|
{
|
|
|
|
'destination': '<(PRODUCT_DIR)',
|
|
|
|
'files': [
|
|
|
|
'<(libchromiumcontent_library_dir)/chromiumcontent.dll',
|
2013-08-31 07:13:11 +04:00
|
|
|
'<(libchromiumcontent_library_dir)/ffmpegsumo.dll',
|
2014-05-18 19:11:32 +04:00
|
|
|
'<(libchromiumcontent_library_dir)/libEGL.dll',
|
2013-07-06 04:29:08 +04:00
|
|
|
'<(libchromiumcontent_library_dir)/libGLESv2.dll',
|
2014-06-28 18:33:00 +04:00
|
|
|
'<(libchromiumcontent_resources_dir)/icudtl.dat',
|
2014-12-11 01:17:07 +03:00
|
|
|
'<(libchromiumcontent_resources_dir)/content_resources_200_percent.pak',
|
2013-07-08 05:55:38 +04:00
|
|
|
'<(libchromiumcontent_resources_dir)/content_shell.pak',
|
2014-07-16 11:05:02 +04:00
|
|
|
'<(libchromiumcontent_resources_dir)/ui_resources_200_percent.pak',
|
2014-12-12 06:45:28 +03:00
|
|
|
'external_binaries/d3dcompiler_46.dll',
|
2014-07-31 10:12:01 +04:00
|
|
|
'external_binaries/msvcp120.dll',
|
|
|
|
'external_binaries/msvcr120.dll',
|
|
|
|
'external_binaries/vccorlib120.dll',
|
2014-05-18 19:35:07 +04:00
|
|
|
'external_binaries/xinput1_3.dll',
|
2013-07-06 04:29:08 +04:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2014-03-16 11:19:09 +04:00
|
|
|
'destination': '<(PRODUCT_DIR)/resources',
|
2013-07-06 04:29:08 +04:00
|
|
|
'files': [
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/default_app',
|
2013-07-06 04:29:08 +04:00
|
|
|
]
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}], # OS=="win"
|
2014-02-14 18:39:57 +04:00
|
|
|
['OS=="linux"', {
|
|
|
|
'copies': [
|
|
|
|
{
|
|
|
|
'destination': '<(PRODUCT_DIR)',
|
|
|
|
'files': [
|
|
|
|
'<(libchromiumcontent_library_dir)/libchromiumcontent.so',
|
|
|
|
'<(libchromiumcontent_library_dir)/libffmpegsumo.so',
|
2014-06-28 18:33:00 +04:00
|
|
|
'<(libchromiumcontent_resources_dir)/icudtl.dat',
|
2014-02-14 18:39:57 +04:00
|
|
|
'<(libchromiumcontent_resources_dir)/content_shell.pak',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2014-03-16 11:19:09 +04:00
|
|
|
'destination': '<(PRODUCT_DIR)/resources',
|
2014-02-14 18:39:57 +04:00
|
|
|
'files': [
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/browser/default_app',
|
2014-02-14 18:39:57 +04:00
|
|
|
]
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}], # OS=="linux"
|
2013-04-12 05:46:58 +04:00
|
|
|
],
|
2013-11-15 18:52:08 +04:00
|
|
|
}, # target <(project_name)
|
2013-04-12 05:46:58 +04:00
|
|
|
{
|
|
|
|
'target_name': '<(project_name)_lib',
|
|
|
|
'type': 'static_library',
|
|
|
|
'dependencies': [
|
|
|
|
'vendor/brightray/brightray.gyp:brightray',
|
2013-12-20 10:20:24 +04:00
|
|
|
'vendor/node/node.gyp:node_lib',
|
2013-04-12 05:46:58 +04:00
|
|
|
],
|
2014-08-21 11:38:20 +04:00
|
|
|
'defines': [
|
2014-12-29 20:39:21 +03:00
|
|
|
'PRODUCT_NAME="<(product_name)"',
|
2014-08-21 11:38:20 +04:00
|
|
|
# This is defined in skia/skia_common.gypi.
|
|
|
|
'SK_SUPPORT_LEGACY_GETTOPDEVICE',
|
2014-12-10 03:37:05 +03:00
|
|
|
# Disable warnings for g_settings_list_schemas.
|
|
|
|
'GLIB_DISABLE_DEPRECATION_WARNINGS',
|
2014-08-21 11:38:20 +04:00
|
|
|
],
|
2013-04-12 05:46:58 +04:00
|
|
|
'sources': [
|
|
|
|
'<@(lib_sources)',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
2014-06-29 09:53:24 +04:00
|
|
|
'chromium_src',
|
2014-02-24 05:52:20 +04:00
|
|
|
'vendor/brightray',
|
2014-04-15 07:15:46 +04:00
|
|
|
'vendor/native_mate',
|
2013-12-12 10:07:00 +04:00
|
|
|
# Include directories for uv and node.
|
|
|
|
'vendor/node/src',
|
|
|
|
'vendor/node/deps/http_parser',
|
|
|
|
'vendor/node/deps/uv/include',
|
2013-12-09 19:18:36 +04:00
|
|
|
# The `node.h` is using `#include"v8.h"`.
|
|
|
|
'vendor/brightray/vendor/download/libchromiumcontent/src/v8/include',
|
2013-12-11 11:48:19 +04:00
|
|
|
# The `node.h` is using `#include"ares.h"`.
|
|
|
|
'vendor/node/deps/cares/include',
|
2013-04-12 05:46:58 +04:00
|
|
|
],
|
2013-07-01 18:21:31 +04:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'export_dependent_settings': [
|
|
|
|
'vendor/brightray/brightray.gyp:brightray',
|
|
|
|
],
|
2013-07-09 06:22:38 +04:00
|
|
|
'conditions': [
|
|
|
|
['OS=="win"', {
|
2014-11-01 08:44:28 +03:00
|
|
|
'sources': [
|
|
|
|
'<@(lib_sources_win)',
|
|
|
|
],
|
2013-07-09 06:22:38 +04:00
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-limm32.lib',
|
|
|
|
'-loleacc.lib',
|
2013-08-01 11:39:53 +04:00
|
|
|
'-lComdlg32.lib',
|
2013-11-24 13:35:58 +04:00
|
|
|
'-lWininet.lib',
|
2013-07-09 06:22:38 +04:00
|
|
|
],
|
|
|
|
},
|
2013-11-12 14:07:25 +04:00
|
|
|
'dependencies': [
|
|
|
|
'vendor/breakpad/breakpad.gyp:breakpad_handler',
|
|
|
|
'vendor/breakpad/breakpad.gyp:breakpad_sender',
|
|
|
|
],
|
2014-02-14 19:11:57 +04:00
|
|
|
}], # OS=="win"
|
2013-11-12 14:07:25 +04:00
|
|
|
['OS=="mac"', {
|
|
|
|
'dependencies': [
|
|
|
|
'vendor/breakpad/breakpad.gyp:breakpad',
|
|
|
|
],
|
2014-02-14 19:11:57 +04:00
|
|
|
}], # OS=="mac"
|
|
|
|
['OS=="linux"', {
|
|
|
|
'link_settings': {
|
|
|
|
'ldflags': [
|
2014-02-21 13:22:05 +04:00
|
|
|
# Make binary search for libraries under current directory, so we
|
|
|
|
# don't have to manually set $LD_LIBRARY_PATH:
|
|
|
|
# http://serverfault.com/questions/279068/cant-find-so-in-the-same-directory-as-the-executable
|
2014-02-14 19:11:57 +04:00
|
|
|
'-rpath \$$ORIGIN',
|
2014-02-21 13:22:05 +04:00
|
|
|
# Make native module dynamic loading work.
|
|
|
|
'-rdynamic',
|
2014-02-14 19:11:57 +04:00
|
|
|
],
|
|
|
|
},
|
2014-02-26 16:39:20 +04:00
|
|
|
# Required settings of using breakpad.
|
|
|
|
'include_dirs': [
|
|
|
|
'vendor/breakpad/src',
|
|
|
|
],
|
|
|
|
'cflags': [
|
2014-10-21 08:07:10 +04:00
|
|
|
'<!@(pkg-config --cflags dbus-1)',
|
2014-10-08 06:14:12 +04:00
|
|
|
'-Wno-deprecated-register',
|
2014-02-26 16:39:20 +04:00
|
|
|
'-Wno-empty-body',
|
2014-10-21 07:47:52 +04:00
|
|
|
'-Wno-reserved-user-defined-literal',
|
2014-02-26 16:39:20 +04:00
|
|
|
],
|
2014-02-26 11:20:57 +04:00
|
|
|
'dependencies': [
|
|
|
|
'vendor/breakpad/breakpad.gyp:breakpad_client',
|
|
|
|
],
|
2014-02-14 19:11:57 +04:00
|
|
|
}], # OS=="linux"
|
2013-07-09 06:22:38 +04:00
|
|
|
],
|
2013-11-15 18:52:08 +04:00
|
|
|
}, # target <(product_name)_lib
|
2013-04-14 18:48:35 +04:00
|
|
|
{
|
|
|
|
'target_name': 'generated_sources',
|
|
|
|
'type': 'none',
|
|
|
|
'sources': [
|
|
|
|
'<@(coffee_sources)',
|
|
|
|
],
|
|
|
|
'rules': [
|
|
|
|
{
|
|
|
|
'rule_name': 'coffee',
|
|
|
|
'extension': 'coffee',
|
|
|
|
'inputs': [
|
2013-06-24 12:24:19 +04:00
|
|
|
'script/compile-coffee.py',
|
2013-04-14 18:48:35 +04:00
|
|
|
],
|
2013-07-06 04:29:08 +04:00
|
|
|
'conditions': [
|
|
|
|
['OS=="mac"', {
|
|
|
|
'outputs': [
|
|
|
|
'<(PRODUCT_DIR)/<(product_name).app/Contents/Resources/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'script/compile-coffee.py',
|
|
|
|
'<(RULE_INPUT_PATH)',
|
|
|
|
'<(PRODUCT_DIR)/<(product_name).app/Contents/Resources/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
|
|
|
|
],
|
2013-11-08 15:56:30 +04:00
|
|
|
},{ # OS=="mac"
|
2013-07-06 04:29:08 +04:00
|
|
|
'outputs': [
|
|
|
|
'<(PRODUCT_DIR)/resources/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'script/compile-coffee.py',
|
|
|
|
'<(RULE_INPUT_PATH)',
|
|
|
|
'<(PRODUCT_DIR)/resources/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
|
|
|
|
],
|
2013-11-08 15:56:30 +04:00
|
|
|
}], # OS=="win" or OS=="linux"
|
2013-04-14 18:48:35 +04:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
2013-11-15 18:52:08 +04:00
|
|
|
}, # target generated_sources
|
|
|
|
{
|
|
|
|
'target_name': '<(project_name)_dump_symbols',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
|
|
|
'<(project_name)',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['OS=="mac"', {
|
|
|
|
'dependencies': [
|
|
|
|
'vendor/breakpad/breakpad.gyp:dump_syms',
|
|
|
|
],
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'Dump Symbols',
|
|
|
|
'inputs': [
|
|
|
|
'<(PRODUCT_DIR)/<(product_name).app/Contents/MacOS/<(product_name)',
|
|
|
|
],
|
|
|
|
'outputs': [
|
2013-11-26 17:34:27 +04:00
|
|
|
'<(PRODUCT_DIR)/Atom-Shell.breakpad.syms',
|
2013-11-15 18:52:08 +04:00
|
|
|
],
|
|
|
|
'action': [
|
2013-11-28 16:11:06 +04:00
|
|
|
'python',
|
2014-03-03 05:50:48 +04:00
|
|
|
'tools/posix/generate_breakpad_symbols.py',
|
2013-11-15 18:52:08 +04:00
|
|
|
'--build-dir=<(PRODUCT_DIR)',
|
|
|
|
'--binary=<(PRODUCT_DIR)/<(product_name).app/Contents/MacOS/<(product_name)',
|
2013-11-24 19:17:48 +04:00
|
|
|
'--symbols-dir=<(PRODUCT_DIR)/Atom-Shell.breakpad.syms',
|
2013-11-23 13:07:38 +04:00
|
|
|
'--libchromiumcontent-dir=<(libchromiumcontent_library_dir)',
|
2013-11-15 18:52:08 +04:00
|
|
|
'--clear',
|
|
|
|
'--jobs=16',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}], # OS=="mac"
|
2013-11-26 17:34:27 +04:00
|
|
|
['OS=="win"', {
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'Dump Symbols',
|
|
|
|
'inputs': [
|
|
|
|
'<(PRODUCT_DIR)/<(project_name).exe',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(PRODUCT_DIR)/Atom-Shell.breakpad.syms',
|
|
|
|
],
|
|
|
|
'action': [
|
2013-11-28 16:11:06 +04:00
|
|
|
'python',
|
2013-11-26 17:34:27 +04:00
|
|
|
'tools/win/generate_breakpad_symbols.py',
|
|
|
|
'--symbols-dir=<(PRODUCT_DIR)/Atom-Shell.breakpad.syms',
|
|
|
|
'--jobs=16',
|
|
|
|
'<(PRODUCT_DIR)',
|
|
|
|
'<(libchromiumcontent_library_dir)',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}], # OS=="win"
|
2014-03-03 05:44:16 +04:00
|
|
|
['OS=="linux"', {
|
|
|
|
'dependencies': [
|
|
|
|
'vendor/breakpad/breakpad.gyp:dump_syms',
|
|
|
|
],
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'Dump Symbols',
|
|
|
|
'inputs': [
|
|
|
|
'<(PRODUCT_DIR)/<(project_name)',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(PRODUCT_DIR)/Atom-Shell.breakpad.syms',
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'python',
|
2014-03-03 05:50:48 +04:00
|
|
|
'tools/posix/generate_breakpad_symbols.py',
|
2014-03-03 05:44:16 +04:00
|
|
|
'--build-dir=<(PRODUCT_DIR)',
|
|
|
|
'--binary=<(PRODUCT_DIR)/<(project_name)',
|
|
|
|
'--symbols-dir=<(PRODUCT_DIR)/Atom-Shell.breakpad.syms',
|
|
|
|
'--libchromiumcontent-dir=<(libchromiumcontent_library_dir)',
|
|
|
|
'--clear',
|
|
|
|
'--jobs=16',
|
|
|
|
],
|
|
|
|
},
|
2014-03-03 08:55:04 +04:00
|
|
|
{
|
|
|
|
'action_name': 'Strip Binary',
|
|
|
|
'inputs': [
|
|
|
|
'<(PRODUCT_DIR)/libchromiumcontent.so',
|
|
|
|
'<(PRODUCT_DIR)/libffmpegsumo.so',
|
|
|
|
'<(PRODUCT_DIR)/<(project_name)',
|
2014-03-03 10:17:48 +04:00
|
|
|
# Add the syms folder as input would force this action to run
|
|
|
|
# after the 'Dump Symbols' action. And since it is a folder,
|
|
|
|
# it would be ignored by the 'strip' command.
|
|
|
|
'<(PRODUCT_DIR)/Atom-Shell.breakpad.syms',
|
2014-03-03 08:55:04 +04:00
|
|
|
],
|
|
|
|
'outputs': [
|
2014-03-03 10:17:48 +04:00
|
|
|
# Gyp action requires a output file, add a fake one here.
|
2014-03-03 08:55:04 +04:00
|
|
|
'<(PRODUCT_DIR)/dummy_file',
|
|
|
|
],
|
2014-08-11 15:08:29 +04:00
|
|
|
'action': [
|
|
|
|
'tools/posix/strip.sh',
|
|
|
|
'<@(_inputs)',
|
|
|
|
],
|
2014-03-03 08:55:04 +04:00
|
|
|
},
|
2014-03-03 05:44:16 +04:00
|
|
|
],
|
|
|
|
}], # OS=="linux"
|
2013-11-15 18:52:08 +04:00
|
|
|
],
|
|
|
|
}, # target <(project_name>_dump_symbols
|
2014-09-12 17:48:45 +04:00
|
|
|
{
|
|
|
|
'target_name': 'copy_chromedriver',
|
|
|
|
'type': 'none',
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'Copy ChromeDriver Binary',
|
|
|
|
'variables': {
|
|
|
|
'conditions': [
|
|
|
|
['OS=="win"', {
|
|
|
|
'chromedriver_binary': 'chromedriver.exe',
|
|
|
|
},{
|
|
|
|
'chromedriver_binary': 'chromedriver',
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'inputs': [
|
|
|
|
'<(libchromiumcontent_library_dir)/<(chromedriver_binary)',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(PRODUCT_DIR)/<(chromedriver_binary)',
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'tools/copy_binary.py',
|
|
|
|
'<@(_inputs)',
|
|
|
|
'<@(_outputs)',
|
|
|
|
],
|
|
|
|
}
|
|
|
|
],
|
|
|
|
}, # copy_chromedriver
|
2013-04-12 05:46:58 +04:00
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['OS=="mac"', {
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': '<(project_name)_framework',
|
2014-12-29 20:49:10 +03:00
|
|
|
'product_name': '<(product_name) Framework',
|
2013-04-12 05:46:58 +04:00
|
|
|
'type': 'shared_library',
|
|
|
|
'dependencies': [
|
|
|
|
'<(project_name)_lib',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'<@(framework_sources)',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
'vendor',
|
|
|
|
'<(libchromiumcontent_include_dir)',
|
|
|
|
],
|
2013-07-01 18:21:31 +04:00
|
|
|
'export_dependent_settings': [
|
|
|
|
'<(project_name)_lib',
|
|
|
|
],
|
2013-06-01 10:29:35 +04:00
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
|
2014-07-02 12:38:11 +04:00
|
|
|
'$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
|
2014-05-18 19:35:07 +04:00
|
|
|
'external_binaries/Squirrel.framework',
|
|
|
|
'external_binaries/ReactiveCocoa.framework',
|
|
|
|
'external_binaries/Mantle.framework',
|
2013-06-01 10:29:35 +04:00
|
|
|
],
|
|
|
|
},
|
2013-04-12 05:46:58 +04:00
|
|
|
'mac_bundle': 1,
|
|
|
|
'mac_bundle_resources': [
|
2014-03-16 04:30:26 +04:00
|
|
|
'atom/common/resources/mac/MainMenu.xib',
|
2013-04-12 05:46:58 +04:00
|
|
|
'<(libchromiumcontent_resources_dir)/content_shell.pak',
|
2014-06-30 08:23:11 +04:00
|
|
|
'<(libchromiumcontent_resources_dir)/icudtl.dat',
|
2013-04-12 05:46:58 +04:00
|
|
|
],
|
|
|
|
'xcode_settings': {
|
2014-03-16 04:30:26 +04:00
|
|
|
'INFOPLIST_FILE': 'atom/common/resources/mac/Info.plist',
|
2013-06-19 17:31:57 +04:00
|
|
|
'LIBRARY_SEARCH_PATHS': [
|
|
|
|
'<(libchromiumcontent_library_dir)',
|
|
|
|
],
|
2014-12-29 20:49:10 +03:00
|
|
|
'LD_DYLIB_INSTALL_NAME': '@rpath/<(product_name) Framework.framework/<(product_name) Framework',
|
2013-06-19 17:31:57 +04:00
|
|
|
'LD_RUNPATH_SEARCH_PATHS': [
|
|
|
|
'@loader_path/Libraries',
|
2013-04-12 05:46:58 +04:00
|
|
|
],
|
2013-06-27 15:53:57 +04:00
|
|
|
'OTHER_LDFLAGS': [
|
|
|
|
'-ObjC',
|
|
|
|
],
|
2013-04-12 05:46:58 +04:00
|
|
|
},
|
|
|
|
'copies': [
|
|
|
|
{
|
2014-12-29 20:49:10 +03:00
|
|
|
'destination': '<(PRODUCT_DIR)/<(product_name) Framework.framework/Versions/A/Libraries',
|
2013-04-12 05:46:58 +04:00
|
|
|
'files': [
|
|
|
|
'<(libchromiumcontent_library_dir)/ffmpegsumo.so',
|
|
|
|
'<(libchromiumcontent_library_dir)/libchromiumcontent.dylib',
|
|
|
|
],
|
|
|
|
},
|
2013-11-13 09:55:40 +04:00
|
|
|
{
|
2014-12-29 20:49:10 +03:00
|
|
|
'destination': '<(PRODUCT_DIR)/<(product_name) Framework.framework/Versions/A/Resources',
|
2013-11-13 09:55:40 +04:00
|
|
|
'files': [
|
|
|
|
'<(PRODUCT_DIR)/Inspector',
|
|
|
|
'<(PRODUCT_DIR)/crash_report_sender.app',
|
|
|
|
],
|
|
|
|
},
|
2013-04-12 05:46:58 +04:00
|
|
|
],
|
2013-06-01 10:29:35 +04:00
|
|
|
'postbuilds': [
|
2013-06-26 06:31:32 +04:00
|
|
|
{
|
|
|
|
'postbuild_name': 'Add symlinks for framework subdirectories',
|
|
|
|
'action': [
|
|
|
|
'tools/mac/create-framework-subdir-symlinks.sh',
|
2014-12-29 20:49:10 +03:00
|
|
|
'<(project_name) Framework',
|
2013-06-26 06:31:32 +04:00
|
|
|
'Libraries',
|
|
|
|
'Frameworks',
|
|
|
|
],
|
|
|
|
},
|
2013-06-01 10:29:35 +04:00
|
|
|
],
|
|
|
|
}, # target framework
|
2013-04-12 05:46:58 +04:00
|
|
|
{
|
|
|
|
'target_name': '<(project_name)_helper',
|
|
|
|
'product_name': '<(product_name) Helper',
|
|
|
|
'type': 'executable',
|
|
|
|
'dependencies': [
|
|
|
|
'<(project_name)_framework',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'<@(app_sources)',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
],
|
|
|
|
'mac_bundle': 1,
|
|
|
|
'xcode_settings': {
|
2014-03-16 04:30:26 +04:00
|
|
|
'INFOPLIST_FILE': 'atom/renderer/resources/mac/Info.plist',
|
2013-06-19 17:31:57 +04:00
|
|
|
'LD_RUNPATH_SEARCH_PATHS': [
|
|
|
|
'@executable_path/../../..',
|
|
|
|
],
|
2013-04-12 05:46:58 +04:00
|
|
|
},
|
2013-06-01 10:29:35 +04:00
|
|
|
}, # target helper
|
2013-04-12 05:46:58 +04:00
|
|
|
],
|
2014-05-29 15:08:59 +04:00
|
|
|
}, { # OS=="mac"
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'make_locale_paks',
|
|
|
|
'type': 'none',
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'Make Empty Paks',
|
|
|
|
'inputs': [
|
2014-12-12 06:29:36 +03:00
|
|
|
'tools/make_locale_paks.py',
|
2014-05-29 15:08:59 +04:00
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(PRODUCT_DIR)/locales'
|
|
|
|
],
|
|
|
|
'action': [
|
2014-12-12 06:29:36 +03:00
|
|
|
'python',
|
|
|
|
'tools/make_locale_paks.py',
|
2014-05-29 15:08:59 +04:00
|
|
|
'<(PRODUCT_DIR)',
|
|
|
|
'<@(locales)',
|
|
|
|
],
|
|
|
|
'msvs_cygwin_shell': 0,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}], # OS!="mac"
|
2013-08-31 12:37:01 +04:00
|
|
|
['OS=="win"', {
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'generate_node_lib',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
|
|
|
'<(project_name)',
|
|
|
|
],
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'Create node.lib',
|
|
|
|
'inputs': [
|
2014-10-31 21:33:29 +03:00
|
|
|
'<(PRODUCT_DIR)/<(project_name).lib',
|
2013-08-31 12:37:01 +04:00
|
|
|
'<(libchromiumcontent_library_dir)/chromiumcontent.dll.lib',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(PRODUCT_DIR)/node.lib',
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'lib.exe',
|
|
|
|
'/nologo',
|
|
|
|
# We can't use <(_outputs) here because that escapes the
|
|
|
|
# backslash in the path, which confuses lib.exe.
|
|
|
|
'/OUT:<(PRODUCT_DIR)\\node.lib',
|
|
|
|
'<@(_inputs)',
|
|
|
|
],
|
|
|
|
'msvs_cygwin_shell': 0,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}, # target generate_node_lib
|
|
|
|
],
|
|
|
|
}], # OS==win
|
2013-04-12 05:46:58 +04:00
|
|
|
],
|
|
|
|
}
|