| OLD | NEW |
| 1 #!/usr/bin/bash -x | 1 #!/usr/bin/bash -x |
| 2 # | 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 |
| 3 # In order to build KJS or V8 versions of Chrome, we need to create | 7 # In order to build KJS or V8 versions of Chrome, we need to create |
| 4 # a custom configuration header. This script creates it. | 8 # a custom configuration header. This script creates it. |
| 5 # | 9 # |
| 6 # Input | 10 # Input |
| 7 # create-config.sh <OutputDir> <kjs|v8> | 11 # create-config.sh <OutputDir> <kjs|v8> |
| 8 # | 12 # |
| 9 # Output | 13 # Output |
| 10 # in the $Output\WebCore directory, creates a config.h | 14 # in the $Output\WebCore directory, creates a config.h |
| 11 # custom to the desired build setup | 15 # custom to the desired build setup |
| 12 # | 16 # |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 else | 94 else |
| 91 $CP $WebCoreSrcDir/bridge/npapi.h $JSHeadersDir | 95 $CP $WebCoreSrcDir/bridge/npapi.h $JSHeadersDir |
| 92 $CP $WebCoreSrcDir/bridge/npruntime.h $JSHeadersDir | 96 $CP $WebCoreSrcDir/bridge/npruntime.h $JSHeadersDir |
| 93 $CP ../../../webkit/port/bindings/v8/npruntime_priv.h $JSHeadersDir | 97 $CP ../../../webkit/port/bindings/v8/npruntime_priv.h $JSHeadersDir |
| 94 fi | 98 fi |
| 95 | 99 |
| 96 if [[ "${OS}" = "Windows_NT" ]] | 100 if [[ "${OS}" = "Windows_NT" ]] |
| 97 then | 101 then |
| 98 $CP $JavaScriptCoreSrcDir/os-win32/stdint.h $JSHeadersDir | 102 $CP $JavaScriptCoreSrcDir/os-win32/stdint.h $JSHeadersDir |
| 99 fi | 103 fi |
| OLD | NEW |