Home | History | Annotate | Download | only in unbundle
      1 # Copyright 2013 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': 're2',
      9       'type': 'none',
     10       'variables': {
     11         'headers_root_path': '.',
     12         'header_filenames': [
     13           're2/filtered_re2.h',
     14           're2/re2.h',
     15           're2/set.h',
     16           're2/stringpiece.h',
     17           're2/variadic_function.h',
     18         ],
     19         'shim_generator_additional_args': [
     20           # Chromium copy of re2 is patched to rename POSIX to POSIX_SYNTAX
     21           # because of collision issues that break the build.
     22           # Upstream refuses to make changes:
     23           # http://code.google.com/p/re2/issues/detail?id=73 .
     24           '--define', 'POSIX=POSIX_SYNTAX',
     25         ],
     26       },
     27       'includes': [
     28         '../../build/shim_headers.gypi',
     29       ],
     30       'link_settings': {
     31         'libraries': [
     32           '-lre2',
     33         ],
     34       },
     35     }
     36   ],
     37 }
     38