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