diff options
author | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-25 16:20:41 +0000 |
---|---|---|
committer | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-25 16:20:41 +0000 |
commit | 91c17697615cce91a4a43140a7910cef6494c565 (patch) | |
tree | 60dee2570029285f34b8e1f1ad3ae14e8a64f8c9 /sdch | |
parent | ef8c9ed9bab2db876c8a1b9e712842c5e07f66ed (diff) | |
download | chromium_src-91c17697615cce91a4a43140a7910cef6494c565.zip chromium_src-91c17697615cce91a4a43140a7910cef6494c565.tar.gz chromium_src-91c17697615cce91a4a43140a7910cef6494c565.tar.bz2 |
Adds SDCH config files for iOS.
BUG=None
TEST=None
Review URL: https://chromiumcodereview.appspot.com/10803053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148341 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sdch')
-rw-r--r-- | sdch/README.chromium | 8 | ||||
-rw-r--r-- | sdch/ios/config.h | 113 | ||||
-rw-r--r-- | sdch/sdch.gyp | 1 |
3 files changed, 122 insertions, 0 deletions
diff --git a/sdch/README.chromium b/sdch/README.chromium index 741ff97..0275c7a 100644 --- a/sdch/README.chromium +++ b/sdch/README.chromium @@ -5,3 +5,11 @@ changed to match the $host_cpu test in configure. The mac directory contains a config.h generated from a run of configure on a Mac, with VCDIFF_USE_BLOCK_COMPARE_WORDS manually changed to match the $host_cpu test in configure. + +The ios directory contains a config.h generated from a run of configure +--host=arm-apple-darwin10 on a Mac with the following environment variables: + CC=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -x c -arch armv6 + CFLAGS=-mno-thumb -miphoneos-version-min=4.2 + CPPFLAGS=-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk + CXX=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -x c++ -arch armv6 + CXXFLAGS=-mno-thumb -miphoneos-version-min=4.2 diff --git a/sdch/ios/config.h b/sdch/ios/config.h new file mode 100644 index 0000000..5dde8c9 --- /dev/null +++ b/sdch/ios/config.h @@ -0,0 +1,113 @@ +/* src/config.h. Generated from config.h.in by configure. */ +/* src/config.h.in. Generated from configure.ac by autoheader. */ + +/* Define to 1 if you have the <dlfcn.h> header file. */ +#define HAVE_DLFCN_H 1 + +/* Define to 1 if you have the <ext/rope> header file. */ +/* #undef HAVE_EXT_ROPE */ + +/* Define to 1 if you have the <fnmatch.h> header file. */ +#define HAVE_FNMATCH_H 1 + +/* Define to 1 if you have the <getopt.h> header file. */ +#define HAVE_GETOPT_H 1 + +/* Define to 1 if you have the `gettimeofday' function. */ +#define HAVE_GETTIMEOFDAY 1 + +/* Define to 1 if you have the <inttypes.h> header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have the <malloc.h> header file. */ +/* #undef HAVE_MALLOC_H */ + +/* Define to 1 if you have the `memalign' function. */ +/* #undef HAVE_MEMALIGN */ + +/* Define to 1 if you have the <memory.h> header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the `mprotect' function. */ +#define HAVE_MPROTECT 1 + +/* Define to 1 if you have the `posix_memalign' function. */ +#define HAVE_POSIX_MEMALIGN 1 + +/* Define to 1 if you have the `QueryPerformanceCounter' function. */ +/* #undef HAVE_QUERYPERFORMANCECOUNTER */ + +/* Define to 1 if you have the <stdint.h> header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the <strings.h> header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the `strtoll' function. */ +#define HAVE_STRTOLL 1 + +/* Define to 1 if you have the `strtoq' function. */ +#define HAVE_STRTOQ 1 + +/* Define to 1 if you have the <sys/mman.h> header file. */ +#define HAVE_SYS_MMAN_H 1 + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the <sys/time.h> header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define to 1 if you have the <sys/types.h> header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if the system has the type `uint16_t'. */ +#define HAVE_UINT16_T 1 + +/* Define to 1 if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to 1 if the system has the type `u_int16_t'. */ +#define HAVE_U_INT16_T 1 + +/* Define to 1 if you have the <windows.h> header file. */ +/* #undef HAVE_WINDOWS_H */ + +/* define if your compiler has __attribute__ */ +#define HAVE___ATTRIBUTE__ 1 + +/* Define to 1 if the system has the type `__int16'. */ +/* #undef HAVE___INT16 */ + +/* Name of package */ +#define PACKAGE "open-vcdiff" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "opensource@google.com" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "open-vcdiff" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "open-vcdiff 0.7" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "open-vcdiff" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "0.7" + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Use custom compare function instead of memcmp */ +/* #undef VCDIFF_USE_BLOCK_COMPARE_WORDS */ + +/* Version number of package */ +#define VERSION "0.7" diff --git a/sdch/sdch.gyp b/sdch/sdch.gyp index 6efe4f5..d84be58 100644 --- a/sdch/sdch.gyp +++ b/sdch/sdch.gyp @@ -55,6 +55,7 @@ 'conditions': [ [ 'OS == "linux" or OS == "android"', { 'include_dirs': [ 'linux' ] } ], [ 'os_bsd==1 or OS=="solaris"', { 'include_dirs': [ 'bsd' ] } ], + [ 'OS == "ios"', { 'include_dirs': [ 'ios' ] } ], [ 'OS == "mac"', { 'include_dirs': [ 'mac' ] } ], [ 'OS == "win"', { 'include_dirs': [ 'open-vcdiff/vsprojects' ] } ], ], |