Skip to content

Commit fe2b032

Browse files
mpimenovmaksimandrianov
authored andcommitted
[api] [ge0] Renamed api/ to ge0/.
1 parent 96b20d9 commit fe2b032

File tree

39 files changed

+143
-139
lines changed

39 files changed

+143
-139
lines changed

.clang-format

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ IncludeCategories:
4444
- Regex: '^"map/map_integration_tests/'
4545
Priority: 4763
4646

47-
- Regex: '^"api/api_tests/'
47+
- Regex: '^"ge0/ge0_tests/'
4848
Priority: 4765
4949

5050
- Regex: '^"openlr/openlr_tests/'
@@ -206,7 +206,7 @@ IncludeCategories:
206206
- Regex: '^"map/'
207207
Priority: 47000
208208

209-
- Regex: '^"api/'
209+
- Regex: '^"ge0/'
210210
Priority: 47050
211211

212212
- Regex: '^"openlr/'

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,13 +290,13 @@ else()
290290
message(FATAL_ERROR "Cannot find python.")
291291
endif()
292292

293-
add_subdirectory(api)
294293
add_subdirectory(base)
295294
add_subdirectory(coding)
296295
add_subdirectory(descriptions)
297296
add_subdirectory(drape)
298297
add_subdirectory(drape_frontend)
299298
add_subdirectory(editor)
299+
add_subdirectory(ge0)
300300
add_subdirectory(generator/mwm_diff)
301301
add_subdirectory(geometry)
302302
add_subdirectory(indexer)

android/jni/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ target_link_libraries(
114114
z
115115
# MapsWithMe libs
116116
map
117-
api
117+
ge0
118118
tracking
119119
routing
120120
traffic

api/CMakeLists.txt

Lines changed: 0 additions & 13 deletions
This file was deleted.

ge0/CMakeLists.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
project(ge0)
2+
3+
set(
4+
SRC
5+
parser.cpp
6+
parser.hpp
7+
url_generator.cpp
8+
url_generator.hpp
9+
)
10+
11+
omim_add_library(${PROJECT_NAME} ${SRC})
12+
13+
omim_add_test_subdirectory(ge0_tests)

api/ge0.php renamed to ge0/ge0.php

File renamed without changes.

api/api_tests/CMakeLists.txt renamed to ge0/ge0_tests/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
project(api_tests)
1+
project(ge0_tests)
22

33
set(
44
SRC
5-
ge0_generator_tests.cpp
6-
ge0_parser_tests.cpp
5+
parser_tests.cpp
6+
url_generator_tests.cpp
77
)
88

99
omim_add_test(${PROJECT_NAME} ${SRC})
1010

1111
omim_link_libraries(
1212
${PROJECT_NAME}
13-
api
13+
ge0
1414
platform
1515
coding
1616
base

api/api_tests/ge0_parser_tests.cpp renamed to ge0/ge0_tests/parser_tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
#include "map/mwm_url.hpp"
44

5-
#include "api/ge0_generator.hpp"
6-
#include "api/ge0_parser.hpp"
5+
#include "ge0/parser.hpp"
6+
#include "ge0/url_generator.hpp"
77

88
#include "base/macros.hpp"
99

api/api_tests/ge0_generator_tests.cpp renamed to ge0/ge0_tests/url_generator_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "testing/testing.hpp"
22

3-
#include "api/ge0_generator.hpp"
3+
#include "ge0/url_generator.hpp"
44

55
#include <string>
66

api/ge0_parser.cpp renamed to ge0/parser.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
#include "api/ge0_parser.hpp"
1+
#include "ge0/parser.hpp"
2+
3+
#include "ge0/url_generator.hpp"
24

35
#include "geometry/mercator.hpp"
46

57
#include "coding/url_encode.hpp"
68

7-
#include "api/ge0_generator.hpp"
8-
99
#include "base/math.hpp"
1010
#include "base/string_utils.hpp"
1111

0 commit comments

Comments
 (0)