Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: tools/gn/secondary/third_party/WebKit/Source/weborigin/BUILD.gn

Issue 27780002: Add BUILD.gn files for weborigin/weborigin_unittests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/secondary/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/secondary/third_party/WebKit/Source/weborigin/BUILD.gn
diff --git a/tools/gn/secondary/third_party/WebKit/Source/weborigin/BUILD.gn b/tools/gn/secondary/third_party/WebKit/Source/weborigin/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..3df4182055f71231aab8787e76c086aa2ed78317
--- /dev/null
+++ b/tools/gn/secondary/third_party/WebKit/Source/weborigin/BUILD.gn
@@ -0,0 +1,68 @@
+# Copyright (c) 2013 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.
+
+component("weborigin") {
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [
+ "//build/config/compiler:no_chromium_code",
+ "../wtf:wtf-config"
+ ]
+
+ defines = [ "WEBORIGIN_IMPLEMENTATION=1" ]
+ deps = [
+ "//third_party/icu:icui18n",
+ "//third_party/icu:icuuc",
+ "//url",
+ ]
+
+ sources = [
brettw 2013/10/18 17:23:42 Sources first, same below.
+ "DatabaseIdentifier.cpp",
+ "DatabaseIdentifier.h",
+ "KURL.cpp",
+ "KURL.h",
+ "KURLHash.h",
+ "KnownPorts.cpp",
+ "KnownPorts.h",
+ "OriginAccessEntry.cpp",
+ "OriginAccessEntry.h",
+ "ReferrerPolicy.h",
+ "SchemeRegistry.cpp",
+ "SchemeRegistry.h",
+ "SecurityOrigin.cpp",
+ "SecurityOrigin.h",
+ "SecurityOriginCache.h",
+ "SecurityOriginHash.h",
+ "SecurityPolicy.cpp",
+ "SecurityPolicy.h",
+ "WebOriginExport.h",
+ ]
+}
+
+executable("weborigin_unittests") {
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [
+ "../wtf:wtf-config"
+ "//build/config/compiler:no_chromium_code",
+ "//third_party/icu:icu_config",
+ ]
+
+ deps = [
+ ":weborigin",
+ "../wtf:run_all_tests",
+ ]
+
+ sources = [
+ "DatabaseIdentifierTest.cpp",
+ "KURLTest.cpp",
+ "SecurityOriginTest.cpp",
+ ]
+
+# if (is_linux && use_tcmalloc) {
+# deps += [
+# "//base:base",
+# "//base/allocator:allocator",
+# ],
+# }
+
+}
« no previous file with comments | « tools/gn/secondary/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698