| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 assert(is_android) | 5 assert(is_android) |
| 6 | 6 |
| 7 import("//build/config/android/config.gni") | 7 source_set("ashmem") { |
| 8 | 8 sources = [ |
| 9 if (is_android_webview_build) { | 9 "ashmem.h", |
| 10 # WebView build uses the Android system version of ashmem to avoid linking | 10 "ashmem-dev.c", |
| 11 # problems. | 11 ] |
| 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 } | 12 } |
| OLD | NEW |