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 if (!is_mac) { | 19 if (!is_mac) { |
20 web_unittest_files += [ "tests/ScrollAnimatorTest.cpp" ] | 20 web_unittest_files += [ "tests/ScrollAnimatorTest.cpp" ] |
21 } | 21 } |
22 | 22 |
23 component("web") { | 23 component("web") { |
24 output_name = "blink_web" | 24 output_name = "blink_web" |
25 | 25 |
26 deps = [ | 26 deps = [ |
| 27 "//skia", |
27 "//third_party/WebKit/Source/core", | 28 "//third_party/WebKit/Source/core", |
28 "//third_party/WebKit/Source/modules", | 29 "//third_party/WebKit/Source/modules", |
29 "//third_party/WebKit/Source/platform", | 30 "//third_party/WebKit/Source/platform", |
30 "//skia", | 31 "//third_party/angle:translator", |
31 "//third_party/icu", | 32 "//third_party/icu", |
32 "//v8", | 33 "//v8", |
33 "//third_party/angle:translator", | |
34 ] | 34 ] |
35 | 35 |
36 include_dirs = [ "//third_party/skia/include/utils" ] | 36 include_dirs = [ "//third_party/skia/include/utils" ] |
37 | 37 |
38 configs += [ | 38 configs += [ |
39 "//third_party/WebKit/Source:config", | 39 "//third_party/WebKit/Source:config", |
40 "//third_party/WebKit/Source:inside_blink", | 40 "//third_party/WebKit/Source:inside_blink", |
41 "//third_party/WebKit/Source:non_test_config", | 41 "//third_party/WebKit/Source:non_test_config", |
42 ] | 42 ] |
43 | 43 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 | 101 |
102 # GYP version: WebKit/Source/web/web_tests.gyp:webkit_unit_tests | 102 # GYP version: WebKit/Source/web/web_tests.gyp:webkit_unit_tests |
103 test("webkit_unit_tests") { | 103 test("webkit_unit_tests") { |
104 visibility = [] # Allow re-assignment of list. | 104 visibility = [] # Allow re-assignment of list. |
105 visibility = [ "*" ] | 105 visibility = [ "*" ] |
106 | 106 |
107 deps = [ | 107 deps = [ |
108 ":test_support", | 108 ":test_support", |
109 ":web", | 109 ":web", |
110 "//base", | 110 "//base", |
| 111 "//base:i18n", |
111 "//base/test:test_support", | 112 "//base/test:test_support", |
112 "//base:i18n", | |
113 "//content/test:test_support", | 113 "//content/test:test_support", |
114 "//testing/gmock", | 114 "//testing/gmock", |
115 "//testing/gtest", | 115 "//testing/gtest", |
116 "//third_party/WebKit/Source/platform:test_support", | 116 "//third_party/WebKit/Source/platform:test_support", |
117 "//third_party/WebKit/Source/wtf:test_support", | 117 "//third_party/WebKit/Source/wtf:test_support", |
118 "//third_party/libwebp", | 118 "//third_party/libwebp", |
119 "//third_party/zlib", | 119 "//third_party/zlib", |
120 "//url", | 120 "//url", |
121 "//v8", | 121 "//v8", |
122 ] | 122 ] |
(...skipping 18 matching lines...) Expand all Loading... |
141 } | 141 } |
142 | 142 |
143 if (is_android) { | 143 if (is_android) { |
144 apk_deps = [ | 144 apk_deps = [ |
145 "//base:base_java", | 145 "//base:base_java", |
146 "//content/shell/android:content_shell_assets", | 146 "//content/shell/android:content_shell_assets", |
147 "//net/android:net_java", | 147 "//net/android:net_java", |
148 ] | 148 ] |
149 } | 149 } |
150 } | 150 } |
OLD | NEW |