| 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",
|
| + ]
|
| +}
|
|
|