Skip to content

Commit

Permalink
reland 'Set chrome_multiple_dll=1 by default on Windows in static_lib…
Browse files Browse the repository at this point in the history
…rary'

Previously: https://codereview.chromium.org/22909017/

TBR=jam@chromium.org
BUG=237249

Review URL: https://chromiumcodereview.appspot.com/23320004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218663 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
scottmg@chromium.org committed Aug 21, 2013
1 parent 6504c08 commit 45b7c52
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions build/common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -1446,6 +1446,9 @@
}],
['component=="shared_library"', {
'win_use_allocator_shim%': 0,
},{
# Turn on multiple dll by default on Windows when in static_library.
'chrome_multiple_dll%': 1,
}],
['component=="shared_library" and "<(GENERATOR)"=="ninja"', {
# Only enabled by default for ninja because it's buggy in VS.
Expand Down
4 changes: 2 additions & 2 deletions chrome/app/chrome_main_delegate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -744,9 +744,9 @@ int ChromeMainDelegate::RunProcess(
const content::MainFunctionParams& main_function_params) {
// ANDROID doesn't support "service", so no ServiceProcessMain, and arraysize
// doesn't support empty array. So we comment out the block for Android.
#if !defined(OS_ANDROID) && !defined(CHROME_MULTIPLE_DLL_CHILD)
#if !defined(OS_ANDROID)
static const MainFunction kMainFunctions[] = {
#if defined(ENABLE_FULL_PRINTING)
#if defined(ENABLE_FULL_PRINTING) && !defined(CHROME_MULTIPLE_DLL_CHILD)
{ switches::kServiceProcess, ServiceProcessMain },
#endif

Expand Down
1 change: 1 addition & 0 deletions chrome/chrome_android.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
'chrome_android_auxiliary',
'chromium_testshell_jni_headers',
'chrome.gyp:browser_ui',
'../content/content.gyp:content_app_browser',
],
'sources': [
# This file must always be included in the shared_library step to ensure
Expand Down
2 changes: 1 addition & 1 deletion chrome_frame/chrome_frame.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@
'../chrome/chrome.gyp:renderer',
'../chrome/chrome.gyp:test_support_common',
'../chrome/chrome_resources.gyp:chrome_resources',
'../content/content.gyp:content_app_browser',
'../content/content.gyp:content_app_both',
'../content/content.gyp:content_gpu',
'../content/content.gyp:test_support_content',
'../net/net.gyp:net',
Expand Down
1 change: 0 additions & 1 deletion content/content.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
'target_name': 'content',
'type': 'none',
'dependencies': [
'content_app_browser',
'content_browser',
'content_child',
'content_common',
Expand Down

0 comments on commit 45b7c52

Please sign in to comment.