Allow the official target to be used for non-official builds.

Make sure we include PDF only when it is available.  (It is not available
on the normal non-official builds.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@70698 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
nsylvain@chromium.org 2011-01-07 01:08:28 +00:00
Родитель 8c2ee8ee68
Коммит 02d661738e
1 изменённых файлов: 9 добавлений и 3 удалений

12
all.gyp
Просмотреть файл

@ -391,7 +391,7 @@
},
], # targets
'conditions': [
['(branding=="Chrome" and buildtype=="Official")', {
['branding=="Chrome"', {
'targets': [
{
'target_name': 'chrome_official_builder',
@ -409,13 +409,19 @@
'../chrome_frame/chrome_frame.gyp:chrome_frame_unittests',
'../chrome_frame/chrome_frame.gyp:npchrome_frame',
'../courgette/courgette.gyp:courgette',
'../pdf/pdf.gyp:pdf',
'../third_party/adobe/flash/flash_player.gyp:flash_player',
'../webkit/webkit.gyp:test_shell',
],
'conditions': [
['internal_pdf', {
'dependencies': [
'../pdf/pdf.gyp:pdf',
],
}], # internal_pdf
]
},
], # targets
}], # (branding=="Chrome" and buildtype=="Official")
}], # branding=="Chrome"
], # conditions
}], # OS="win"
['chromeos==1', {