summaryrefslogtreecommitdiffstats
path: root/chrome/app/theme/theme_dll.scons
blob: d99f9eedc1d5d5dd3f7ebb43c6fd5983fabbf4d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)