Adding a secondary mini_installer target for Chrome Frame. This will remove the need to have different build scripts to build either Chrome or Chrome Frame.

Also remove the now-unneeded gyp variables 'chrome_frame_define' and 'google_update_appid'.

BUG=Both Chrome and Chrome Frame products should be buildable from a single solution file - we shouldn't need to run GYP with different settings to get a CF solution.
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@36546 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
robertshield@chromium.org 2010-01-19 21:15:06 +00:00
Родитель a648021f73
Коммит 3a3e61acaf
2 изменённых файлов: 3 добавлений и 14 удалений

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

@ -48,11 +48,6 @@
'../v8/tools/gyp/v8.gyp:*',
],
}],
['chrome_frame_define==1', {
'dependencies': [
'../chrome_frame/chrome_frame.gyp:*',
],
}],
['OS=="mac" or OS=="linux" or OS=="freebsd"', {
'dependencies': [
'../third_party/yasm/yasm.gyp:*#host',
@ -95,6 +90,7 @@
'dependencies': [
'../breakpad/breakpad.gyp:*',
'../chrome/app/locales/locales.gyp:*',
'../chrome_frame/chrome_frame.gyp:*',
'../courgette/courgette.gyp:*',
'../gears/gears.gyp:*',
'../gpu/demos/demos.gyp:*',
@ -212,6 +208,7 @@
# mini_installer_tests depends on mini_installer. This should be
# defined in installer.gyp.
'../chrome/installer/mini_installer.gyp:mini_installer',
'../chrome/installer/mini_installer.gyp:chrome_frame_mini_installer',
'../courgette/courgette.gyp:courgette_unittests',
'../ipc/ipc.gyp:ipc_tests',
'../media/media.gyp:media_unittests',
@ -241,6 +238,7 @@
# mini_installer_tests depends on mini_installer. This should be
# defined in installer.gyp.
'../chrome/installer/mini_installer.gyp:mini_installer',
'../chrome/installer/mini_installer.gyp:chrome_frame_mini_installer',
'../courgette/courgette.gyp:courgette_unittests',
'../chrome/chrome.gyp:chrome',
'../chrome_frame/chrome_frame.gyp:npchrome_frame',

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

@ -149,12 +149,6 @@
# to compile as shared by default
'library%': 'static_library',
# The Google Update appid.
'google_update_appid%': '{8A69D345-D564-463c-AFF1-A69D9E530F96}',
# Whether to add the experimental build define.
'chrome_frame_define%': 0,
# Whether usage of OpenMAX is enabled.
'enable_openmax%': 0,
@ -321,9 +315,6 @@
}, { # else: branding!="Chrome"
'defines': ['CHROMIUM_BUILD'],
}],
['chrome_frame_define', {
'defines': ['CHROME_FRAME_BUILD'],
}],
['toolkit_views==1 or chromeos==1', {
'defines': ['TOOLKIT_VIEWS=1'],
}],