Home | History | Annotate | Download | only in ashmem
      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
      3 # found in the LICENSE file.
      4 
      5 {
      6   'targets': [
      7     {
      8       'target_name': 'ashmem',
      9       'conditions': [
     10         ['android_webview_build==1', {
     11           # WebView must use the Android system version of ashmem to avoid
     12           # linking problems.
     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       ],
     37     },
     38   ],
     39 }
     40