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

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

Issue 119723003: Get weborigin to build within blink_platform target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: just platform Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/gn/secondary/third_party/WebKit/Source/platform/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 component("weborigin") {
6 sources = [
7 "DatabaseIdentifier.cpp",
8 "DatabaseIdentifier.h",
9 "KURL.cpp",
10 "KURL.h",
11 "KURLHash.h",
12 "KnownPorts.cpp",
13 "KnownPorts.h",
14 "OriginAccessEntry.cpp",
15 "OriginAccessEntry.h",
16 "ReferrerPolicy.h",
17 "SchemeRegistry.cpp",
18 "SchemeRegistry.h",
19 "SecurityOrigin.cpp",
20 "SecurityOrigin.h",
21 "SecurityOriginCache.h",
22 "SecurityOriginHash.h",
23 "SecurityPolicy.cpp",
24 "SecurityPolicy.h",
25 "WebOriginExport.h",
26 ]
27
28 configs -= [ "//build/config/compiler:chromium_code" ]
29 configs += [
30 "//build/config/compiler:no_chromium_code",
31 "../wtf:wtf-config"
32 ]
33
34 defines = [ "WEBORIGIN_IMPLEMENTATION=1" ]
35
36 deps = [
37 "//third_party/icu:icui18n",
38 "//third_party/icu:icuuc",
39 "//url",
40 ]
41 }
42
43 executable("weborigin_unittests") {
44 sources = [
45 "DatabaseIdentifierTest.cpp",
46 "KURLTest.cpp",
47 "SecurityOriginTest.cpp",
48 ]
49
50 configs -= [ "//build/config/compiler:chromium_code" ]
51 configs += [
52 "../wtf:wtf-config"
53 "//build/config/compiler:no_chromium_code",
54 "//third_party/icu:icu_config",
55 ]
56
57 deps = [
58 ":weborigin",
59 "../wtf:run_all_tests",
60 ]
61
62 # if (is_linux && use_tcmalloc) {
63 # deps += [
64 # "//base:base",
65 # "//base/allocator:allocator",
66 # ],
67 # }
68
69 }
OLDNEW
« no previous file with comments | « tools/gn/secondary/third_party/WebKit/Source/platform/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698