summaryrefslogtreecommitdiffstats
path: root/url/ipc/BUILD.gn
blob: 1edbe2086bf54b0e771e1e65ebd71f750af0531e (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 (c) 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.

import("//testing/test.gni")

component("url_ipc") {
  sources = [
    "url_ipc_export.h",
    "url_param_traits.cc",
    "url_param_traits.h",
  ]

  defines = [ "URL_IPC_IMPLEMENTATION" ]

  public_deps = [
    "//ipc",
    "//url",
  ]
  deps = [
    "//base",
  ]
}

test("url_ipc_unittests") {
  sources = [
    "url_param_traits_unittest.cc",
  ]

  deps = [
    ":url_ipc",
    "//base",
    "//base/test:run_all_unittests",
    "//ipc:test_support",
    "//testing/gtest",
    "//url:url",
  ]
}