| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 assert(!is_ios) | 5 assert(!is_ios) |
| 6 | 6 |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 import("//third_party/WebKit/Source/config.gni") | 8 import("//third_party/WebKit/Source/config.gni") |
| 9 | 9 |
| 10 # The list of files is kept in the .gypi. | 10 # The list of files is kept in the .gypi. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 # build. | 43 # build. |
| 44 cflags += [ "/wd4291" ] | 44 cflags += [ "/wd4291" ] |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 } | 47 } |
| 48 | 48 |
| 49 component("wtf") { | 49 component("wtf") { |
| 50 sources = gypi_values.wtf_files | 50 sources = gypi_values.wtf_files |
| 51 | 51 |
| 52 configs += [ | 52 configs += [ |
| 53 "//third_party/WebKit/Source:blink_pch", |
| 53 "//third_party/WebKit/Source:config", | 54 "//third_party/WebKit/Source:config", |
| 54 "//third_party/WebKit/Source:non_test_config", | 55 "//third_party/WebKit/Source:non_test_config", |
| 55 ] | 56 ] |
| 56 | 57 |
| 57 defines = [ "WTF_IMPLEMENTATION=1" ] | 58 defines = [ "WTF_IMPLEMENTATION=1" ] |
| 58 | 59 |
| 59 public_configs = [ | 60 public_configs = [ |
| 60 ":wtf_config", | 61 ":wtf_config", |
| 61 | 62 |
| 62 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 63 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 | 115 |
| 115 sources += [ "testing/RunAllTests.cpp" ] | 116 sources += [ "testing/RunAllTests.cpp" ] |
| 116 | 117 |
| 117 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 118 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 118 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 119 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 119 | 120 |
| 120 if (is_win) { | 121 if (is_win) { |
| 121 cflags = [ "/wd4068" ] # Unknown pragma. | 122 cflags = [ "/wd4068" ] # Unknown pragma. |
| 122 } | 123 } |
| 123 | 124 |
| 124 configs += [ "//third_party/WebKit/Source:config" ] | 125 configs += [ |
| 126 "//third_party/WebKit/Source:blink_pch", |
| 127 "//third_party/WebKit/Source:config", |
| 128 ] |
| 125 | 129 |
| 126 deps = [ | 130 deps = [ |
| 127 ":wtf", | 131 ":wtf", |
| 128 "//base", | 132 "//base", |
| 129 "//base/test:test_support", | 133 "//base/test:test_support", |
| 130 "//testing/gmock", | 134 "//testing/gmock", |
| 131 "//testing/gtest", | 135 "//testing/gtest", |
| 132 ] | 136 ] |
| 133 } | 137 } |
| OLD | NEW |