diff options
-rw-r--r-- | libs/gui/include/gui/Flags.h | 24 | ||||
-rw-r--r-- | libs/gui/include/gui/Surface.h | 2 |
2 files changed, 24 insertions, 2 deletions
diff --git a/libs/gui/include/gui/Flags.h b/libs/gui/include/gui/Flags.h new file mode 100644 index 0000000000..735375a1e7 --- /dev/null +++ b/libs/gui/include/gui/Flags.h @@ -0,0 +1,24 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#pragma once + +#include <com_android_graphics_libgui_flags.h> + +#define WB_CAMERA3_AND_PROCESSORS_WITH_DEPENDENCIES \ + (COM_ANDROID_GRAPHICS_LIBGUI_FLAGS(WB_CAMERA3_AND_PROCESSORS) && \ + COM_ANDROID_GRAPHICS_LIBGUI_FLAGS(WB_CONSUMER_BASE_OWNS_BQ) && \ + COM_ANDROID_GRAPHICS_LIBGUI_FLAGS(WB_PLATFORM_API_IMPROVEMENTS))
\ No newline at end of file diff --git a/libs/gui/include/gui/Surface.h b/libs/gui/include/gui/Surface.h index e74f9ad1dc..14a351316d 100644 --- a/libs/gui/include/gui/Surface.h +++ b/libs/gui/include/gui/Surface.h @@ -34,8 +34,6 @@ #include <shared_mutex> #include <unordered_set> -#include <com_android_graphics_libgui_flags.h> - namespace android { class GraphicBuffer; |