Chromium Code Reviews| Index: tools/gn/secondary/third_party/WebKit/Source/platform/BUILD.gn |
| diff --git a/tools/gn/secondary/third_party/WebKit/Source/weborigin/BUILD.gn b/tools/gn/secondary/third_party/WebKit/Source/platform/BUILD.gn |
| similarity index 45% |
| rename from tools/gn/secondary/third_party/WebKit/Source/weborigin/BUILD.gn |
| rename to tools/gn/secondary/third_party/WebKit/Source/platform/BUILD.gn |
| index 64f8907919e46b93cfd32d347a4f28a76f441a9e..ef34870dfad4869c96d77f7c22df831d3ad6ee34 100644 |
| --- a/tools/gn/secondary/third_party/WebKit/Source/weborigin/BUILD.gn |
| +++ b/tools/gn/secondary/third_party/WebKit/Source/platform/BUILD.gn |
| @@ -2,65 +2,68 @@ |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| -component("weborigin") { |
| +component("blink_platform") { |
|
brettw
2014/01/08 05:29:59
Can you call this "platform" so people can refer t
tfarina
2014/01/09 00:59:43
Done.
|
| sources = [ |
| - "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", |
| + "weborigin/DatabaseIdentifier.cpp", |
| + "weborigin/DatabaseIdentifier.h", |
| + "weborigin/KURL.cpp", |
| + "weborigin/KURL.h", |
| + "weborigin/KURLHash.h", |
| + "weborigin/KnownPorts.cpp", |
| + "weborigin/KnownPorts.h", |
| + "weborigin/OriginAccessEntry.cpp", |
| + "weborigin/OriginAccessEntry.h", |
| + "weborigin/ReferrerPolicy.h", |
| + "weborigin/SchemeRegistry.cpp", |
| + "weborigin/SchemeRegistry.h", |
| + "weborigin/SecurityOrigin.cpp", |
| + "weborigin/SecurityOrigin.h", |
| + "weborigin/SecurityOriginCache.h", |
| + "weborigin/SecurityOriginHash.h", |
| + "weborigin/SecurityPolicy.cpp", |
| + "weborigin/SecurityPolicy.h", |
| + "weborigin/WebOriginExport.h", |
| ] |
| configs -= [ "//build/config/compiler:chromium_code" ] |
| configs += [ |
| - "//build/config/compiler:no_chromium_code", |
| "../wtf:wtf-config" |
| + "//build/config/compiler:no_chromium_code", |
| ] |
| + include_dirs = [ "../.." ] |
| + |
| defines = [ "WEBORIGIN_IMPLEMENTATION=1" ] |
| deps = [ |
| + "//third_party/WebKit/Source/wtf", |
| "//third_party/icu:icui18n", |
| "//third_party/icu:icuuc", |
| "//url", |
| ] |
| } |
| -executable("weborigin_unittests") { |
| +executable("blink_platform_unittests") { |
| sources = [ |
| - "DatabaseIdentifierTest.cpp", |
| - "KURLTest.cpp", |
| - "SecurityOriginTest.cpp", |
| + "weborigin/DatabaseIdentifierTest.cpp", |
| + "weborigin/KURLTest.cpp", |
| + "weborigin/SecurityOriginTest.cpp", |
| ] |
| configs -= [ "//build/config/compiler:chromium_code" ] |
| configs += [ |
| - "../wtf:wtf-config" |
| + "../wtf:wtf-config" |
| "//build/config/compiler:no_chromium_code", |
| "//third_party/icu:icu_config", |
| ] |
| deps = [ |
| - ":weborigin", |
| + ":blink_platform", |
| "../wtf:run_all_tests", |
| ] |
| # if (is_linux && use_tcmalloc) { |
| -# deps += [ |
| +# deps += [ |
| # "//base:base", |
| # "//base/allocator:allocator", |
| # ], |