blob: 47268f2584ae13bd35f48c77c3dd693d9c0a443e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
# This file was generated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.
add_library(tools-yqlrun-http)
target_compile_options(tools-yqlrun-http PRIVATE
-DUSE_CURRENT_UDF_ABI_VERSION
)
target_link_libraries(tools-yqlrun-http PUBLIC
contrib-libs-cxxsupp
yutil
library-cpp-charset
cpp-http-misc
cpp-http-server
library-cpp-json
library-cpp-logger
cpp-mime-types
cpp-openssl-io
cpp-string_utils-quote
library-cpp-uri
library-cpp-yson
cpp-yson-node
yql-core-facade
yql-core-type_ann
providers-dq-provider
providers-result-provider
yql-parser-pg_wrapper
sql-v1-format
yt-gateway-file
providers-yt-provider
yql-core-url_preprocessing
providers-pg-provider
)
target_sources(tools-yqlrun-http PRIVATE
${CMAKE_SOURCE_DIR}/ydb/library/yql/tools/yqlrun/http/assets_servlet.cpp
${CMAKE_SOURCE_DIR}/ydb/library/yql/tools/yqlrun/http/server.cpp
${CMAKE_SOURCE_DIR}/ydb/library/yql/tools/yqlrun/http/servlet.cpp
${CMAKE_SOURCE_DIR}/ydb/library/yql/tools/yqlrun/http/yql_functions_servlet.cpp
${CMAKE_SOURCE_DIR}/ydb/library/yql/tools/yqlrun/http/yql_servlet.cpp
${CMAKE_SOURCE_DIR}/ydb/library/yql/tools/yqlrun/http/yql_server.cpp
)
copy_file(
${CMAKE_SOURCE_DIR}/ydb/library/yql/tools/yqlrun/http/www/bower.json
${CMAKE_BINARY_DIR}/ydb/library/yql/tools/yqlrun/http/www/bower.json
)
copy_file(
${CMAKE_SOURCE_DIR}/ydb/library/yql/tools/yqlrun/http/www/favicon.ico
${CMAKE_BINARY_DIR}/ydb/library/yql/tools/yqlrun/http/www/favicon.ico
)
copy_file(
${CMAKE_SOURCE_DIR}/ydb/library/yql/tools/yqlrun/http/www/file-index.html
${CMAKE_BINARY_DIR}/ydb/library/yql/tools/yqlrun/http/www/file-index.html
)
copy_file(
${CMAKE_SOURCE_DIR}/ydb/library/yql/tools/yqlrun/http/www/css/base.css
${CMAKE_BINARY_DIR}/ydb/library/yql/tools/yqlrun/http/www/css/base.css
)
copy_file(
${CMAKE_SOURCE_DIR}/ydb/library/yql/tools/yqlrun/http/www/js/ace.min.js
${CMAKE_BINARY_DIR}/ydb/library/yql/tools/yqlrun/http/www/js/ace.min.js
)
copy_file(
${CMAKE_SOURCE_DIR}/ydb/library/yql/tools/yqlrun/http/www/js/app.js
${CMAKE_BINARY_DIR}/ydb/library/yql/tools/yqlrun/http/www/js/app.js
)
copy_file(
${CMAKE_SOURCE_DIR}/ydb/library/yql/tools/yqlrun/http/www/js/dagre-d3.core.min.js
${CMAKE_BINARY_DIR}/ydb/library/yql/tools/yqlrun/http/www/js/dagre-d3.core.min.js
)
copy_file(
${CMAKE_SOURCE_DIR}/ydb/library/yql/tools/yqlrun/http/www/js/dagre.core.min.js
${CMAKE_BINARY_DIR}/ydb/library/yql/tools/yqlrun/http/www/js/dagre.core.min.js
)
copy_file(
${CMAKE_SOURCE_DIR}/ydb/library/yql/tools/yqlrun/http/www/js/graphlib.core.min.js
${CMAKE_BINARY_DIR}/ydb/library/yql/tools/yqlrun/http/www/js/graphlib.core.min.js
)
copy_file(
${CMAKE_SOURCE_DIR}/ydb/library/yql/tools/yqlrun/http/www/js/mode-sql.js
${CMAKE_BINARY_DIR}/ydb/library/yql/tools/yqlrun/http/www/js/mode-sql.js
)
copy_file(
${CMAKE_SOURCE_DIR}/ydb/library/yql/tools/yqlrun/http/www/js/mode-yql.js
${CMAKE_BINARY_DIR}/ydb/library/yql/tools/yqlrun/http/www/js/mode-yql.js
)
copy_file(
${CMAKE_SOURCE_DIR}/ydb/library/yql/tools/yqlrun/http/www/js/theme-tomorrow.min.js
${CMAKE_BINARY_DIR}/ydb/library/yql/tools/yqlrun/http/www/js/theme-tomorrow.min.js
)
|