[Add] onesecondbefore-tracker 7.9.0
[CocoaPods.git] / Specs / 1 / 4 / 0 / AzureIoTUtility / 1.1.12c / AzureIoTUtility.podspec.json
blobc9f90b28708d34c97bec944d3e434adf7490d341
2   "name": "AzureIoTUtility",
3   "version": "1.1.12c",
4   "summary": "AzureIoT C-Utility library for CocoaPods.",
5   "description": "This is a CocoaPods release of the Azure C Shared Utility library,\nwhich is part of the Microsoft Azure IoT C SDK.",
6   "homepage": "https://github.com/Azure/azure-iot-sdk-c/blob/master/doc/sdk_cocoapods.md",
7   "license": {
8     "type": "MIT",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "Microsoft": ""
13   },
14   "source": {
15     "git": "https://github.com/Azure/azure-c-shared-utility.git",
16     "branch": "jbobotek-test-cocoa"
17   },
18   "platforms": {
19     "ios": "8.0",
20     "osx": "10.10"
21   },
22   "prepare_command": "# Keeping this script idempotent makes using it in a\n    # development situation much easier.\n    cp pal/generic/refcount_os.h inc/azure_c_shared_utility\n    cp adapters/linux_time.h inc\n    cp pal/ios-osx/*.h inc\n    rm -f src/etwlogger_driver.c\n    rm -f src/etwxlogging.c\n    rm -f src/dns_resolver_ares.c\n    rm -f src/tlsio_cy*.*\n#    rm -f src/*logg*.c\n#    rm -f src/logging*.c\n    rm -f src/logging_stacktrace.c\n    rm -f src/gballoc.c\n    rm -f src/gbnetwork.c\n    rm -f adapters/tlsio_wolf*.*\n    rm -f adapters/tlsio_bear*.*\n    rm -f adapters/tlsio_openssl.c\n    rm -f adapters/tlsio_schannel.c\n    rm -f adapters/x509_schannel.c\n    rm -f adapters/x509_openssl.c\n    rm -f adapters/timer.c\n    rm -f adapters/string_utils.c\n    rm -f src/http_proxy_stub.c\n\n    rm -R inc/azure_c_shared_utility/windowsce || true\n    rm -f inc/azure_c_shared_utility/etwlogger.h\n    rm -f inc/azure_c_shared_utility/etwlogger_driver.h\n #   rm -f inc/azure_c_shared_utility/consolelogger.h\n    rm -f inc/azure_c_shared_utility/logging_stacktrace.h\n    rm -f inc/**/timer.h\n    rm -f inc/**/string_utils.h\n    rm -f inc/azure_c_shared_utility/stdint_ce6.h\n    rm -f inc/azure_c_shared_utility/tlsio_cyclonessl_socket.h\n    rm -f inc/azure_c_shared_utility/tlsio_mbedtls.h\n    rm -f inc/azure_c_shared_utility/tlsio_openssl.h\n    rm -f inc/azure_c_shared_utility/tlsio_schannel.h\n    rm -f inc/azure_c_shared_utility/tlsio_wolfssl.h\n    rm -f inc/azure_c_shared_utility/tlsio_bearssl.h\n    rm -f inc/azure_c_shared_utility/x509_openssl.h\n    rm -f inc/azure_c_shared_utility/x509_schannel.h\n\n\n    # Assemble the module.modulemap file\n    pushd inc > /dev/null\n    echo \"module AzureIoTUtility [system][extern_c] {\" > module.modulemap\n    quote_thing='\"'\n    for filename in azure_c_shared_utility/*.h; do\n        echo \"    header $quote_thing$filename$quote_thing\" >> module.modulemap\n    done\n    echo \"    export *\" >> module.modulemap\n    echo \"}\" >> module.modulemap\n    popd > /dev/null\n    # Done assembling module.modulemap file",
23   "preserve_paths": "inc/module.modulemap",
24   "module_map": "inc/module.modulemap",
25   "source_files": [
26     "inc/**/*.h",
27     "src/*.c",
28     "pal/tlsio_options.c",
29     "pal/agenttime.c",
30     "pal/ios-osx/*.c",
31     "adapters/lock_pthreads.c",
32     "adapters/threadapi_pthreads.c",
33     "adapters/linux_time.c",
34     "adapters/tickcounter_linux.c",
35     "adapters/uniqueid_linux.c",
36     "adapters/httpapi_compact.c",
37     "adapters/threadapi_pthreads.c"
38   ],
39   "public_header_files": "inc/**/*.h",
40   "header_mappings_dir": "inc/",
41   "xcconfig": {
42     "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1",
43     "CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES": "YES",
44     "USE_HEADERMAP": "NO",
45     "USER_HEADER_SEARCH_PATHS": "${PODS_ROOT}/AzureIoTUtility/inc",
46     "HEADER_SEARCH_PATHS": "${PODS_ROOT}/AzureIoTUtility/inc/",
47     "ALWAYS_SEARCH_USER_PATHS": "NO"
48   },
49   "dependencies": {
50     "AzureMacroUtils": [
51       "1.1.0"
52     ],
53     "AzureuMockC": [
54       "1.1.19c"
55     ]
56   }