Skip to content

Commit 432e447

Browse files
author
Carlos Martinez Romero
committed
Add a flag header file with dependencies.
Test: Built and ran Bug: 342199002 Flag: EXEMPT no-op change Change-Id: I0c0e0284db8c45eb5af1e9a490a5a91f63a76946
1 parent 1dc3b46 commit 432e447

2 files changed

Lines changed: 24 additions & 2 deletions

File tree

libs/gui/include/gui/Flags.h

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* Copyright 2024 The Android Open Source Project
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#pragma once
18+
19+
#include <com_android_graphics_libgui_flags.h>
20+
21+
#define WB_CAMERA3_AND_PROCESSORS_WITH_DEPENDENCIES \
22+
(COM_ANDROID_GRAPHICS_LIBGUI_FLAGS(WB_CAMERA3_AND_PROCESSORS) && \
23+
COM_ANDROID_GRAPHICS_LIBGUI_FLAGS(WB_CONSUMER_BASE_OWNS_BQ) && \
24+
COM_ANDROID_GRAPHICS_LIBGUI_FLAGS(WB_PLATFORM_API_IMPROVEMENTS))

libs/gui/include/gui/Surface.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
#include <shared_mutex>
3535
#include <unordered_set>
3636

37-
#include <com_android_graphics_libgui_flags.h>
38-
3937
namespace android {
4038

4139
class GraphicBuffer;

0 commit comments

Comments
 (0)