Home | History | Annotate | Download | only in cpp
      1 # Copyright (C) 2013 Google Inc.
      2 #
      3 # Licensed under the Apache License, Version 2.0 (the "License");
      4 # you may not use this file except in compliance with the License.
      5 # You may obtain a copy of the License at
      6 #
      7 # http://www.apache.org/licenses/LICENSE-2.0
      8 #
      9 # Unless required by applicable law or agreed to in writing, software
     10 # distributed under the License is distributed on an "AS IS" BASIS,
     11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12 # See the License for the specific language governing permissions and
     13 # limitations under the License.
     14 {
     15   'variables': {
     16     're2_dir%': '/usr/include',
     17     're2_lib%': '/usr/lib/libre2.a',
     18   },
     19   'targets': [
     20     {
     21       'target_name': 're2',
     22       'type': 'none',
     23       'all_dependent_settings': {
     24         'include_dirs': [
     25           '<(re2_dir)',
     26         ],
     27         'conditions': [
     28           ['"<(component)" != "shared_library"', {
     29             'libraries': [
     30               '<(re2_lib)',
     31             ],
     32           }],
     33         ],
     34       },
     35     },
     36   ],
     37 }
     38