mirror of
https://github.com/electron/electron.git
synced 2026-01-28 08:48:14 -05:00
Only do component build in Debug mode
This commit is contained in:
@@ -93,6 +93,11 @@
|
||||
'common/main_delegate_mac.mm',
|
||||
],
|
||||
'conditions': [
|
||||
['libchromiumcontent_component_build', {
|
||||
'link_settings': {
|
||||
'libraries': [ '<@(libchromiumcontent_shared_libraries)' ]
|
||||
},
|
||||
}],
|
||||
['OS=="linux"', {
|
||||
'cflags_cc': [
|
||||
'-Wno-deprecated-register',
|
||||
@@ -103,7 +108,6 @@
|
||||
'<!@(pkg-config --libs-only-L --libs-only-other gtk+-2.0 libnotify dbus-1 x11 xrandr xext gconf-2.0)',
|
||||
],
|
||||
'libraries': [
|
||||
'<@(libchromiumcontent_shared_libraries)',
|
||||
'<(libchromiumcontent_library_dir)/libchromiumviews.a',
|
||||
'-lpthread',
|
||||
'<!@(pkg-config --libs-only-l gtk+-2.0 libnotify dbus-1 x11 xrandr xext gconf-2.0)',
|
||||
@@ -113,7 +117,6 @@
|
||||
['OS=="mac"', {
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'<@(libchromiumcontent_shared_libraries)',
|
||||
'$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
|
||||
],
|
||||
},
|
||||
@@ -121,7 +124,6 @@
|
||||
['OS=="win"', {
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'<@(libchromiumcontent_shared_libraries)',
|
||||
'<(libchromiumcontent_library_dir)/base_static.lib',
|
||||
'<(libchromiumcontent_library_dir)/chromiumcontent.dll.lib',
|
||||
'<(libchromiumcontent_library_dir)/chromiumviews.lib',
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
'mac_deployment_target%': '10.8',
|
||||
'mac_sdkroot%': 'macosx',
|
||||
|
||||
# Component build.
|
||||
'libchromiumcontent_component_build%': 1,
|
||||
|
||||
# Build with clang under Linux.
|
||||
'linux_clang%': 1,
|
||||
|
||||
@@ -110,6 +113,9 @@
|
||||
'inherit_from': [
|
||||
'Common_Base',
|
||||
],
|
||||
'variables': {
|
||||
'libchromiumcontent_component_build': 1,
|
||||
},
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
'Optimization': '<(win_debug_Optimization)',
|
||||
@@ -153,6 +159,9 @@
|
||||
'inherit_from': [
|
||||
'Common_Base',
|
||||
],
|
||||
'variables': {
|
||||
'libchromiumcontent_component_build': 0,
|
||||
},
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
'Optimization': '<(win_release_Optimization)',
|
||||
|
||||
2
brightray/vendor/libchromiumcontent
vendored
2
brightray/vendor/libchromiumcontent
vendored
Submodule brightray/vendor/libchromiumcontent updated: e19d6d778f...6b2945f386
Reference in New Issue
Block a user