Temporarily disables metric reporting from service process on MAC.
[chromium-blink-merge.git] / components / google.gypi
blob93cc4e4e66047bb4dfac7c7261dcc68a55705f17
1 # Copyright 2014 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.
6   'targets': [
7     {
8       # GN version: //components/google/core/browser
9       'target_name': 'google_core_browser',
10       'type': 'static_library',
11       'dependencies': [
12         '../base/base.gyp:base',
13         '../net/net.gyp:net',
14         '../ui/base/ui_base.gyp:ui_base',
15         '../url/url.gyp:url_lib',
16         'components_strings.gyp:components_strings',
17         'keyed_service_core',
18         'infobars_core',
19         'url_fixer',
20       ],
21       'include_dirs': [
22         '..',
23       ],
24       'sources': [
25         # Note: sources duplicated in GN build.
26         'google/core/browser/google_pref_names.cc',
27         'google/core/browser/google_pref_names.h',
28         'google/core/browser/google_search_metrics.cc',
29         'google/core/browser/google_search_metrics.h',
30         'google/core/browser/google_switches.cc',
31         'google/core/browser/google_switches.h',
32         'google/core/browser/google_url_tracker.cc',
33         'google/core/browser/google_url_tracker.h',
34         'google/core/browser/google_url_tracker_client.cc',
35         'google/core/browser/google_url_tracker_client.h',
36         'google/core/browser/google_url_tracker_infobar_delegate.cc',
37         'google/core/browser/google_url_tracker_infobar_delegate.h',
38         'google/core/browser/google_url_tracker_map_entry.cc',
39         'google/core/browser/google_url_tracker_map_entry.h',
40         'google/core/browser/google_url_tracker_navigation_helper.cc',
41         'google/core/browser/google_url_tracker_navigation_helper.h',
42         'google/core/browser/google_util.cc',
43         'google/core/browser/google_util.h',
44       ],
45       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
46       'msvs_disabled_warnings': [4267, ],
47     },
48   ],