mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Build and run
This commit is contained in:
parent
5380b12805
commit
92febb8319
228 changed files with 1638 additions and 980 deletions
31
submodules/OpusBinding/BUILD
vendored
Normal file
31
submodules/OpusBinding/BUILD
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
|
||||
objc_library(
|
||||
name = "OpusBinding",
|
||||
enable_modules = True,
|
||||
module_name = "OpusBinding",
|
||||
srcs = glob([
|
||||
"Sources/**/*.m",
|
||||
"Sources/**/*.c",
|
||||
"Sources/**/*.h",
|
||||
]),
|
||||
hdrs = glob([
|
||||
"PublicHeaders/**/*.h",
|
||||
]),
|
||||
includes = [
|
||||
"PublicHeaders",
|
||||
],
|
||||
copts = [
|
||||
"-Isubmodules/OpusBinding/Sources",
|
||||
"-Isubmodules/OpusBinding/Sources/opusfile",
|
||||
"-Isubmodules/OpusBinding/PublicHeaders/OpusBinding",
|
||||
],
|
||||
deps = [
|
||||
"//submodules/Opus:opus",
|
||||
],
|
||||
sdk_frameworks = [
|
||||
"Foundation",
|
||||
],
|
||||
visibility = [
|
||||
"//visibility:public",
|
||||
],
|
||||
)
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
|
||||
#import <OpusBinding/OggOpusReader.h>
|
||||
#import <OpusBinding/TGDataItem.h>
|
||||
#import <OpusBinding/TGOggOpusWriter.h>
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
# endif
|
||||
|
||||
# include <stdlib.h>
|
||||
# include <OpusBinding/opusfile.h>
|
||||
# include "opusfile.h"
|
||||
|
||||
typedef struct OggOpusLink OggOpusLink;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue