define YMAKE resource related configuration variables
@@ -66,6 +66,12 @@ when ($WITH_VALGRIND == "yes") {
SYSINCL+=build/sysincl/valgrind.yml
}
+YMAKE_RESOURCE_BIN=${YMAKE_RESOURCE_GLOBAL}/ymake
+YMAKE_RESOURCE_DIR=build/external_resources/ymake
+when ($USE_YMAKE_RESOURCE == "yes") {
+ PEERDIR+=${YMAKE_RESOURCE_DIR}
+}
+
__COMMA__=${comma:""}
ARCADIA_TEST_ROOT=../arcadia_tests_data/
@@ -5135,20 +5141,28 @@ macro MAPS_IDL_ADDINCL(Dirs...) {
MAPKIT_ADDINCL($Dirs)
}
+### @usage: _MAPKITIDL_PROXY(args...) # internal
+###
+### Proxy macro for MAPKITIDL which adds PEERDIR to YMAKE resources
+macro _MAPKITIDL_PROXY(Args...) {
+ MAPKITIDL($Args)
+ # ENABLE(USE_YMAKE_RESOURCE)
+}
+
MAPS_IDL_FILTER=
### @usage: MAPS_IDL_SRCS(filenames...) # internal
###
### Warpper for MAPKITIDL macro which is used for mobile mapkit build
macro MAPS_IDL_SRCS(Srcs...) {
- MAPKITIDL($Srcs ${MAPS_IDL_FILTER})
+ _MAPKITIDL_PROXY($Srcs ${MAPS_IDL_FILTER})
}
### @usage: MAPS_IDL_GLOBAL_SRCS(filenames...) # internal
###
### Warpper for MAPKITIDL macro which is used for mobile mapkit build
macro MAPS_IDL_GLOBAL_SRCS(Srcs...) {
- MAPKITIDL(GLOBAL_OUTPUTS $Srcs ${MAPS_IDL_FILTER})
+ _MAPKITIDL_PROXY(GLOBAL_OUTPUTS $Srcs ${MAPS_IDL_FILTER})
}
### @usage: MAPSMOBI_SRCS(filenames...) # internal
