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': 'url_matcher', 9 'type': '<(component)', 10 'dependencies': [ 11 '../base/base.gyp:base', 12 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', 13 '../third_party/re2/re2.gyp:re2', 14 '../url/url.gyp:url_lib', 15 ], 16 'include_dirs': [ 17 '..', 18 ], 19 'defines': [ 20 'URL_MATCHER_IMPLEMENTATION', 21 ], 22 'sources': [ 23 'url_matcher/regex_set_matcher.cc', 24 'url_matcher/regex_set_matcher.h', 25 'url_matcher/string_pattern.cc', 26 'url_matcher/string_pattern.h', 27 'url_matcher/substring_set_matcher.cc', 28 'url_matcher/substring_set_matcher.h', 29 'url_matcher/url_matcher.cc', 30 'url_matcher/url_matcher.h', 31 'url_matcher/url_matcher_constants.cc', 32 'url_matcher/url_matcher_constants.h', 33 'url_matcher/url_matcher_export.h', 34 'url_matcher/url_matcher_factory.cc', 35 'url_matcher/url_matcher_factory.h', 36 'url_matcher/url_matcher_helpers.cc', 37 'url_matcher/url_matcher_helpers.h', 38 ], 39 # Disable c4267 warnings until we fix size_t to int truncations. 40 'msvs_disabled_warnings': [ 4267, ], 41 }, 42 ], 43 } 44