• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2016 The Chromium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//testing/test.gni")
6
7component("url_ipc") {
8  sources = [
9    "url_ipc_export.h",
10    "url_param_traits.cc",
11    "url_param_traits.h",
12  ]
13
14  defines = [ "URL_IPC_IMPLEMENTATION" ]
15
16  public_deps = [
17    "//ipc",
18    "//url",
19  ]
20  deps = [ "//base" ]
21}
22
23# IPC unit tests aren't build on iOS.
24if (!is_ios) {
25  source_set("url_ipc_unittests") {
26    testonly = true
27
28    sources = [ "url_param_traits_unittest.cc" ]
29
30    deps = [
31      ":url_ipc",
32      "//base",
33      "//ipc:test_support",
34      "//testing/gtest",
35      "//url:url",
36    ]
37  }
38}
39