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

Unified Diff: third_party/WebKit/Source/platform/weborigin/BUILD.gn

Issue 2194973002: Fix linker warning in broadcast_channel.mojom-blink.obj. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tighten deps Created 4 years, 5 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
Index: third_party/WebKit/Source/platform/weborigin/BUILD.gn
diff --git a/third_party/WebKit/Source/platform/weborigin/BUILD.gn b/third_party/WebKit/Source/platform/weborigin/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..4fd6fc413c00b417cfde58af2a1c30c7b2654525
--- /dev/null
+++ b/third_party/WebKit/Source/platform/weborigin/BUILD.gn
@@ -0,0 +1,54 @@
+# 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.
+
+component("weborigin") {
+ # This target is a logical part of the platform and only the platform target
+ # and internal mojo targets should depend on it.
+ visibility = [
+ "//third_party/WebKit/Source/platform",
+ "//third_party/WebKit/public:mojo_bindings",
+ "//url/mojo:url_mojom_gurl_blink_cpp_sources",
+ "//url/mojo:url_mojom_origin_blink_cpp_sources",
+ ]
+
+ sources = [
+ "KURL.cpp",
+ "KURL.h",
+ "KURLHash.h",
+ "KnownPorts.cpp",
+ "KnownPorts.h",
+ "OriginAccessEntry.cpp",
+ "OriginAccessEntry.h",
+ "Referrer.h",
+ "ReferrerPolicy.h",
+ "SchemeRegistry.cpp",
+ "SchemeRegistry.h",
+ "SecurityOrigin.cpp",
+ "SecurityOrigin.h",
+ "SecurityOriginCache.h",
+ "SecurityOriginHash.h",
+ "SecurityPolicy.cpp",
+ "SecurityPolicy.h",
+ "Suborigin.cpp",
+ "Suborigin.h",
+ ]
+
+ defines = [
+ "ORIGIN_IMPLEMENTATION=1",
+ "INSIDE_BLINK",
+ ]
+
+ configs += [
+ "//third_party/WebKit/Source:config",
+ "//third_party/WebKit/Source:non_test_config",
+ "//build/config/compiler:no_size_t_to_int_warning",
+ ]
+
+ public_deps = [
+ "//net",
+ "//third_party/WebKit/Source/platform:runtime_enabled_features",
+ "//third_party/WebKit/Source/wtf",
+ "//url",
+ ]
+}
« no previous file with comments | « third_party/WebKit/Source/platform/mojo/SecurityOrigin.typemap ('k') | third_party/WebKit/Source/platform/weborigin/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698