From eaf7672dac27275000a407c89178b4b2b7e66835 Mon Sep 17 00:00:00 2001 From: "mmoss@chromium.org" Date: Thu, 30 Jul 2009 17:42:35 +0000 Subject: Add Linux package building target. Also rearrange installer targets with better grouping for easier reading. Review URL: http://codereview.chromium.org/159641 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22063 0039d316-1c4b-4281-b951-d872f2087c98 --- build/all.gyp | 7 + chrome/installer/installer.gyp | 286 ++++++++++++++++++++++++----------------- 2 files changed, 172 insertions(+), 121 deletions(-) diff --git a/build/all.gyp b/build/all.gyp index b98b2f3..8de4152 100644 --- a/build/all.gyp +++ b/build/all.gyp @@ -56,6 +56,13 @@ '../tools/xdisplaycheck/xdisplaycheck.gyp:*', '../courgette/courgette.gyp:*', ], + 'conditions': [ + ['branding=="Chrome"', { + 'dependencies': [ + '../chrome/installer/installer.gyp:linux_packages', + ], + }], + ], }], ['OS=="win"', { 'dependencies': [ diff --git a/chrome/installer/installer.gyp b/chrome/installer/installer.gyp index b4ce99b..5004e60 100644 --- a/chrome/installer/installer.gyp +++ b/chrome/installer/installer.gyp @@ -8,120 +8,11 @@ 'includes': [ '../../build/common.gypi', ], - 'targets': [ - { - 'target_name': 'installer_util', - 'conditions': [ - ['OS=="linux"', { - 'type': 'none', - # Add these files to the build output so the build archives will be - # "hermetic" for packaging. This is only for branding="Chrome" since - # we only create packages for official builds. - 'conditions': [ - ['branding=="Chrome"', { - 'variables': { - 'lib32_dir': '