From 353a7839dcc80e0b5df8321d1b78c955385d93ad Mon Sep 17 00:00:00 2001 From: "tc@google.com" Date: Tue, 17 Feb 2009 22:05:58 +0000 Subject: Create chrome_resources.scons, chrome_strings.scons and theme_dll.scons which mirror the vcproj files used by Windows. Add the linux specific code to generate .pak files that we use for resources on linux. This doesn't include the necessary changes to build the theme default.dll on windows, but the windows scons build is already really broken so punting for now. Review URL: http://codereview.chromium.org/21371 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9906 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/app/theme/theme_dll.scons | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 chrome/app/theme/theme_dll.scons (limited to 'chrome/app/theme/theme_dll.scons') diff --git a/chrome/app/theme/theme_dll.scons b/chrome/app/theme/theme_dll.scons new file mode 100644 index 0000000..d99f9ee --- /dev/null +++ b/chrome/app/theme/theme_dll.scons @@ -0,0 +1,19 @@ +# Copyright (c) 2009 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. + +Import('env') + +env = env.Clone() + +# The fake target gets replaced with real targets when the GRIT Builder runs. +generated = env.GRIT( + '$TARGET_ROOT/grit_derived_sources/fake_theme_resources.grd', + '$CHROME_SRC_DIR/chrome/app/theme/theme_resources.grd') + +if env.Bit('linux'): + theme_default_pak = env.Repack('$TARGET_ROOT/themes/default.pak', + ['$TARGET_ROOT/grit_derived_sources/theme_resources.pak'] + ) + i = env.Install('$DESTINATION_ROOT/themes/', theme_default_pak) + env.Requires('$DESTINATION_ROOT/chrome', i) -- cgit v1.1