| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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 # The below is a temporary setup during the WTF migration project: | 5 # The below is a temporary setup during the WTF migration project: |
| 6 # https://groups.google.com/a/chromium.org/d/msg/blink-dev/tLdAZCTlcAA/bYXVT8gYC
AAJ | 6 # https://groups.google.com/a/chromium.org/d/msg/blink-dev/tLdAZCTlcAA/bYXVT8gYC
AAJ |
| 7 # | 7 # |
| 8 # We are moving wtf/ files to platform/wtf/ incrementally, thus, conceptually, | 8 # We are moving wtf/ files to platform/wtf/ incrementally, thus, conceptually, |
| 9 # the "wtf" target in wtf/BUILD.gn is being split into two, in a way that | 9 # the "wtf" target in wtf/BUILD.gn is being split into two, in a way that |
| 10 # only wtf/ can refer the contents in platform/wtf/. | 10 # only wtf/ can refer the contents in platform/wtf/. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 # wtf to generate 4291 warning due to operator new/delete | 52 # wtf to generate 4291 warning due to operator new/delete |
| 53 # implementations. Disable the warning for chromium windows multi-dll | 53 # implementations. Disable the warning for chromium windows multi-dll |
| 54 # build. | 54 # build. |
| 55 cflags += [ "/wd4291" ] | 55 cflags += [ "/wd4291" ] |
| 56 } | 56 } |
| 57 } | 57 } |
| 58 } | 58 } |
| 59 | 59 |
| 60 component("platform_wtf") { | 60 component("platform_wtf") { |
| 61 sources = [ | 61 sources = [ |
| 62 "ByteSwap.h", |
| 63 "CPU.h", |
| 64 "Compiler.h", |
| 62 "CryptographicallyRandomNumber.cpp", | 65 "CryptographicallyRandomNumber.cpp", |
| 63 "CryptographicallyRandomNumber.h", | 66 "CryptographicallyRandomNumber.h", |
| 67 "Forward.h", |
| 68 "TypeTraits.h", |
| 64 "WTFExport.h", | 69 "WTFExport.h", |
| 70 "build_config.h", |
| 65 ] | 71 ] |
| 66 | 72 |
| 67 configs += [ | 73 configs += [ |
| 68 "//third_party/WebKit/Source:config", | 74 "//third_party/WebKit/Source:config", |
| 69 "//third_party/WebKit/Source:non_test_config", | 75 "//third_party/WebKit/Source:non_test_config", |
| 70 "//third_party/WebKit/Source:blink_pch", | 76 "//third_party/WebKit/Source:blink_pch", |
| 71 ] | 77 ] |
| 72 | 78 |
| 73 defines = [ "WTF_IMPLEMENTATION=1" ] | 79 defines = [ "WTF_IMPLEMENTATION=1" ] |
| 74 | 80 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 # "text/AtomicStringCF.cpp", | 123 # "text/AtomicStringCF.cpp", |
| 118 # "text/StringImplCF.cpp", | 124 # "text/StringImplCF.cpp", |
| 119 # ] | 125 # ] |
| 120 } | 126 } |
| 121 | 127 |
| 122 if (remove_webcore_debug_symbols) { | 128 if (remove_webcore_debug_symbols) { |
| 123 configs -= [ "//build/config/compiler:default_symbols" ] | 129 configs -= [ "//build/config/compiler:default_symbols" ] |
| 124 configs += [ "//build/config/compiler:no_symbols" ] | 130 configs += [ "//build/config/compiler:no_symbols" ] |
| 125 } | 131 } |
| 126 } | 132 } |
| OLD | NEW |