summaryrefslogtreecommitdiffstats
path: root/url/ipc/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'url/ipc/BUILD.gn')
-rw-r--r--url/ipc/BUILD.gn38
1 files changed, 38 insertions, 0 deletions
diff --git a/url/ipc/BUILD.gn b/url/ipc/BUILD.gn
new file mode 100644
index 0000000..1edbe20
--- /dev/null
+++ b/url/ipc/BUILD.gn
@@ -0,0 +1,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",
+ ]
+}