diff options
| -rw-r--r-- | cmds/installd/Android.bp | 3 | ||||
| -rw-r--r-- | cmds/installd/dexopt.cpp | 1 | ||||
| -rw-r--r-- | cmds/installd/tests/Android.bp | 3 | ||||
| -rw-r--r-- | libs/vr/libvrflinger/Android.bp | 1 | ||||
| -rw-r--r-- | libs/vr/libvrflinger/vr_flinger.cpp | 2 | ||||
| -rw-r--r-- | services/surfaceflinger/Android.bp | 3 | ||||
| -rw-r--r-- | services/surfaceflinger/main_surfaceflinger.cpp | 2 |
7 files changed, 13 insertions, 2 deletions
diff --git a/cmds/installd/Android.bp b/cmds/installd/Android.bp index dd69bd0c71..9a8a4c325b 100644 --- a/cmds/installd/Android.bp +++ b/cmds/installd/Android.bp @@ -31,6 +31,7 @@ cc_defaults { "libcutils", "liblog", "liblogwrap", + "libprocessgroup", "libselinux", "libutils", ], @@ -182,6 +183,7 @@ cc_library_static { "libbase", "libcutils", "liblog", + "libprocessgroup", "libutils", ], } @@ -220,6 +222,7 @@ cc_binary { "libcutils", "liblog", "liblogwrap", + "libprocessgroup", "libselinux", "libutils", ], diff --git a/cmds/installd/dexopt.cpp b/cmds/installd/dexopt.cpp index eaf6831c16..940ba79bef 100644 --- a/cmds/installd/dexopt.cpp +++ b/cmds/installd/dexopt.cpp @@ -43,6 +43,7 @@ #include <log/log.h> // TODO: Move everything to base/logging. #include <openssl/sha.h> #include <private/android_filesystem_config.h> +#include <processgroup/sched_policy.h> #include <selinux/android.h> #include <system/thread_defs.h> diff --git a/cmds/installd/tests/Android.bp b/cmds/installd/tests/Android.bp index 739f33f50f..9c9db0f21d 100644 --- a/cmds/installd/tests/Android.bp +++ b/cmds/installd/tests/Android.bp @@ -28,6 +28,7 @@ cc_test { "libbinder", "libcrypto", "libcutils", + "libprocessgroup", "libselinux", "libutils", ], @@ -50,6 +51,7 @@ cc_test { "libbinder", "libcrypto", "libcutils", + "libprocessgroup", "libselinux", "libutils", ], @@ -72,6 +74,7 @@ cc_test { "libbinder", "libcrypto", "libcutils", + "libprocessgroup", "libselinux", "libutils", ], diff --git a/libs/vr/libvrflinger/Android.bp b/libs/vr/libvrflinger/Android.bp index 233e0fceaa..26e8201251 100644 --- a/libs/vr/libvrflinger/Android.bp +++ b/libs/vr/libvrflinger/Android.bp @@ -47,6 +47,7 @@ sharedLibraries = [ "liblog", "libhardware", "libnativewindow", + "libprocessgroup", "libutils", "libEGL", "libGLESv1_CM", diff --git a/libs/vr/libvrflinger/vr_flinger.cpp b/libs/vr/libvrflinger/vr_flinger.cpp index 26aed4f25f..a27d58d252 100644 --- a/libs/vr/libvrflinger/vr_flinger.cpp +++ b/libs/vr/libvrflinger/vr_flinger.cpp @@ -12,9 +12,9 @@ #include <binder/IServiceManager.h> #include <binder/ProcessState.h> #include <cutils/properties.h> -#include <cutils/sched_policy.h> #include <log/log.h> #include <private/dvr/display_client.h> +#include <processgroup/sched_policy.h> #include <sys/prctl.h> #include <sys/resource.h> diff --git a/services/surfaceflinger/Android.bp b/services/surfaceflinger/Android.bp index ce4daa5f35..22e7761323 100644 --- a/services/surfaceflinger/Android.bp +++ b/services/surfaceflinger/Android.bp @@ -44,6 +44,7 @@ cc_defaults { "liblayers_proto", "liblog", "libpdx_default_transport", + "libprocessgroup", "libprotobuf-cpp-lite", "libsync", "libtimestats_proto", @@ -173,6 +174,7 @@ cc_binary { "libhidltransport", "liblayers_proto", "liblog", + "libprocessgroup", "libsurfaceflinger", "libtimestats_proto", "libutils", @@ -205,6 +207,7 @@ cc_library_shared { "libcutils", "libdl", "liblog", + "libprocessgroup", ], product_variables: { // uses jni which may not be available in PDK diff --git a/services/surfaceflinger/main_surfaceflinger.cpp b/services/surfaceflinger/main_surfaceflinger.cpp index d0900e9a5a..aefe7048e7 100644 --- a/services/surfaceflinger/main_surfaceflinger.cpp +++ b/services/surfaceflinger/main_surfaceflinger.cpp @@ -21,13 +21,13 @@ #include <android/frameworks/displayservice/1.0/IDisplayService.h> #include <android/hardware/configstore/1.0/ISurfaceFlingerConfigs.h> #include <android/hardware/graphics/allocator/2.0/IAllocator.h> -#include <cutils/sched_policy.h> #include <binder/IServiceManager.h> #include <binder/IPCThreadState.h> #include <binder/ProcessState.h> #include <binder/IServiceManager.h> #include <displayservice/DisplayService.h> #include <hidl/LegacySupport.h> +#include <processgroup/sched_policy.h> #include <configstore/Utils.h> #include "SurfaceFlinger.h" |