summaryrefslogtreecommitdiffstats
path: root/components/quirks.gypi
blob: 5dd5cfb21293720d8e2588c3418c4ec9190a839f (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
# Copyright 2016 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/quirks
      'target_name': 'quirks',
      'type': '<(component)',
      'dependencies': [
        '../base/base.gyp:base',
        '../components/prefs/prefs.gyp:prefs',
        '../net/net.gyp:net',
        '../url/url.gyp:url_lib',
        'version_info',
      ],
      'include_dirs': [
        '..',
      ],
      'defines': [
        'QUIRKS_IMPLEMENTATION',
      ],
      'sources': [
        # Note: sources list duplicated in GN build.
        'quirks/pref_names.cc',
        'quirks/pref_names.h',
        'quirks/quirks_client.cc',
        'quirks/quirks_client.h',
        'quirks/quirks_export.h',
        'quirks/quirks_manager.cc',
        'quirks/quirks_manager.h',
        'quirks/switches.cc',
        'quirks/switches.h',
      ],
    },
  ],
}