xref: /aosp_15_r20/external/libchrome/libchrome_tools/patch/ashmem.patch (revision 635a864187cb8b6c713ff48b7e790a6b21769273)
1*635a8641SAndroid Build Coastguard Worker--- /dev/null
2*635a8641SAndroid Build Coastguard Worker+++ b/third_party/ashmem/ashmem.h
3*635a8641SAndroid Build Coastguard Worker@@ -0,0 +1,17 @@
4*635a8641SAndroid Build Coastguard Worker+// Copyright (C) 2018 The Android Open Source Project
5*635a8641SAndroid Build Coastguard Worker+//
6*635a8641SAndroid Build Coastguard Worker+// Licensed under the Apache License, Version 2.0 (the "License");
7*635a8641SAndroid Build Coastguard Worker+// you may not use this file except in compliance with the License.
8*635a8641SAndroid Build Coastguard Worker+// You may obtain a copy of the License at
9*635a8641SAndroid Build Coastguard Worker+//
10*635a8641SAndroid Build Coastguard Worker+//      http://www.apache.org/licenses/LICENSE-2.0
11*635a8641SAndroid Build Coastguard Worker+//
12*635a8641SAndroid Build Coastguard Worker+// Unless required by applicable law or agreed to in writing, software
13*635a8641SAndroid Build Coastguard Worker+// distributed under the License is distributed on an "AS IS" BASIS,
14*635a8641SAndroid Build Coastguard Worker+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15*635a8641SAndroid Build Coastguard Worker+// See the License for the specific language governing permissions and
16*635a8641SAndroid Build Coastguard Worker+// limitations under the License.
17*635a8641SAndroid Build Coastguard Worker+
18*635a8641SAndroid Build Coastguard Worker+// third_party/ashmem is Android shared memory. Instead of clone it here,
19*635a8641SAndroid Build Coastguard Worker+// use cutils/ashmem.h directly.
20*635a8641SAndroid Build Coastguard Worker+#include <cutils/ashmem.h>
21