Allow Chromium Linux to be built with Breakpad. Enable Linux CHROME_HEADLESS support. (Try 2)

TEST=none
BUG=19663

Original Review URL: http://codereview.chromium.org/173095

Review URL: http://codereview.chromium.org/173397

git-svn-id: http://src.chromium.org/svn/trunk/src/build@24378 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
thestig@chromium.org 2009-08-26 00:14:27 +00:00
Родитель 4d1f633723
Коммит 6032048b09
1 изменённых файлов: 20 добавлений и 8 удалений

Просмотреть файл

@ -31,6 +31,10 @@
# on 'buildtype' (i.e. we don't care about saving symbols for non-Official
# builds).
'buildtype%': 'Dev',
# We do want to build Chromium with Breakpad support in certain
# situations. I.e. for Chrome bot.
'linux_chromium_breakpad%': 0,
},
# Define branding and buildtype on the basis of their settings within the
@ -114,6 +118,15 @@
'linux_sandbox_chrome_path%': '/opt/google/chrome/chrome',
'conditions': [
['OS=="linux"', {
'conditions': [
['branding=="Chrome" or linux_chromium_breakpad==1', {
'linux_breakpad%': 1,
}, {
'linux_breakpad%': 0,
}],
],
}], # OS=="linux"
['OS=="mac"', {
'conditions': [
# mac_product_name is set to the name of the .app bundle as it should
@ -166,11 +179,6 @@
'conditions': [
['branding=="Chrome"', {
'defines': ['GOOGLE_CHROME_BUILD'],
'conditions': [
['OS=="linux"', {
'cflags': [ '-gstabs' ],
}],
],
}, { # else: branding!="Chrome"
'defines': ['CHROMIUM_BUILD'],
}],
@ -539,6 +547,10 @@
'-fno-strict-aliasing',
],
}],
['linux_breakpad==1', {
'cflags': [ '-gstabs' ],
'defines': ['USE_LINUX_BREAKPAD'],
}],
],
},
}],