Fix build

This commit is contained in:
Ali 2020-06-16 21:42:17 +04:00
parent a00cfa349d
commit 123bb034a3

View File

@ -5,9 +5,9 @@ static_library(
srcs = glob([ srcs = glob([
"Sources/**/*.m", "Sources/**/*.m",
"Sources/**/*.mm", "Sources/**/*.mm",
"Impl/*.cpp", "Impl/**/*.cpp",
"Impl/*.mm", "Impl/**/*.mm",
"Impl/*.m", "Impl/**/*.m",
]), ]),
has_cpp = True, has_cpp = True,
headers = merge_maps([ headers = merge_maps([
@ -15,7 +15,7 @@ static_library(
"PublicHeaders/**/*.h", "PublicHeaders/**/*.h",
]), ]),
glob_sub_map("Impl/", [ glob_sub_map("Impl/", [
"Impl/*.h", "Impl/**/*.h",
]), ]),
]), ]),
exported_headers = glob([ exported_headers = glob([
@ -31,6 +31,8 @@ static_library(
"-DWEBRTC_IOS", "-DWEBRTC_IOS",
"-DWEBRTC_MAC", "-DWEBRTC_MAC",
"-DWEBRTC_POSIX", "-DWEBRTC_POSIX",
"-DRTC_ENABLE_VP9",
"-DTGVOIP_NAMESPACE=tgvoip_webrtc",
], ],
deps = [ deps = [
"//submodules/MtProtoKit:MtProtoKit#shared", "//submodules/MtProtoKit:MtProtoKit#shared",