diff options
author | thegeorg <thegeorg@yandex-team.com> | 2024-03-18 20:06:47 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2024-03-18 20:50:53 +0300 |
commit | 693fac488e3b7a0c87befe82ef47947dbf5c3f91 (patch) | |
tree | d258d8dbd068dc30d06e92ad2febd91e1978f4a5 /contrib | |
parent | 6a266f4c8ba6cbf8f1e55fc9dd82bbdecdbf1735 (diff) | |
download | ydb-693fac488e3b7a0c87befe82ef47947dbf5c3f91.tar.gz |
Stop using prebuilt flatc compiler
acaad63ae411eabba0db4fc630aa65a1ba9ee1db
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/tools/flatc/bin/ya.make | 23 | ||||
-rw-r--r-- | contrib/tools/flatc/ya.make | 32 |
2 files changed, 24 insertions, 31 deletions
diff --git a/contrib/tools/flatc/bin/ya.make b/contrib/tools/flatc/bin/ya.make deleted file mode 100644 index f94d2e6aa2..0000000000 --- a/contrib/tools/flatc/bin/ya.make +++ /dev/null @@ -1,23 +0,0 @@ -PROGRAM(flatc) - -NO_UTIL() - -ADDINCL( - contrib/libs/flatbuffers/include -) - -PEERDIR( - contrib/libs/flatbuffers/flatc -) - -SRCDIR( - contrib/libs/flatbuffers/src -) - -SRCS( - flatc_main.cpp -) - -INCLUDE(${ARCADIA_ROOT}/build/prebuilt/contrib/tools/flatc/ya.make.induced_deps) - -END() diff --git a/contrib/tools/flatc/ya.make b/contrib/tools/flatc/ya.make index 93e5104a93..d7d57f05a9 100644 --- a/contrib/tools/flatc/ya.make +++ b/contrib/tools/flatc/ya.make @@ -1,11 +1,27 @@ -IF (USE_PREBUILT_TOOLS) - INCLUDE(${ARCADIA_ROOT}/build/prebuilt/contrib/tools/flatc/ya.make.prebuilt) -ENDIF() +PROGRAM(flatc) -IF (NOT PREBUILT) - INCLUDE(${ARCADIA_ROOT}/contrib/tools/flatc/bin/ya.make) -ENDIF() +INDUCED_DEPS( + h + ${ARCADIA_ROOT}/contrib/libs/flatbuffers/include/flatbuffers/flatbuffers.h + ${ARCADIA_ROOT}/contrib/libs/flatbuffers/include/flatbuffers/flatbuffers_iter.h +) + +NO_UTIL() -RECURSE( - bin +ADDINCL( + contrib/libs/flatbuffers/include ) + +PEERDIR( + contrib/libs/flatbuffers/flatc +) + +SRCDIR( + contrib/libs/flatbuffers/src +) + +SRCS( + flatc_main.cpp +) + +END() |