VirtualBox

Changeset 86823 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Nov 6, 2020 12:57:57 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
141268
Message:

Additions/VBoxService: The DRM resizing code needs guest properties (VBOX_WITH_GUEST_PROPS).

Location:
trunk/src/VBox/Additions/common/VBoxService
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/Makefile.kmk

    r84540 r86823  
    6262endif
    6363
     64# DRM Resize.
     65ifeq ($(KBUILD_TARGET),linux) && defined(VBOX_WITH_GUEST_PROPS)
     66 # The DRM resizing code needs guest properties.
     67 VBOX_WITH_VBOXSERVICE_DRMRESIZE    := 1
     68endif
     69
    6470#
    6571# VBoxService
     
    7581        $(if $(VBOX_WITH_VBOXSERVICE_CONTROL),VBOX_WITH_VBOXSERVICE_CONTROL,) \
    7682        $(if $(VBOX_WITH_VBOXSERVICE_CPUHOTPLUG),VBOX_WITH_VBOXSERVICE_CPUHOTPLUG,) \
     83        $(if $(VBOX_WITH_VBOXSERVICE_DRMRESIZE),VBOX_WITH_VBOXSERVICE_DRMRESIZE,) \
    7784        $(if $(VBOX_WITH_VBOXSERVICE_MANAGEMENT),VBOX_WITH_VBOXSERVICE_MANAGEMENT,) \
    7885        $(if $(VBOX_WITH_VBOXSERVICE_PAGE_SHARING),VBOX_WITH_VBOXSERVICE_PAGE_SHARING,) \
     
    193200endif
    194201
    195 VBoxServiceVMInfo.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV)
    196 VBoxServiceVMInfo.cpp_DEPS = $(VBOX_SVN_REV_KMK)
     202ifdef VBOX_WITH_VBOXSERVICE_VMINFO
     203 VBoxServiceVMInfo.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV)
     204 VBoxServiceVMInfo.cpp_DEPS = $(VBOX_SVN_REV_KMK)
     205endif
    197206
    198207VBoxService_USES.win += vboximportchecker
  • trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp

    r85962 r86823  
    894894}
    895895
    896 #ifdef RT_OS_LINUX
     896#ifdef VBOX_WITH_VBOXSERVICE_DRMRESIZE
    897897/**
    898898 * Check for a guest property and start VBoxDRMClient if it exists.
     
    921921    }
    922922}
    923 #endif
     923#endif /* VBOX_WITH_VBOXSERVICE_DRMRESIZE */
    924924
    925925int main(int argc, char **argv)
     
    11871187        return rcExit;
    11881188
    1189 #ifdef RT_OS_LINUX
     1189#ifdef VBOX_WITH_VBOXSERVICE_DRMRESIZE
    11901190    startDRMResize();
    1191 #endif
     1191#endif /* VBOX_WITH_VBOXSERVICE_DRMRESIZE */
    11921192
    11931193#ifdef RT_OS_WINDOWS
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette