2013-03-13 19:12:05 +00:00
|
|
|
{
|
|
|
|
'includes': [
|
|
|
|
'brightray.gypi',
|
|
|
|
],
|
2013-07-02 07:12:34 +00:00
|
|
|
'variables': {
|
2014-11-28 16:45:25 +00:00
|
|
|
'brightray_source_root': '<!(["python", "tools/brightray_source_root.py"])',
|
2013-07-02 07:12:34 +00:00
|
|
|
},
|
2013-03-13 19:12:05 +00:00
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'brightray',
|
|
|
|
'type': 'static_library',
|
|
|
|
'include_dirs': [
|
2013-03-13 20:45:00 +00:00
|
|
|
'.',
|
2013-03-13 19:12:05 +00:00
|
|
|
'<(libchromiumcontent_include_dir)',
|
2014-06-26 20:10:35 +00:00
|
|
|
'<(libchromiumcontent_include_dir)/skia/config',
|
2014-06-10 01:10:26 +00:00
|
|
|
'<(libchromiumcontent_include_dir)/third_party/skia/include/core',
|
2014-06-26 20:11:02 +00:00
|
|
|
'<(libchromiumcontent_include_dir)/third_party/WebKit',
|
2014-07-07 16:28:10 +00:00
|
|
|
'<(libchromiumcontent_library_dir)/gen',
|
2013-03-13 19:12:05 +00:00
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
2014-07-07 16:28:10 +00:00
|
|
|
'.',
|
2013-05-22 16:14:29 +00:00
|
|
|
'..',
|
2013-03-13 19:12:05 +00:00
|
|
|
'<(libchromiumcontent_include_dir)',
|
2014-06-26 20:10:35 +00:00
|
|
|
'<(libchromiumcontent_include_dir)/skia/config',
|
2013-07-05 03:58:49 +00:00
|
|
|
'<(libchromiumcontent_include_dir)/third_party/skia/include/core',
|
2013-10-07 21:02:35 +00:00
|
|
|
'<(libchromiumcontent_include_dir)/third_party/icu/source/common',
|
2014-06-26 20:11:02 +00:00
|
|
|
'<(libchromiumcontent_include_dir)/third_party/WebKit',
|
2014-07-07 16:28:10 +00:00
|
|
|
'<(libchromiumcontent_library_dir)/gen',
|
2013-03-13 19:12:05 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
'sources': [
|
2015-01-19 00:59:57 +00:00
|
|
|
'browser/brightray_paths.h',
|
2013-03-13 19:12:05 +00:00
|
|
|
'browser/browser_client.cc',
|
|
|
|
'browser/browser_client.h',
|
|
|
|
'browser/browser_context.cc',
|
|
|
|
'browser/browser_context.h',
|
|
|
|
'browser/browser_main_parts.cc',
|
|
|
|
'browser/browser_main_parts.h',
|
|
|
|
'browser/browser_main_parts_mac.mm',
|
2013-03-14 17:48:17 +00:00
|
|
|
'browser/default_web_contents_delegate.cc',
|
|
|
|
'browser/default_web_contents_delegate.h',
|
|
|
|
'browser/default_web_contents_delegate_mac.mm',
|
2014-07-02 08:21:47 +00:00
|
|
|
'browser/devtools_contents_resizing_strategy.cc',
|
|
|
|
'browser/devtools_contents_resizing_strategy.h',
|
2014-07-30 03:40:17 +00:00
|
|
|
'browser/devtools_delegate.cc',
|
|
|
|
'browser/devtools_delegate.h',
|
2013-12-02 17:38:24 +00:00
|
|
|
'browser/devtools_embedder_message_dispatcher.cc',
|
|
|
|
'browser/devtools_embedder_message_dispatcher.h',
|
2013-05-14 06:45:34 +00:00
|
|
|
'browser/devtools_ui.cc',
|
|
|
|
'browser/devtools_ui.h',
|
2013-03-14 13:03:50 +00:00
|
|
|
'browser/inspectable_web_contents.cc',
|
|
|
|
'browser/inspectable_web_contents.h',
|
2014-09-09 07:28:48 +00:00
|
|
|
'browser/inspectable_web_contents_delegate.cc',
|
2014-03-04 08:12:02 +00:00
|
|
|
'browser/inspectable_web_contents_delegate.h',
|
2013-03-14 13:03:50 +00:00
|
|
|
'browser/inspectable_web_contents_impl.cc',
|
|
|
|
'browser/inspectable_web_contents_impl.h',
|
|
|
|
'browser/inspectable_web_contents_view.h',
|
|
|
|
'browser/inspectable_web_contents_view_mac.h',
|
|
|
|
'browser/inspectable_web_contents_view_mac.mm',
|
2013-03-13 19:12:05 +00:00
|
|
|
'browser/mac/bry_application.h',
|
|
|
|
'browser/mac/bry_application.mm',
|
2013-03-14 13:03:50 +00:00
|
|
|
'browser/mac/bry_inspectable_web_contents_view.h',
|
|
|
|
'browser/mac/bry_inspectable_web_contents_view.mm',
|
2013-07-31 18:08:45 +00:00
|
|
|
'browser/media/media_capture_devices_dispatcher.cc',
|
|
|
|
'browser/media/media_capture_devices_dispatcher.h',
|
|
|
|
'browser/media/media_stream_devices_controller.cc',
|
|
|
|
'browser/media/media_stream_devices_controller.h',
|
2013-03-13 19:12:05 +00:00
|
|
|
'browser/network_delegate.cc',
|
|
|
|
'browser/network_delegate.h',
|
2013-03-28 21:49:29 +00:00
|
|
|
'browser/notification_presenter.h',
|
2013-03-28 22:03:58 +00:00
|
|
|
'browser/notification_presenter_mac.h',
|
2013-03-28 21:49:29 +00:00
|
|
|
'browser/notification_presenter_mac.mm',
|
2013-12-18 21:02:49 +00:00
|
|
|
'browser/linux/notification_presenter_linux.h',
|
|
|
|
'browser/linux/notification_presenter_linux.cc',
|
2013-03-13 19:12:05 +00:00
|
|
|
'browser/url_request_context_getter.cc',
|
|
|
|
'browser/url_request_context_getter.h',
|
2014-07-04 08:25:59 +00:00
|
|
|
'browser/views/inspectable_web_contents_view_views.h',
|
|
|
|
'browser/views/inspectable_web_contents_view_views.cc',
|
2014-07-03 08:44:58 +00:00
|
|
|
'browser/views/views_delegate.cc',
|
|
|
|
'browser/views/views_delegate.h',
|
2013-05-14 06:45:34 +00:00
|
|
|
'browser/web_ui_controller_factory.cc',
|
|
|
|
'browser/web_ui_controller_factory.h',
|
2013-04-08 16:41:30 +00:00
|
|
|
'common/application_info.h',
|
|
|
|
'common/application_info_mac.mm',
|
2013-05-21 15:40:49 +00:00
|
|
|
'common/application_info_win.cc',
|
2013-03-14 13:03:50 +00:00
|
|
|
'common/content_client.cc',
|
|
|
|
'common/content_client.h',
|
2013-03-28 21:16:35 +00:00
|
|
|
'common/mac/foundation_util.h',
|
2013-03-14 17:05:01 +00:00
|
|
|
'common/mac/main_application_bundle.h',
|
|
|
|
'common/mac/main_application_bundle.mm',
|
2013-03-13 19:12:05 +00:00
|
|
|
'common/main_delegate.cc',
|
|
|
|
'common/main_delegate.h',
|
|
|
|
'common/main_delegate_mac.mm',
|
|
|
|
],
|
|
|
|
'conditions': [
|
2013-11-07 20:02:35 +00:00
|
|
|
['OS=="linux"', {
|
2013-12-31 11:09:24 +00:00
|
|
|
'cflags_cc': [
|
2014-10-08 01:34:01 +00:00
|
|
|
'-Wno-deprecated-register',
|
2013-11-07 20:02:35 +00:00
|
|
|
'-fno-rtti',
|
|
|
|
],
|
|
|
|
'link_settings': {
|
2014-11-24 11:27:11 +00:00
|
|
|
'ldflags': [
|
|
|
|
'<!@(pkg-config --libs-only-L --libs-only-other gtk+-2.0 libnotify dbus-1 x11 xrandr xext gconf-2.0)',
|
|
|
|
],
|
2013-11-07 20:02:35 +00:00
|
|
|
'libraries': [
|
|
|
|
'<(brightray_source_root)/<(libchromiumcontent_library_dir)/libchromiumcontent.so',
|
2014-07-03 08:30:26 +00:00
|
|
|
'<(brightray_source_root)/<(libchromiumcontent_library_dir)/libchromiumviews.a',
|
2013-11-26 16:51:27 +00:00
|
|
|
'-lpthread',
|
2014-11-24 11:27:11 +00:00
|
|
|
'<!@(pkg-config --libs-only-l gtk+-2.0 libnotify dbus-1 x11 xrandr xext gconf-2.0)',
|
2013-11-07 20:02:35 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
2013-03-13 19:12:05 +00:00
|
|
|
['OS=="mac"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
2013-07-02 07:12:34 +00:00
|
|
|
'<(brightray_source_root)/<(libchromiumcontent_library_dir)/libchromiumcontent.dylib',
|
2013-03-13 19:12:05 +00:00
|
|
|
'$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
2013-05-22 17:46:55 +00:00
|
|
|
['OS=="win"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
2013-07-02 07:12:34 +00:00
|
|
|
'<(brightray_source_root)/<(libchromiumcontent_library_dir)/base_static.lib',
|
|
|
|
'<(brightray_source_root)/<(libchromiumcontent_library_dir)/chromiumcontent.dll.lib',
|
2014-07-03 08:30:26 +00:00
|
|
|
'<(brightray_source_root)/<(libchromiumcontent_library_dir)/chromiumviews.lib',
|
2013-07-02 07:12:34 +00:00
|
|
|
'<(brightray_source_root)/<(libchromiumcontent_library_dir)/sandbox_static.lib',
|
2013-05-22 17:46:55 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
2013-03-13 19:12:05 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|