Folly.podspec.json 2.35 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
{
  "name": "Folly",
  "version": "2018.10.22.00",
  "license": {
    "type": "Apache License, Version 2.0"
  },
  "homepage": "https://github.com/facebook/folly",
  "summary": "An open-source C++ library developed and used at Facebook.",
  "authors": "Facebook",
  "source": {
    "git": "https://github.com/facebook/folly.git",
    "tag": "v2018.10.22.00"
  },
  "module_name": "folly",
  "dependencies": {
    "boost-for-react-native": [

    ],
    "DoubleConversion": [

    ],
    "glog": [

    ]
  },
  "compiler_flags": "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_HAVE_PTHREAD=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-documentation",
  "source_files": [
    "folly/String.cpp",
    "folly/Conv.cpp",
    "folly/Demangle.cpp",
    "folly/Format.cpp",
    "folly/ScopeGuard.cpp",
    "folly/Unicode.cpp",
    "folly/dynamic.cpp",
    "folly/json.cpp",
    "folly/json_pointer.cpp",
    "folly/container/detail/F14Table.cpp",
    "folly/detail/Demangle.cpp",
    "folly/hash/SpookyHashV2.cpp",
    "folly/lang/Assume.cpp",
    "folly/lang/ColdClass.cpp",
    "folly/memory/detail/MallocImpl.cpp"
  ],
  "preserve_paths": [
    "folly/*.h",
    "folly/container/*.h",
    "folly/container/detail/*.h",
    "folly/detail/*.h",
    "folly/functional/*.h",
    "folly/hash/*.h",
    "folly/lang/*.h",
    "folly/memory/*.h",
    "folly/memory/detail/*.h",
    "folly/portability/*.h"
  ],
  "libraries": "stdc++",
  "pod_target_xcconfig": {
    "USE_HEADERMAP": "NO",
    "CLANG_CXX_LANGUAGE_STANDARD": "c++14",
    "HEADER_SEARCH_PATHS": "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\""
  },
  "default_subspecs": "Default",
  "platforms": {
    "ios": "9.0",
    "tvos": "9.2"
  },
  "subspecs": [
    {
      "name": "Default"
    },
    {
      "name": "Fabric",
      "source_files": [
        "folly/portability/SysUio.cpp",
        "folly/FileUtil.cpp",
        "folly/SharedMutex.cpp",
        "folly/concurrency/CacheLocality.cpp",
        "folly/detail/Futex.cpp",
        "folly/lang/SafeAssert.cpp",
        "folly/synchronization/ParkingLot.cpp",
        "folly/portability/Malloc.cpp"
      ],
      "preserve_paths": [
        "folly/concurrency/CacheLocality.h",
        "folly/synchronization/ParkingLot.h",
        "folly/synchronization/SanitizeThread.h",
        "folly/system/ThreadId.h"
      ]
    }
  ]
}