From ebee6770f6478f1248330661908f2d15b1476ede Mon Sep 17 00:00:00 2001 From: "dhollowa@chromium.org" Date: Thu, 3 Nov 2011 19:27:33 +0000 Subject: Introduces chromium_resources.gyp to factor out Chrome resource generation 1. Factors out Chrome/Chromium resource generation into a separate chrome_resources.gyp file. 2. Eliminates repetition between Mac and other platforms. 3. Breaks long "repack" actions out into separate files for greater readability. 4. Eliminates circular dependencies in the Aura shell, the Views components, and the compositor when utilizing Chrome resources. BUG=none TEST=try bots run gyps and build correctly. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107967 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108466 Review URL: http://codereview.chromium.org/8425002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108517 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/chrome_repack_locales.gypi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 chrome/chrome_repack_locales.gypi (limited to 'chrome/chrome_repack_locales.gypi') diff --git a/chrome/chrome_repack_locales.gypi b/chrome/chrome_repack_locales.gypi new file mode 100644 index 0000000..f14c17c --- /dev/null +++ b/chrome/chrome_repack_locales.gypi @@ -0,0 +1,30 @@ +# Copyright (c) 2011 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. +{ + 'action_name': 'repack_locales', + 'variables': { + 'conditions': [ + ['branding=="Chrome"', { + 'branding_flag': ['-b', 'google_chrome',], + }, { # else: branding!="Chrome" + 'branding_flag': ['-b', 'chromium',], + }], + ], + }, + 'inputs': [ + 'tools/build/repack_locales.py', + '