summaryrefslogtreecommitdiffstats
path: root/chrome/app/chrome_strings.scons
blob: 580565f2678f375b2da0dce648717b27e88002b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 os

Import('env')

env = env.Clone()

grd_files = [
    '$CHROME_SRC_DIR/chrome/app/generated_resources.grd',
    '$CHROME_SRC_DIR/chrome/app/chromium_strings.grd',
    '$CHROME_SRC_DIR/chrome/app/google_chrome_strings.grd',
]

for grd_file in grd_files:
  # The fake target gets replaced with real targets when the GRIT Builder
  # runs.
  generated = env.GRIT(
      '$TARGET_ROOT/grit_derived_sources/fake_' + os.path.basename(grd_file),
      grd_file)