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

Side by Side Diff: webkit/webkit.xcodeproj/glue_prebuild.sh

Issue 28305: GYP it, GYP it good (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Created 11 years, 9 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
OLDNEW
(Empty)
1 #!/bin/sh
2
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
5 # found in the LICENSE file.
6
7 set -ex
8 GENERATED_DIR="${CONFIGURATION_TEMP_DIR}/generated"
9 GRIT_DIR="${GENERATED_DIR}/grit"
10 mkdir -p "${GRIT_DIR}"
11
12 # compare webkit_strings.grd to webkit_strings.h. If the .h is
13 # older or doesn't exist, rebuild it.
14 if [ "${GRIT_DIR}/grit/webkit_strings.h" -ot \
15 "${PROJECT_DIR}/glue/webkit_strings.grd" ]
16 then
17 python "${PROJECT_DIR}/../tools/grit/grit.py" \
18 -i "${PROJECT_DIR}/glue/webkit_strings.grd" build \
19 -o "${GRIT_DIR}"
20 fi
21
22 if [ "${GRIT_DIR}/grit/webkit_resources.h" -ot \
23 "${PROJECT_DIR}/glue/webkit_resources.grd" ]
24 then
25 python "${PROJECT_DIR}/../tools/grit/grit.py" \
26 -i "${PROJECT_DIR}/glue/webkit_resources.grd" build \
27 -o "${GRIT_DIR}"
28 fi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698