# Copyright (c) 2014-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. include_defs('//YOGA_DEFS') COMPILER_FLAGS = BASE_COMPILER_FLAGS + ['-std=c++11'] csharp_library( name = 'yogalibnet46', dll_name = 'Facebook.Yoga.dll', framework_ver = 'net46', srcs = glob(['**/*.cs']), ) csharp_library( name = 'yogalibnet45', dll_name = 'Facebook.Yoga.dll', framework_ver = 'net45', srcs = glob(['**/*.cs']), ) cxx_library( name = 'yoganet', soname = 'libyoga.$(ext)', srcs = glob(['Yoga/YGInterop.cpp']), compiler_flags = COMPILER_FLAGS, link_style = 'static', link_whole = True, deps = [yoga_dep(':yoga')], visibility = ['PUBLIC'], )