The test environment should now build okay again, as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16829 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -17,7 +17,7 @@ if $(RUN_WITHOUT_APP_SERVER) != 0 {
|
|||||||
SubDirC++Flags $(defines) ;
|
SubDirC++Flags $(defines) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
UsePrivateHeaders shared app interface ;
|
UsePrivateHeaders shared app interface kernel ;
|
||||||
UsePrivateHeaders [ FDirName servers app ] ;
|
UsePrivateHeaders [ FDirName servers app ] ;
|
||||||
UseHeaders $(TARGET_PRIVATE_KERNEL_HEADERS) : true ;
|
UseHeaders $(TARGET_PRIVATE_KERNEL_HEADERS) : true ;
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,9 @@
|
|||||||
|
|
||||||
#include "ServerMemoryAllocator.h"
|
#include "ServerMemoryAllocator.h"
|
||||||
|
|
||||||
#include <syscalls.h>
|
#ifndef HAIKU_TARGET_PLATFORM_LIBBE_TEST
|
||||||
|
# include <syscalls.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <new>
|
#include <new>
|
||||||
|
|
||||||
@@ -64,10 +66,15 @@ ServerMemoryAllocator::AddArea(area_id serverArea, area_id& _area, uint8*& _base
|
|||||||
return B_NO_MEMORY;
|
return B_NO_MEMORY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef HAIKU_TARGET_PLATFORM_LIBBE_TEST
|
||||||
// reserve 128 MB of space for the area
|
// reserve 128 MB of space for the area
|
||||||
void* base = (void*)0x60000000;
|
void* base = (void*)0x60000000;
|
||||||
status_t status = _kern_reserve_heap_address_range((addr_t*)&base,
|
status_t status = _kern_reserve_heap_address_range((addr_t*)&base,
|
||||||
B_BASE_ADDRESS, 128 * 1024 * 1024);
|
B_BASE_ADDRESS, 128 * 1024 * 1024);
|
||||||
|
#else
|
||||||
|
void* base;
|
||||||
|
status_t status = B_ERROR;
|
||||||
|
#endif
|
||||||
|
|
||||||
mapping->local_area = clone_area("server_memory", &base,
|
mapping->local_area = clone_area("server_memory", &base,
|
||||||
status == B_OK ? B_EXACT_ADDRESS : B_BASE_ADDRESS,
|
status == B_OK ? B_EXACT_ADDRESS : B_BASE_ADDRESS,
|
||||||
|
|||||||
@@ -193,8 +193,12 @@ ClientMemoryAllocator::_AllocateChunk(size_t size, bool& newArea)
|
|||||||
}
|
}
|
||||||
|
|
||||||
char name[B_OS_NAME_LENGTH];
|
char name[B_OS_NAME_LENGTH];
|
||||||
|
#ifdef HAIKU_TARGET_PLATFORM_LIBBE_TEST
|
||||||
|
strcpy(name, "client heap");
|
||||||
|
#else
|
||||||
snprintf(name, sizeof(name), "heap:%ld:%s", fApplication->ClientTeam(),
|
snprintf(name, sizeof(name), "heap:%ld:%s", fApplication->ClientTeam(),
|
||||||
fApplication->SignatureLeaf());
|
fApplication->SignatureLeaf());
|
||||||
|
#endif
|
||||||
area_id area = create_area(name, (void**)&address, B_ANY_ADDRESS, size,
|
area_id area = create_area(name, (void**)&address, B_ANY_ADDRESS, size,
|
||||||
B_NO_LOCK, B_READ_AREA | B_WRITE_AREA);
|
B_NO_LOCK, B_READ_AREA | B_WRITE_AREA);
|
||||||
if (area < B_OK) {
|
if (area < B_OK) {
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ SharedLibrary libhwinterface.so :
|
|||||||
BBitmapBuffer.cpp
|
BBitmapBuffer.cpp
|
||||||
DWindowBuffer.cpp
|
DWindowBuffer.cpp
|
||||||
HWInterface.cpp
|
HWInterface.cpp
|
||||||
MultiLocker.cpp
|
|
||||||
RGBColor.cpp
|
RGBColor.cpp
|
||||||
|
|
||||||
: libhaikuappserver.so be
|
: libhaikuappserver.so be
|
||||||
@@ -45,6 +44,7 @@ LINKFLAGS on libhwinterfaceimpl.so += -lbe ;
|
|||||||
SharedLibrary libhwinterfaceimpl.so :
|
SharedLibrary libhwinterfaceimpl.so :
|
||||||
ViewHWInterface.cpp
|
ViewHWInterface.cpp
|
||||||
DWindowHWInterface.cpp
|
DWindowHWInterface.cpp
|
||||||
|
MultiLocker.cpp
|
||||||
|
|
||||||
: be libhwinterface.so
|
: be libhwinterface.so
|
||||||
;
|
;
|
||||||
@@ -60,20 +60,20 @@ SharedLibrary libhaikuappserver.so :
|
|||||||
DesktopSettings.cpp
|
DesktopSettings.cpp
|
||||||
DrawState.cpp
|
DrawState.cpp
|
||||||
FontFamily.cpp
|
FontFamily.cpp
|
||||||
|
FontManager.cpp
|
||||||
HashTable.cpp
|
HashTable.cpp
|
||||||
|
MultiLocker.cpp
|
||||||
RGBColor.cpp
|
RGBColor.cpp
|
||||||
ServerBitmap.cpp
|
ServerBitmap.cpp
|
||||||
ServerCursor.cpp
|
ServerCursor.cpp
|
||||||
ServerFont.cpp
|
ServerFont.cpp
|
||||||
FontManager.cpp
|
|
||||||
SystemPalette.cpp
|
SystemPalette.cpp
|
||||||
|
|
||||||
# drawing
|
# drawing
|
||||||
PatternHandler.cpp
|
PatternHandler.cpp
|
||||||
|
|
||||||
# libraries
|
# libraries
|
||||||
:
|
: be libtextencoding.so libfreetype.so
|
||||||
be libtextencoding.so libfreetype.so
|
|
||||||
;
|
;
|
||||||
|
|
||||||
AddResources haiku_app_server : app_server.rdef ;
|
AddResources haiku_app_server : app_server.rdef ;
|
||||||
|
|||||||
Reference in New Issue
Block a user