Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 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 configs -= [ "//build/config/compiler:chromium_code" ] | |
| 7 configs += [ | |
| 8 "//build/config/compiler:no_chromium_code", | |
| 9 "../wtf:wtf-config" | |
| 10 ] | |
| 11 | |
| 12 defines = [ "WEBORIGIN_IMPLEMENTATION=1" ] | |
| 13 deps = [ | |
| 14 "//third_party/icu:icui18n", | |
| 15 "//third_party/icu:icuuc", | |
| 16 "//url", | |
| 17 ] | |
| 18 | |
| 19 sources = [ | |
|
brettw
2013/10/18 17:23:42
Sources first, same below.
| |
| 20 "DatabaseIdentifier.cpp", | |
| 21 "DatabaseIdentifier.h", | |
| 22 "KURL.cpp", | |
| 23 "KURL.h", | |
| 24 "KURLHash.h", | |
| 25 "KnownPorts.cpp", | |
| 26 "KnownPorts.h", | |
| 27 "OriginAccessEntry.cpp", | |
| 28 "OriginAccessEntry.h", | |
| 29 "ReferrerPolicy.h", | |
| 30 "SchemeRegistry.cpp", | |
| 31 "SchemeRegistry.h", | |
| 32 "SecurityOrigin.cpp", | |
| 33 "SecurityOrigin.h", | |
| 34 "SecurityOriginCache.h", | |
| 35 "SecurityOriginHash.h", | |
| 36 "SecurityPolicy.cpp", | |
| 37 "SecurityPolicy.h", | |
| 38 "WebOriginExport.h", | |
| 39 ] | |
| 40 } | |
| 41 | |
| 42 executable("weborigin_unittests") { | |
| 43 configs -= [ "//build/config/compiler:chromium_code" ] | |
| 44 configs += [ | |
| 45 "../wtf:wtf-config" | |
| 46 "//build/config/compiler:no_chromium_code", | |
| 47 "//third_party/icu:icu_config", | |
| 48 ] | |
| 49 | |
| 50 deps = [ | |
| 51 ":weborigin", | |
| 52 "../wtf:run_all_tests", | |
| 53 ] | |
| 54 | |
| 55 sources = [ | |
| 56 "DatabaseIdentifierTest.cpp", | |
| 57 "KURLTest.cpp", | |
| 58 "SecurityOriginTest.cpp", | |
| 59 ] | |
| 60 | |
| 61 # if (is_linux && use_tcmalloc) { | |
| 62 # deps += [ | |
| 63 # "//base:base", | |
| 64 # "//base/allocator:allocator", | |
| 65 # ], | |
| 66 # } | |
| 67 | |
| 68 } | |
| OLD | NEW |