summaryrefslogtreecommitdiffstats
path: root/components/url_matcher.gypi
diff options
context:
space:
mode:
authorjoaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-13 20:36:53 +0000
committerjoaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-13 20:36:53 +0000
commit716c016d95025a8f4d42baab6639b9dc90498f2d (patch)
tree9efb703e070ecbfb1b73bfac9b350a3b81af14f6 /components/url_matcher.gypi
parent32c90a98f03fa68da4ba3d97a8e56ca70e92a07d (diff)
downloadchromium_src-716c016d95025a8f4d42baab6639b9dc90498f2d.zip
chromium_src-716c016d95025a8f4d42baab6639b9dc90498f2d.tar.gz
chromium_src-716c016d95025a8f4d42baab6639b9dc90498f2d.tar.bz2
Move extensions/common/matcher into components/url_matcher.
This allows using that code in builds that don't include extensions without having to introduce layering exceptions. This is meant for inclusion on the iOS build. BUG=271392 TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/113903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240736 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/url_matcher.gypi')
-rw-r--r--components/url_matcher.gypi43
1 files changed, 43 insertions, 0 deletions
diff --git a/components/url_matcher.gypi b/components/url_matcher.gypi
new file mode 100644
index 0000000..3476552
--- /dev/null
+++ b/components/url_matcher.gypi
@@ -0,0 +1,43 @@
+# Copyright 2013 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'url_matcher',
+ 'type': '<(component)',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
+ '../third_party/re2/re2.gyp:re2',
+ '../url/url.gyp:url_lib',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'defines': [
+ 'URL_MATCHER_IMPLEMENTATION',
+ ],
+ 'sources': [
+ 'url_matcher/regex_set_matcher.cc',
+ 'url_matcher/regex_set_matcher.h',
+ 'url_matcher/string_pattern.cc',
+ 'url_matcher/string_pattern.h',
+ 'url_matcher/substring_set_matcher.cc',
+ 'url_matcher/substring_set_matcher.h',
+ 'url_matcher/url_matcher.cc',
+ 'url_matcher/url_matcher.h',
+ 'url_matcher/url_matcher_constants.cc',
+ 'url_matcher/url_matcher_constants.h',
+ 'url_matcher/url_matcher_export.h',
+ 'url_matcher/url_matcher_factory.cc',
+ 'url_matcher/url_matcher_factory.h',
+ 'url_matcher/url_matcher_helpers.cc',
+ 'url_matcher/url_matcher_helpers.h',
+ ],
+ # Disable c4267 warnings until we fix size_t to int truncations.
+ 'msvs_disabled_warnings': [ 4267, ],
+ },
+ ],
+}