From db03e04f4e02b208da755fc87770ee92c1ed0657 Mon Sep 17 00:00:00 2001 From: Hidehiko Abe Date: Thu, 22 Feb 2018 01:29:44 +0900 Subject: 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 --- third_party/ashmem/ashmem.h | 17 +++++++++++++++++ third_party/modp_b64/modp_b64.h | 16 ++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 third_party/ashmem/ashmem.h create mode 100644 third_party/modp_b64/modp_b64.h (limited to 'third_party') 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 diff --git a/third_party/modp_b64/modp_b64.h b/third_party/modp_b64/modp_b64.h new file mode 100644 index 0000000000..ed24ac8494 --- /dev/null +++ b/third_party/modp_b64/modp_b64.h @@ -0,0 +1,16 @@ +// 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. + +// Redirect to system header. +#include -- cgit v1.2.3