OLD | NEW |
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 config("wtf-config") { | 5 config("wtf-config") { |
6 include_dirs = [ ".." ] | 6 include_dirs = [ ".." ] |
7 if (is_win) { | 7 if (is_win) { |
8 include_dirs += [ "os-win32" ] | 8 include_dirs += [ "os-win32" ] |
9 defines = [ | 9 defines = [ |
10 "__STD_C", | 10 "__STD_C", |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 | 251 |
252 defines = [ "WTF_IMPLEMENTATION=1" ] | 252 defines = [ "WTF_IMPLEMENTATION=1" ] |
253 deps = [ | 253 deps = [ |
254 "//third_party/icu:icui18n", | 254 "//third_party/icu:icui18n", |
255 "//third_party/icu:icuuc", | 255 "//third_party/icu:icuuc", |
256 ] | 256 ] |
257 | 257 |
258 # # Disable c4267 warnings until we fix size_t to int truncations. | 258 # # Disable c4267 warnings until we fix size_t to int truncations. |
259 # 'msvs_disabled_warnings': [4127, 4355, 4510, 4512, 4610, 4706, 4068, 4267], | 259 # 'msvs_disabled_warnings': [4127, 4355, 4510, 4512, 4610, 4706, 4068, 4267], |
260 | 260 |
| 261 ldflags = [] |
261 if (is_android) { | 262 if (is_android) { |
262 ldflags += [ "-llog" ] | 263 ldflags += [ "-llog" ] |
263 } | 264 } |
264 | 265 |
265 if (is_mac) { | 266 if (is_mac) { |
266 # 'link_settings': { | 267 # 'link_settings': { |
267 # 'libraries': [ | 268 # 'libraries': [ |
268 # '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | 269 # '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
269 # '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 270 # '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
270 # ] | 271 # ] |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 # # Disable c4267 warnings until we fix size_t to int truncations. | 359 # # Disable c4267 warnings until we fix size_t to int truncations. |
359 # 'msvs_disabled_warnings': [4127, 4355, 4510, 4512, 4610, 4706, 4068, 4267], | 360 # 'msvs_disabled_warnings': [4127, 4355, 4510, 4512, 4610, 4706, 4068, 4267], |
360 | 361 |
361 # if (is_linux && use_tcmalloc) { | 362 # if (is_linux && use_tcmalloc) { |
362 # deps += [ | 363 # deps += [ |
363 # "//base:base", | 364 # "//base:base", |
364 # "//base/allocator:allocator", | 365 # "//base/allocator:allocator", |
365 # ], | 366 # ], |
366 # } | 367 # } |
367 } | 368 } |
OLD | NEW |