Home | History | Annotate | Download | only in nspr
      1 # Copyright (c) 2012 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   'conditions': [
      7     ['use_system_nspr==1', {
      8       'targets': [
      9         {
     10           'target_name': 'nspr',
     11           'type': 'none',
     12           'toolsets': ['host', 'target'],
     13           'variables': {
     14             'headers_root_path': '.',
     15             'header_filenames': [
     16               'prcpucfg.h',
     17               'prtime.h',
     18               'prtypes.h',
     19             ],
     20           },
     21           'includes': [
     22             '../../../build/shim_headers.gypi',
     23           ],
     24           'direct_dependent_settings': {
     25             'cflags': [
     26               '<!@(pkg-config --cflags nspr)',
     27             ],
     28           },
     29           'link_settings': {
     30             'ldflags': [
     31               '<!@(pkg-config --libs-only-L --libs-only-other nspr)',
     32             ],
     33             'libraries': [
     34               '<!@(pkg-config --libs-only-l nspr)',
     35             ],
     36           },
     37         }
     38       ],
     39     }],
     40   ],
     41 }
     42