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("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//third_party/WebKit/Source/bindings/bindings.gni") | 7 import("//third_party/WebKit/Source/bindings/bindings.gni") |
8 import("//third_party/WebKit/Source/config.gni") | 8 import("//third_party/WebKit/Source/config.gni") |
9 import("//third_party/WebKit/Source/core/core.gni") | 9 import("//third_party/WebKit/Source/core/core.gni") |
10 import("//third_party/WebKit/Source/modules/modules.gni") | 10 import("//third_party/WebKit/Source/modules/modules.gni") |
11 import("//third_party/WebKit/Source/platform/platform.gni") | 11 import("//third_party/WebKit/Source/platform/platform.gni") |
12 | 12 |
13 visibility = [ "//third_party/WebKit/*" ] | 13 visibility = [ "//third_party/WebKit/*" ] |
14 web_gypi = exec_script("//build/gypi_to_gn.py", | 14 web_gypi = exec_script("//build/gypi_to_gn.py", |
15 [ rebase_path("web.gypi") ], | 15 [ rebase_path("web.gypi") ], |
16 "scope", | 16 "scope", |
17 [ "web.gypi" ]) | 17 [ "web.gypi" ]) |
18 web_unittest_files = web_gypi.web_unittest_files | 18 web_unittest_files = web_gypi.web_unittest_files |
19 | 19 |
20 component("web") { | 20 component("web") { |
21 output_name = "blink_web" | 21 output_name = "blink_web" |
22 | 22 |
23 deps = [ | 23 deps = [ |
24 "//skia", | |
25 "//third_party/WebKit/Source/core", | 24 "//third_party/WebKit/Source/core", |
26 "//third_party/WebKit/Source/modules", | 25 "//third_party/WebKit/Source/modules", |
27 "//third_party/WebKit/Source/platform", | 26 "//third_party/WebKit/Source/platform", |
28 "//third_party/angle:translator", | 27 "//skia", |
29 "//third_party/icu", | 28 "//third_party/icu", |
30 "//v8", | 29 "//v8", |
| 30 "//third_party/angle:translator", |
31 ] | 31 ] |
32 | 32 |
33 include_dirs = [ "//third_party/skia/include/utils" ] | 33 include_dirs = [ "//third_party/skia/include/utils" ] |
34 | 34 |
35 configs += [ | 35 configs += [ |
36 "//third_party/WebKit/Source:config", | 36 "//third_party/WebKit/Source:config", |
37 "//third_party/WebKit/Source:inside_blink", | 37 "//third_party/WebKit/Source:inside_blink", |
38 "//third_party/WebKit/Source:non_test_config", | 38 "//third_party/WebKit/Source:non_test_config", |
39 ] | 39 ] |
40 | 40 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 98 |
99 # GYP version: WebKit/Source/web/web_tests.gyp:webkit_unit_tests | 99 # GYP version: WebKit/Source/web/web_tests.gyp:webkit_unit_tests |
100 test("webkit_unit_tests") { | 100 test("webkit_unit_tests") { |
101 visibility = [] # Allow re-assignment of list. | 101 visibility = [] # Allow re-assignment of list. |
102 visibility = [ "*" ] | 102 visibility = [ "*" ] |
103 | 103 |
104 deps = [ | 104 deps = [ |
105 ":test_support", | 105 ":test_support", |
106 ":web", | 106 ":web", |
107 "//base", | 107 "//base", |
| 108 "//base/test:test_support", |
108 "//base:i18n", | 109 "//base:i18n", |
109 "//base/test:test_support", | |
110 "//content/test:test_support", | 110 "//content/test:test_support", |
111 "//testing/gmock", | 111 "//testing/gmock", |
112 "//testing/gtest", | 112 "//testing/gtest", |
113 "//third_party/WebKit/Source/platform:test_support", | 113 "//third_party/WebKit/Source/platform:test_support", |
114 "//third_party/WebKit/Source/wtf", | |
115 "//third_party/WebKit/Source/wtf:test_support", | 114 "//third_party/WebKit/Source/wtf:test_support", |
116 "//third_party/libwebp", | 115 "//third_party/libwebp", |
117 "//third_party/zlib", | 116 "//third_party/zlib", |
118 "//url", | 117 "//url", |
119 "//v8", | 118 "//v8", |
120 ] | 119 ] |
121 | 120 |
122 sources = [ | 121 sources = [ |
123 "tests/RunAllTests.cpp", | 122 "tests/RunAllTests.cpp", |
124 ] | 123 ] |
(...skipping 14 matching lines...) Expand all Loading... |
139 } | 138 } |
140 | 139 |
141 if (is_android) { | 140 if (is_android) { |
142 apk_deps = [ | 141 apk_deps = [ |
143 "//base:base_java", | 142 "//base:base_java", |
144 "//content/shell/android:content_shell_assets", | 143 "//content/shell/android:content_shell_assets", |
145 "//net/android:net_java", | 144 "//net/android:net_java", |
146 ] | 145 ] |
147 } | 146 } |
148 } | 147 } |
OLD | NEW |