diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-02 00:16:16 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-02 00:16:16 +0000 |
commit | bfa24b961a7095fe532125dcbfc123dbb3988240 (patch) | |
tree | 51d09fcbc1568deac2f2933027aa1dbaa920ce87 /sdch | |
parent | 4c99a9f02c090254bc4ef8bca512428d24e28bd5 (diff) | |
download | chromium_src-bfa24b961a7095fe532125dcbfc123dbb3988240.zip chromium_src-bfa24b961a7095fe532125dcbfc123dbb3988240.tar.gz chromium_src-bfa24b961a7095fe532125dcbfc123dbb3988240.tar.bz2 |
GYP it, GYP it good.
Convert the Mac build to the new GYP-based Xcode build, and remove the old
Xcode projects.
Review URL: http://codereview.chromium.org/28305
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10693 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sdch')
-rw-r--r-- | sdch/sdch.xcodeproj/project.pbxproj | 249 | ||||
-rwxr-xr-x | sdch/sdch.xcodeproj/sdch_prebuild.sh | 59 |
2 files changed, 0 insertions, 308 deletions
diff --git a/sdch/sdch.xcodeproj/project.pbxproj b/sdch/sdch.xcodeproj/project.pbxproj deleted file mode 100644 index 86602e8..0000000 --- a/sdch/sdch.xcodeproj/project.pbxproj +++ /dev/null @@ -1,249 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 45; - objects = { - -/* Begin PBXBuildFile section */ - 7BA361B80E8C374E0023C8B9 /* addrcache.cc in Sources */ = {isa = PBXBuildFile; fileRef = 7BA361AD0E8C374E0023C8B9 /* addrcache.cc */; }; - 7BA361B90E8C374E0023C8B9 /* adler32.c in Sources */ = {isa = PBXBuildFile; fileRef = 7BA361AE0E8C374E0023C8B9 /* adler32.c */; }; - 7BA361BA0E8C374E0023C8B9 /* blockhash.cc in Sources */ = {isa = PBXBuildFile; fileRef = 7BA361AF0E8C374E0023C8B9 /* blockhash.cc */; }; - 7BA361BB0E8C374E0023C8B9 /* codetable.cc in Sources */ = {isa = PBXBuildFile; fileRef = 7BA361B00E8C374E0023C8B9 /* codetable.cc */; }; - 7BA361BC0E8C374E0023C8B9 /* decodetable.cc in Sources */ = {isa = PBXBuildFile; fileRef = 7BA361B10E8C374E0023C8B9 /* decodetable.cc */; }; - 7BA361BD0E8C374E0023C8B9 /* encodetable.cc in Sources */ = {isa = PBXBuildFile; fileRef = 7BA361B20E8C374E0023C8B9 /* encodetable.cc */; }; - 7BA361BE0E8C374E0023C8B9 /* headerparser.cc in Sources */ = {isa = PBXBuildFile; fileRef = 7BA361B30E8C374E0023C8B9 /* headerparser.cc */; }; - 7BA361BF0E8C374E0023C8B9 /* logging.cc in Sources */ = {isa = PBXBuildFile; fileRef = 7BA361B40E8C374E0023C8B9 /* logging.cc */; }; - 7BA361C00E8C374E0023C8B9 /* varint_bigendian.cc in Sources */ = {isa = PBXBuildFile; fileRef = 7BA361B50E8C374E0023C8B9 /* varint_bigendian.cc */; }; - 7BA361C10E8C374E0023C8B9 /* vcdecoder.cc in Sources */ = {isa = PBXBuildFile; fileRef = 7BA361B60E8C374E0023C8B9 /* vcdecoder.cc */; }; - 7BA361C20E8C374E0023C8B9 /* vcdiffengine.cc in Sources */ = {isa = PBXBuildFile; fileRef = 7BA361B70E8C374E0023C8B9 /* vcdiffengine.cc */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 7BA361920E8C36AF0023C8B9 /* common.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = common.xcconfig; sourceTree = "<group>"; }; - 7BA361930E8C36AF0023C8B9 /* debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = debug.xcconfig; sourceTree = "<group>"; }; - 7BA361940E8C36AF0023C8B9 /* executable.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = executable.xcconfig; sourceTree = "<group>"; }; - 7BA361950E8C36AF0023C8B9 /* release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = release.xcconfig; sourceTree = "<group>"; }; - 7BA361960E8C36AF0023C8B9 /* staticlib.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = staticlib.xcconfig; sourceTree = "<group>"; }; - 7BA361A70E8C36E50023C8B9 /* libsdch.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libsdch.a; sourceTree = BUILT_PRODUCTS_DIR; }; - 7BA361AD0E8C374E0023C8B9 /* addrcache.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = addrcache.cc; sourceTree = "<group>"; }; - 7BA361AE0E8C374E0023C8B9 /* adler32.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = adler32.c; sourceTree = "<group>"; }; - 7BA361AF0E8C374E0023C8B9 /* blockhash.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = blockhash.cc; sourceTree = "<group>"; }; - 7BA361B00E8C374E0023C8B9 /* codetable.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = codetable.cc; sourceTree = "<group>"; }; - 7BA361B10E8C374E0023C8B9 /* decodetable.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = decodetable.cc; sourceTree = "<group>"; }; - 7BA361B20E8C374E0023C8B9 /* encodetable.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = encodetable.cc; sourceTree = "<group>"; }; - 7BA361B30E8C374E0023C8B9 /* headerparser.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = headerparser.cc; sourceTree = "<group>"; }; - 7BA361B40E8C374E0023C8B9 /* logging.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = logging.cc; sourceTree = "<group>"; }; - 7BA361B50E8C374E0023C8B9 /* varint_bigendian.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = varint_bigendian.cc; sourceTree = "<group>"; }; - 7BA361B60E8C374E0023C8B9 /* vcdecoder.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = vcdecoder.cc; sourceTree = "<group>"; }; - 7BA361B70E8C374E0023C8B9 /* vcdiffengine.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = vcdiffengine.cc; sourceTree = "<group>"; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 7BA361A50E8C36E50023C8B9 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 7BA361780E8C367B0023C8B9 = { - isa = PBXGroup; - children = ( - 7BA361910E8C36990023C8B9 /* Configuration */, - 7BA361AC0E8C37070023C8B9 /* Source */, - 7BA361A80E8C36E50023C8B9 /* Products */, - ); - sourceTree = "<group>"; - }; - 7BA361910E8C36990023C8B9 /* Configuration */ = { - isa = PBXGroup; - children = ( - 7BA361920E8C36AF0023C8B9 /* common.xcconfig */, - 7BA361930E8C36AF0023C8B9 /* debug.xcconfig */, - 7BA361940E8C36AF0023C8B9 /* executable.xcconfig */, - 7BA361950E8C36AF0023C8B9 /* release.xcconfig */, - 7BA361960E8C36AF0023C8B9 /* staticlib.xcconfig */, - ); - name = Configuration; - path = ../build; - sourceTree = "<group>"; - }; - 7BA361A80E8C36E50023C8B9 /* Products */ = { - isa = PBXGroup; - children = ( - 7BA361A70E8C36E50023C8B9 /* libsdch.a */, - ); - name = Products; - sourceTree = "<group>"; - }; - 7BA361AC0E8C37070023C8B9 /* Source */ = { - isa = PBXGroup; - children = ( - 7BA361AD0E8C374E0023C8B9 /* addrcache.cc */, - 7BA361AE0E8C374E0023C8B9 /* adler32.c */, - 7BA361AF0E8C374E0023C8B9 /* blockhash.cc */, - 7BA361B00E8C374E0023C8B9 /* codetable.cc */, - 7BA361B10E8C374E0023C8B9 /* decodetable.cc */, - 7BA361B20E8C374E0023C8B9 /* encodetable.cc */, - 7BA361B30E8C374E0023C8B9 /* headerparser.cc */, - 7BA361B40E8C374E0023C8B9 /* logging.cc */, - 7BA361B50E8C374E0023C8B9 /* varint_bigendian.cc */, - 7BA361B60E8C374E0023C8B9 /* vcdecoder.cc */, - 7BA361B70E8C374E0023C8B9 /* vcdiffengine.cc */, - ); - name = Source; - path = "open-vcdiff/src"; - sourceTree = "<group>"; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 7BA361A60E8C36E50023C8B9 /* sdch */ = { - isa = PBXNativeTarget; - buildConfigurationList = 7BA361AB0E8C36E60023C8B9 /* Build configuration list for PBXNativeTarget "sdch" */; - buildPhases = ( - 7BA3624A0E8C3ADF0023C8B9 /* Pre-Build */, - 7BA361A40E8C36E50023C8B9 /* Sources */, - 7BA361A50E8C36E50023C8B9 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = sdch; - productName = sdch; - productReference = 7BA361A70E8C36E50023C8B9 /* libsdch.a */; - productType = "com.apple.product-type.library.static"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 7BA3617A0E8C367B0023C8B9 /* Project object */ = { - isa = PBXProject; - buildConfigurationList = 7BA3617D0E8C367B0023C8B9 /* Build configuration list for PBXProject "sdch" */; - compatibilityVersion = "Xcode 3.1"; - hasScannedForEncodings = 0; - mainGroup = 7BA361780E8C367B0023C8B9; - productRefGroup = 7BA361A80E8C36E50023C8B9 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 7BA361A60E8C36E50023C8B9 /* sdch */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXShellScriptBuildPhase section */ - 7BA3624A0E8C3ADF0023C8B9 /* Pre-Build */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "$(SRCROOT)/open-vcdiff/src/config.h.in", - ); - name = "Pre-Build"; - outputPaths = ( - "$(CONFIGURATION_TEMP_DIR)/generated/config.h", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "set -ex\nexec \"${PROJECT_FILE_PATH}/${PRODUCT_NAME}_prebuild.sh\" \"${@}\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 7BA361A40E8C36E50023C8B9 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 7BA361B80E8C374E0023C8B9 /* addrcache.cc in Sources */, - 7BA361B90E8C374E0023C8B9 /* adler32.c in Sources */, - 7BA361BA0E8C374E0023C8B9 /* blockhash.cc in Sources */, - 7BA361BB0E8C374E0023C8B9 /* codetable.cc in Sources */, - 7BA361BC0E8C374E0023C8B9 /* decodetable.cc in Sources */, - 7BA361BD0E8C374E0023C8B9 /* encodetable.cc in Sources */, - 7BA361BE0E8C374E0023C8B9 /* headerparser.cc in Sources */, - 7BA361BF0E8C374E0023C8B9 /* logging.cc in Sources */, - 7BA361C00E8C374E0023C8B9 /* varint_bigendian.cc in Sources */, - 7BA361C10E8C374E0023C8B9 /* vcdecoder.cc in Sources */, - 7BA361C20E8C374E0023C8B9 /* vcdiffengine.cc in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 7BA3617B0E8C367B0023C8B9 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7BA361930E8C36AF0023C8B9 /* debug.xcconfig */; - buildSettings = { - XCODEPROJ_DEPTH = ..; - }; - name = Debug; - }; - 7BA3617C0E8C367B0023C8B9 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7BA361950E8C36AF0023C8B9 /* release.xcconfig */; - buildSettings = { - XCODEPROJ_DEPTH = ..; - }; - name = Release; - }; - 7BA361A90E8C36E60023C8B9 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7BA361960E8C36AF0023C8B9 /* staticlib.xcconfig */; - buildSettings = { - HEADER_SEARCH_PATHS = ( - "$(HEADER_SEARCH_PATHS)", - "$(CONFIGURATION_TEMP_DIR)/generated", - "open-vcdiff/src", - ); - PRODUCT_NAME = sdch; - }; - name = Debug; - }; - 7BA361AA0E8C36E60023C8B9 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7BA361960E8C36AF0023C8B9 /* staticlib.xcconfig */; - buildSettings = { - HEADER_SEARCH_PATHS = ( - "$(HEADER_SEARCH_PATHS)", - "$(CONFIGURATION_TEMP_DIR)/generated", - "open-vcdiff/src", - ); - PRODUCT_NAME = sdch; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 7BA3617D0E8C367B0023C8B9 /* Build configuration list for PBXProject "sdch" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 7BA3617B0E8C367B0023C8B9 /* Debug */, - 7BA3617C0E8C367B0023C8B9 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 7BA361AB0E8C36E60023C8B9 /* Build configuration list for PBXNativeTarget "sdch" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 7BA361A90E8C36E60023C8B9 /* Debug */, - 7BA361AA0E8C36E60023C8B9 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 7BA3617A0E8C367B0023C8B9 /* Project object */; -} diff --git a/sdch/sdch.xcodeproj/sdch_prebuild.sh b/sdch/sdch.xcodeproj/sdch_prebuild.sh deleted file mode 100755 index e44c2f7..0000000 --- a/sdch/sdch.xcodeproj/sdch_prebuild.sh +++ /dev/null @@ -1,59 +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" - -# Generate config.h the same way that "sh configure" would -mkdir -p "${GENERATED_DIR}" - -CONFIG_H_IN="$1" -if test "X${CONFIG_H_IN}" = "X"; then - CONFIG_H_IN="open-vcdiff/src/config.h.in" -fi - -CONFIG_H="${GENERATED_DIR}/config.h" -sed -e s/'^#undef HAVE_DLFCN_H$'/'#define HAVE_DLFCN_H 1'/ \ - -e s/'^#undef HAVE_FNMATCH_H$'/'#define HAVE_FNMATCH_H 1'/ \ - -e s/'^#undef HAVE_GETOPT_H$'/'#define HAVE_GETOPT_H 1'/ \ - -e s/'^#undef HAVE_GETTIMEOFDAY$'/'#define HAVE_GETTIMEOFDAY 1'/ \ - -e s/'^#undef HAVE_INTTYPES_H$'/'#define HAVE_INTTYPES_H 1'/ \ - -e s/'^#undef HAVE_MEMORY_H$'/'#define HAVE_MEMORY_H 1'/ \ - -e s/'^#undef HAVE_MPROTECT$'/'#define HAVE_MPROTECT 1'/ \ - -e s/'^#undef HAVE_PTHREAD$'/'#define HAVE_PTHREAD 1'/ \ - -e s/'^#undef HAVE_STDINT_H$'/'#define HAVE_STDINT_H 1'/ \ - -e s/'^#undef HAVE_STDLIB_H$'/'#define HAVE_STDLIB_H 1'/ \ - -e s/'^#undef HAVE_STRINGS_H$'/'#define HAVE_STRINGS_H 1'/ \ - -e s/'^#undef HAVE_STRING_H$'/'#define HAVE_STRING_H 1'/ \ - -e s/'^#undef HAVE_STRTOLL$'/'#define HAVE_STRTOLL 1'/ \ - -e s/'^#undef HAVE_STRTOQ$'/'#define HAVE_STRTOQ 1'/ \ - -e s/'^#undef HAVE_SYS_MMAN_H$'/'#define HAVE_SYS_MMAN_H 1'/ \ - -e s/'^#undef HAVE_SYS_STAT_H$'/'#define HAVE_SYS_STAT_H 1'/ \ - -e s/'^#undef HAVE_SYS_TIME_H$'/'#define HAVE_SYS_TIME_H 1'/ \ - -e s/'^#undef HAVE_SYS_TYPES_H$'/'#define HAVE_SYS_TYPES_H 1'/ \ - -e s/'^#undef HAVE_UINT16_T$'/'#define HAVE_UINT16_T 1'/ \ - -e s/'^#undef HAVE_UNISTD_H$'/'#define HAVE_UNISTD_H 1'/ \ - -e s/'^#undef HAVE_U_INT16_T$'/'#define HAVE_U_INT16_T 1'/ \ - -e s/'^#undef HAVE___ATTRIBUTE__$'/'#define HAVE___ATTRIBUTE__ 1'/ \ - -e s/'^#undef HAVE_WORKING_KQUEUE$'/'#define HAVE_WORKING_KQUEUE 1'/ \ - -e s/'^#undef PACKAGE$'/'#define PACKAGE "open-vcdiff"'/ \ - -e s/'^#undef PACKAGE_BUGREPORT$'/'#define PACKAGE_BUGREPORT "opensource@google.com"'/ \ - -e s/'^#undef PACKAGE_NAME$'/'#define PACKAGE_NAME "open-vcdiff"'/ \ - -e s/'^#undef PACKAGE_STRING$'/'#define PACKAGE_STRING "open-vcdiff 0.1"'/ \ - -e s/'^#undef PACKAGE_TARNAME$'/'#define PACKAGE_TARNAME "open-vcdiff"'/ \ - -e s/'^#undef PACKAGE_VERSION$'/'#define PACKAGE_VERSION "0.1"'/ \ - -e s/'^#undef STDC_HEADERS$'/'#define STDC_HEADERS 1'/ \ - -e s/'^#undef VERSION$'/'#define VERSION "0.1"'/ \ - -e s@'^\(#undef .*\)$'@'/* \1 */'@ \ - < "${CONFIG_H_IN}" \ - > "${CONFIG_H}.new" - -if ! diff -q "${CONFIG_H}.new" "${CONFIG_H}" >& /dev/null ; then - mv "${CONFIG_H}.new" "${CONFIG_H}" -else - rm "${CONFIG_H}.new" -fi |