diff options
author | Hidehiko Abe <hidehiko@google.com> | 2018-02-22 01:29:44 +0900 |
---|---|---|
committer | Hidehiko Abe <hidehiko@google.com> | 2018-02-22 01:33:01 +0900 |
commit | db03e04f4e02b208da755fc87770ee92c1ed0657 (patch) | |
tree | 7a56bdf0141b59e3f5f257dbd35479c41027fd98 /third_party/ashmem/ashmem.h | |
parent | f810b5921dde57180956b9eadf39a3a2b8cb5855 (diff) | |
download | libchrome-db03e04f4e02b208da755fc87770ee92c1ed0657.tar.gz |
Use header files to proxy system headers.
Instead of directly modifying include directives,
use header files to proxy system headers.
This reduces line-by-line modification from Chrome repository.
Bug: 73270448
Test: Built locally. Treehugger.
Change-Id: I8f7315fc21634d3c2fb46bb9a72a43974140b9dc
Diffstat (limited to 'third_party/ashmem/ashmem.h')
-rw-r--r-- | third_party/ashmem/ashmem.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/third_party/ashmem/ashmem.h b/third_party/ashmem/ashmem.h new file mode 100644 index 0000000000..3ef9f73c80 --- /dev/null +++ b/third_party/ashmem/ashmem.h @@ -0,0 +1,17 @@ +// Copyright (C) 2018 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. + +// third_party/ashmem is Android shared memory. Instead of clone it here, +// use cutils/ashmem.h directly. +#include <cutils/ashmem.h> |