summaryrefslogtreecommitdiff
path: root/chromium/url/ipc/url_ipc.gyp
blob: f56b5e80f07af29869976821462bfab14f1886b3 (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
# 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.

{
  'variables': {
    'chromium_code': 1,
  },
  'targets': [
     {
      # GN version: //url/ipc
      'target_name': 'url_ipc',
      'type': '<(component)',
      'dependencies': [
        '../../base/base.gyp:base',
        '../../ipc/ipc.gyp:ipc',
        '../../url/url.gyp:url_lib',
      ],
      'defines': [ 'URL_IPC_IMPLEMENTATION' ],
      'include_dirs': [
        '../..',
      ],
      'sources': [
        'url_ipc_export.h',
        'url_param_traits.cc',
        'url_param_traits.h',
      ],
    },
    {
      'target_name': 'url_ipc_unittests',
      'type': 'executable',
      'dependencies': [
        '../../base/base.gyp:run_all_unittests',
        '../../ipc/ipc.gyp:test_support_ipc',
        '../../testing/gtest.gyp:gtest',
        '../url.gyp:url_lib',
        'url_ipc',
      ],
      'sources': [ 'url_param_traits_unittest.cc' ],
    },
  ],
}