summaryrefslogtreecommitdiffstats
path: root/chrome/app/theme/theme_dll.scons
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/app/theme/theme_dll.scons')
-rw-r--r--chrome/app/theme/theme_dll.scons19
1 files changed, 19 insertions, 0 deletions
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)