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

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

Powered by Google App Engine
This is Rietveld 408576698