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