| Index: third_party/ashmem/BUILD.gn
|
| diff --git a/third_party/ashmem/BUILD.gn b/third_party/ashmem/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7266e65f77f50f93f8ece2907ed5ac21a709d0d3
|
| --- /dev/null
|
| +++ b/third_party/ashmem/BUILD.gn
|
| @@ -0,0 +1,22 @@
|
| +# Copyright 2014 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +assert(is_android)
|
| +
|
| +import("//build/config/android/config.gni")
|
| +
|
| +if (is_android_webview_build) {
|
| + # WebView build uses the Android system version of ashmem to avoid linking
|
| + # problems.
|
| + group("ashmem") {
|
| + assert(false, "Implement system ashmem for webview build")
|
| + }
|
| +} else {
|
| + source_set("ashmem") {
|
| + sources = [
|
| + "ashmem.h",
|
| + "ashmem-dev.c",
|
| + ]
|
| + }
|
| +}
|
|
|