2022-06-07 07:42:49 -07:00
# Copyright (c) Meta Platforms, Inc. and affiliates.
2018-10-24 03:09:58 -07:00
#
2019-10-15 10:30:08 -07:00
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
2022-06-07 07:42:49 -07:00
2017-01-30 08:39:39 -08:00
Pod::Spec.new do |spec|
spec.name = 'Yoga'
2019-04-08 10:53:23 -07:00
spec.version = '1.14.0'
2018-02-16 18:25:02 -08:00
spec.license = { :type => 'MIT', :file => "LICENSE" }
2018-03-23 05:31:44 -07:00
spec.homepage = 'https://yogalayout.com/'
spec.documentation_url = 'https://yogalayout.com/docs'
2017-01-26 10:38:02 -08:00
2017-01-30 08:39:39 -08:00
spec.summary = 'Yoga is a cross-platform layout engine which implements Flexbox.'
spec.description = 'Yoga is a cross-platform layout engine enabling maximum collaboration within your team by implementing an API many designers are familiar with, and opening it up to developers across different platforms.'
spec.authors = 'Facebook'
spec.source = {
2017-01-26 10:38:02 -08:00
:git => 'https://github.com/facebook/yoga.git',
2018-07-12 07:26:17 -07:00
:tag => spec.version.to_s,
2017-01-26 10:38:02 -08:00
}
2019-04-02 05:05:20 -07:00
spec.platforms = { :ios => "8.0", :osx => "10.7", :tvos => "10.0", :watchos => "2.0" }
2017-01-30 08:39:39 -08:00
spec.module_name = 'yoga'
spec.requires_arc = false
2018-07-12 07:26:17 -07:00
spec.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES'
}
2017-01-30 08:39:39 -08:00
spec.compiler_flags = [
2017-01-26 10:38:02 -08:00
'-fno-omit-frame-pointer',
'-fexceptions',
'-Wall',
'-Werror',
2023-01-10 09:44:00 -08:00
'-std=c++14',
2017-01-26 10:38:02 -08:00
'-fPIC'
]
2023-04-26 17:27:29 -07:00
spec.source_files = 'yoga/**/*.{h,cpp}'
spec.public_header_files = 'yoga/{Yoga,YGEnums,YGMacros,YGValue}.h'
2018-03-23 05:31:44 -07:00
2017-01-26 10:38:02 -08:00
end