Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: chrome/chrome.xcodeproj/generate_headers.sh

Issue 24011: chrome_resources take 2 (Closed)
Patch Set: rebase Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/chrome.sln ('k') | chrome/chrome.xcodeproj/project.pbxproj » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 set -ex 7 set -ex
8 GENERATED_DIR="${CONFIGURATION_TEMP_DIR}/generated" 8 GENERATED_DIR="${CONFIGURATION_TEMP_DIR}/generated"
9 GRIT_DIR="${GENERATED_DIR}/grit" 9 GRIT_DIR="${GENERATED_DIR}/grit"
10 mkdir -p "${GRIT_DIR}" 10 mkdir -p "${GRIT_DIR}"
(...skipping 20 matching lines...) Expand all
31 31
32 # compare browser_resources.grd to browser_resources.h. If the .h is 32 # compare browser_resources.grd to browser_resources.h. If the .h is
33 # older or doesn't exist, rebuild it 33 # older or doesn't exist, rebuild it
34 if [ "${GRIT_DIR}/browser_resources.h" -ot \ 34 if [ "${GRIT_DIR}/browser_resources.h" -ot \
35 "${PROJECT_DIR}/browser/browser_resources.grd" ] 35 "${PROJECT_DIR}/browser/browser_resources.grd" ]
36 then 36 then
37 python "${PROJECT_DIR}/../tools/grit/grit.py" \ 37 python "${PROJECT_DIR}/../tools/grit/grit.py" \
38 -i "${PROJECT_DIR}/browser/browser_resources.grd" build \ 38 -i "${PROJECT_DIR}/browser/browser_resources.grd" build \
39 -o "${GRIT_DIR}" 39 -o "${GRIT_DIR}"
40 fi 40 fi
41
42 # compare theme_resources.grd to theme_resources.h. If the .h is
43 # older or doesn't exist, rebuild it
44 if [ "${GRIT_DIR}/grit/theme_resources.h" -ot \
45 "${PROJECT_DIR}/app/theme/theme_resources.grd" ]
46 then
47 python "${PROJECT_DIR}/../tools/grit/grit.py" \
48 -i "${PROJECT_DIR}/app/theme/theme_resources.grd" build \
49 -o "${GRIT_DIR}"
50 fi
OLDNEW
« no previous file with comments | « chrome/chrome.sln ('k') | chrome/chrome.xcodeproj/project.pbxproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698