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

Unified Diff: webkit/webkit.xcodeproj/jsbindings_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, 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 side-by-side diff with in-line comments
Download patch
Index: webkit/webkit.xcodeproj/jsbindings_prebuild.sh
===================================================================
--- webkit/webkit.xcodeproj/jsbindings_prebuild.sh (revision 10690)
+++ webkit/webkit.xcodeproj/jsbindings_prebuild.sh (working copy)
@@ -1,56 +0,0 @@
-#!/bin/sh
-
-# Copyright (c) 2008 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.
-
-set -ex
-GENERATED_DIR="${CONFIGURATION_TEMP_DIR}/generated"
-mkdir -p "${GENERATED_DIR}"
-
-export PORTROOT="${SRCROOT}/port"
-
-# export CREATE_HASH_TABLE="${SRCROOT}/../third_party/WebKit/JavaScriptCore/create_hash_table"
-# TODO(mmentovai): The above is normally correct, but create_hash_table wound
-# up without the svn:executable property set in our repository. Until that's
-# fixed - it should be fixed at the next WebKit merge following 2008-09-08 -
-# make a copy of create_hash_table, set the executable bit on it, and use that.
-# See also the TODO in webcore_prebuild.sh.
-export CREATE_HASH_TABLE="${GENERATED_DIR}/create_hash_table"
-cp -p "${SRCROOT}/../third_party/WebKit/JavaScriptCore/create_hash_table" \
- "${CREATE_HASH_TABLE}"
-chmod a+x "${CREATE_HASH_TABLE}"
-
-export DerivedSourcesDir="${GENERATED_DIR}/DerivedSources/v8/bindings"
-mkdir -p "${DerivedSourcesDir}"
-cd "${DerivedSourcesDir}"
-
-ln -sfh "${SRCROOT}/../third_party/WebKit/WebCore" WebCore
-export WebCore="${DerivedSourcesDir}/WebCore"
-export SOURCE_ROOT="${WebCore}"
-export ENCODINGS_FILE="${WebCore}/platform/text/mac/mac-encodings.txt";
-export ENCODINGS_PREFIX="kTextEncoding"
-
-export PUBLICDOMINTERFACES="${PORTROOT}/PublicDOMInterfaces.h"
-make -f "${PORTROOT}/DerivedSources.make" -j $(/usr/sbin/sysctl -n hw.ncpu)
-
-# Allow framework-style #imports of <WebCore/whatever.h> to find the right
-# headers
-cd ..
-mkdir -p ForwardingHeaders/Derived \
- ForwardingHeaders/dom \
- ForwardingHeaders/editing \
- ForwardingHeaders/ObjC \
- ForwardingHeaders/page_mac \
- ForwardingHeaders/svg
-ln -sfh "${DerivedSourcesDir}" ForwardingHeaders/Derived/WebCore
-ln -sfh "${SRCROOT}/../third_party/WebKit/WebCore/dom" \
- ForwardingHeaders/dom/WebCore
-ln -sfh "${SRCROOT}/../third_party/WebKit/WebCore/editing" \
- ForwardingHeaders/editing/WebCore
-ln -sfh "${SRCROOT}/../third_party/WebKit/WebCore/bindings/objc" \
- ForwardingHeaders/ObjC/WebCore
-ln -sfh "${SRCROOT}/../third_party/WebKit/WebCore/page/mac" \
- ForwardingHeaders/page_mac/WebCore
-ln -sfh "${SRCROOT}/../third_party/WebKit/WebCore/svg" \
- ForwardingHeaders/svg/WebCore

Powered by Google App Engine
This is Rietveld 408576698