| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'ashmem', | 8 'target_name': 'ashmem', |
| 9 'conditions': [ | 9 'type': 'static_library', |
| 10 ['android_webview_build==1', { | 10 'sources': [ |
| 11 # WebView must use the Android system version of ashmem to avoid | 11 'ashmem.h', |
| 12 # linking problems. | 12 'ashmem-dev.c' |
| 13 'type': 'none', | |
| 14 'variables': { | |
| 15 'headers_root_path': '.', | |
| 16 'header_filenames': [ 'ashmem.h' ], | |
| 17 'shim_generator_additional_args': [ | |
| 18 '--prefix', 'cutils/', | |
| 19 ], | |
| 20 }, | |
| 21 'includes': [ | |
| 22 '../../build/shim_headers.gypi', | |
| 23 ], | |
| 24 'link_settings': { | |
| 25 'libraries': [ | |
| 26 '-lcutils', | |
| 27 ], | |
| 28 }, | |
| 29 }, { | |
| 30 'type': 'static_library', | |
| 31 'sources': [ | |
| 32 'ashmem.h', | |
| 33 'ashmem-dev.c' | |
| 34 ], | |
| 35 }], | |
| 36 ], | 13 ], |
| 37 }, | 14 }, |
| 38 ], | 15 ], |
| 39 } | 16 } |
| OLD | NEW |