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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//third_party/WebKit/Source/bindings/bindings.gni") | 6 import("//third_party/WebKit/Source/bindings/bindings.gni") |
7 import("//third_party/WebKit/Source/config.gni") | 7 import("//third_party/WebKit/Source/config.gni") |
8 import("//third_party/WebKit/Source/core/core.gni") | 8 import("//third_party/WebKit/Source/core/core.gni") |
9 import("//third_party/WebKit/Source/modules/modules.gni") | 9 import("//third_party/WebKit/Source/modules/modules.gni") |
10 import("//third_party/WebKit/Source/platform/platform.gni") | 10 import("//third_party/WebKit/Source/platform/platform.gni") |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 "//third_party/WebKit/Source:config", | 98 "//third_party/WebKit/Source:config", |
99 ] | 99 ] |
100 | 100 |
101 include_dirs = [ | 101 include_dirs = [ |
102 "$root_gen_dir/blink", | 102 "$root_gen_dir/blink", |
103 ] | 103 ] |
104 } | 104 } |
105 } | 105 } |
106 | 106 |
107 # GYP version: WebKit/Source/web/web_tests.gyp:webkit_unit_tests | 107 # GYP version: WebKit/Source/web/web_tests.gyp:webkit_unit_tests |
108 test("webkit_unit_tests") { | 108 if (!is_mac) { |
109 deps = [ | 109 # TODO(GYP): Can't link Blink binaries yet. |
110 ":test_support", | 110 test("webkit_unit_tests") { |
111 ":web", | 111 deps = [ |
112 "//base", | 112 ":test_support", |
113 "//base/test:test_support", | 113 ":web", |
114 "//base:i18n", | 114 "//base", |
115 "//content/test:test_support", | 115 "//base/test:test_support", |
116 "//testing/gmock", | 116 "//base:i18n", |
117 "//testing/gtest", | 117 "//content/test:test_support", |
118 "//third_party/WebKit/Source/wtf:test_support", | 118 "//testing/gmock", |
119 "//third_party/libwebp", | 119 "//testing/gtest", |
120 "//third_party/zlib", | 120 "//third_party/WebKit/Source/wtf:test_support", |
121 "//url", | 121 "//third_party/libwebp", |
122 "//v8", | 122 "//third_party/zlib", |
123 ] | 123 "//url", |
| 124 "//v8", |
| 125 ] |
124 | 126 |
125 sources = [ "tests/RunAllTests.cpp" ] | 127 sources = [ "tests/RunAllTests.cpp" ] |
126 | 128 |
127 configs += [ "//third_party/WebKit/Source:config" ] | 129 configs += [ "//third_party/WebKit/Source:config" ] |
128 | 130 |
129 if (!is_component_build) { | 131 if (!is_component_build) { |
130 deps += [ "//third_party/WebKit/Source/core" ] | 132 deps += [ "//third_party/WebKit/Source/core" ] |
131 | 133 |
132 configs += [ "//third_party/WebKit/Source:inside_blink" ] | 134 configs += [ "//third_party/WebKit/Source:inside_blink" ] |
133 | 135 |
134 sources += web_gypi.web_unittest_files | 136 sources += web_gypi.web_unittest_files |
135 sources += bindings_unittest_files | 137 sources += bindings_unittest_files |
136 sources += core_unittest_files | 138 sources += core_unittest_files |
137 sources += modules_unittest_files | 139 sources += modules_unittest_files |
138 sources += platform_web_unittest_files | 140 sources += platform_web_unittest_files |
| 141 } |
139 } | 142 } |
140 } | 143 } |
OLD | NEW |