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

Unified Diff: webkit/build/KJSBindings/build-generated-files.sh

Issue 402054: Revert "Delete a bunch of deprecated and/or empty directores in src/webkit/." (Closed)
Patch Set: Created 11 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/build/JavaScriptCore/sched.h ('k') | webkit/build/KJSBindings/prebuild.bat » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/build/KJSBindings/build-generated-files.sh
diff --git a/webkit/build/KJSBindings/build-generated-files.sh b/webkit/build/KJSBindings/build-generated-files.sh
new file mode 100755
index 0000000000000000000000000000000000000000..6095885aa22576ac6dc7e89d6811961d4333dab8
--- /dev/null
+++ b/webkit/build/KJSBindings/build-generated-files.sh
@@ -0,0 +1,44 @@
+#!/usr/bin/bash
+
+# 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.
+
+XSRCROOT="$1"
+# Do a little dance to get the path into 8.3 form to make it safe for gnu make
+# http://bugzilla.opendarwin.org/show_bug.cgi?id=8173
+XSRCROOT=`cygpath -m -s "$XSRCROOT"`
+XSRCROOT=`cygpath -u "$XSRCROOT"`
+export XSRCROOT
+export SOURCE_ROOT=$XSRCROOT
+
+PORTROOT="$2"
+PORTROOT=`cygpath -m -s "$PORTROOT"`
+PORTROOT=`cygpath -u "$PORTROOT"`
+export PORTROOT=`realpath "$PORTROOT"`
+
+XDSTROOT="$3"
+export XDSTROOT
+# Do a little dance to get the path into 8.3 form to make it safe for gnu make
+# http://bugzilla.opendarwin.org/show_bug.cgi?id=8173
+XDSTROOT=`cygpath -m -s "$XDSTROOT"`
+XDSTROOT=`cygpath -u "$XDSTROOT"`
+export XDSTROOT
+
+export BUILT_PRODUCTS_DIR="$4"
+export CREATE_HASH_TABLE="$XSRCROOT/../JavaScriptCore/create_hash_table"
+
+DerivedSourcesDir="${BUILT_PRODUCTS_DIR}\DerivedSources"
+echo "$DerivedSourcesDir"
+mkdir -p "$DerivedSourcesDir"
+cd "$DerivedSourcesDir"
+
+export WebCore="${XSRCROOT}"
+export ENCODINGS_FILE="${WebCore}/platform/win/win-encodings.txt";
+export ENCODINGS_PREFIX=""
+
+# To see what FEATURE_DEFINES Apple uses, look at:
+# webkit/third_party/WebCore/Configurations/WebCore.xcconfig
+export FEATURE_DEFINES="ENABLE_SVG ENABLE_SVG_ANIMATION ENABLE_SVG_AS_IMAGE ENABLE_SVG_FONTS ENABLE_SVG_FOREIGN_OBJECT ENABLE_SVG_USE ENABLE_XPATH ENABLE_XSLT"
+
+make -f "$WebCore/DerivedSources.make" -j 2 || exit 1
« no previous file with comments | « webkit/build/JavaScriptCore/sched.h ('k') | webkit/build/KJSBindings/prebuild.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698