1 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 assert(is_android) 6 7 import("//build/config/android/config.gni") 8 9 if (is_android_webview_build) { 10 # WebView build uses the Android system version of ashmem to avoid linking 11 # problems. 12 group("ashmem") { 13 assert(false, "Implement system ashmem for webview build") 14 } 15 } else { 16 source_set("ashmem") { 17 sources = [ 18 "ashmem.h", 19 "ashmem-dev.c", 20 ] 21 } 22 } 23