Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(807)

Side by Side Diff: sky/engine/web/BUILD.gn

Issue 867093002: Remove unused "Web" interfaces (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: A couple more Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/engine/public/web/WebViewClient.h ('k') | sky/engine/web/WebArrayBufferConverter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//sky/engine/config.gni") 6 import("//sky/engine/config.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 visibility = [ "//sky/*" ] 9 visibility = [ "//sky/*" ]
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 "ChromeClientImpl.h", 44 "ChromeClientImpl.h",
45 "CompositionUnderlineBuilder.h", 45 "CompositionUnderlineBuilder.h",
46 "CompositionUnderlineVectorBuilder.cpp", 46 "CompositionUnderlineVectorBuilder.cpp",
47 "CompositionUnderlineVectorBuilder.h", 47 "CompositionUnderlineVectorBuilder.h",
48 "EditorClientImpl.cpp", 48 "EditorClientImpl.cpp",
49 "EditorClientImpl.h", 49 "EditorClientImpl.h",
50 "FrameLoaderClientImpl.cpp", 50 "FrameLoaderClientImpl.cpp",
51 "FrameLoaderClientImpl.h", 51 "FrameLoaderClientImpl.h",
52 "SpellCheckerClientImpl.cpp", 52 "SpellCheckerClientImpl.cpp",
53 "SpellCheckerClientImpl.h", 53 "SpellCheckerClientImpl.h",
54 "WebArrayBufferConverter.cpp",
55 "WebArrayBufferView.cpp",
56 "WebCache.cpp", 54 "WebCache.cpp",
57 "WebCachedURLRequest.cpp", 55 "WebCachedURLRequest.cpp",
58 "WebDocument.cpp", 56 "WebDocument.cpp",
59 "WebElement.cpp", 57 "WebElement.cpp",
60 "WebFontDescription.cpp", 58 "WebFontDescription.cpp",
61 "WebFontImpl.cpp", 59 "WebFontImpl.cpp",
62 "WebFontImpl.h", 60 "WebFontImpl.h",
63 "WebFrame.cpp", 61 "WebFrame.cpp",
64 "WebGlyphCache.cpp",
65 "WebHitTestResult.cpp", 62 "WebHitTestResult.cpp",
66 "WebImageCache.cpp",
67 "WebImageDecoder.cpp",
68 "WebInputEventConversion.cpp", 63 "WebInputEventConversion.cpp",
69 "WebInputEventConversion.h", 64 "WebInputEventConversion.h",
70 "Sky.cpp", 65 "Sky.cpp",
71 "WebLeakDetector.cpp", 66 "WebLeakDetector.cpp",
72 "WebLocalFrameImpl.cpp", 67 "WebLocalFrameImpl.cpp",
73 "WebLocalFrameImpl.h", 68 "WebLocalFrameImpl.h",
74 "WebNode.cpp", 69 "WebNode.cpp",
75 "WebRange.cpp", 70 "WebRange.cpp",
76 "WebRuntimeFeatures.cpp", 71 "WebRuntimeFeatures.cpp",
77 "WebScriptBindings.cpp",
78 "WebScriptController.cpp",
79 "WebSettingsImpl.cpp", 72 "WebSettingsImpl.cpp",
80 "WebSettingsImpl.h", 73 "WebSettingsImpl.h",
81 "WebTextCheckingCompletionImpl.cpp", 74 "WebTextCheckingCompletionImpl.cpp",
82 "WebTextCheckingCompletionImpl.h", 75 "WebTextCheckingCompletionImpl.h",
83 "WebTextCheckingResult.cpp", 76 "WebTextCheckingResult.cpp",
84 "WebTextInputInfo.cpp", 77 "WebTextInputInfo.cpp",
85 "WebTextRun.cpp", 78 "WebTextRun.cpp",
86 "WebViewImpl.cpp", 79 "WebViewImpl.cpp",
87 "WebViewImpl.h", 80 "WebViewImpl.h",
88 "linux/WebFontRendering.cpp", 81 "linux/WebFontRendering.cpp",
89 ] 82 ]
90
91 if (is_component_build) {
92 deps += [
93 "//base/test:test_support",
94 "//testing/gmock",
95 "//testing/gtest",
96 "//sky/engine/core:testing",
97 ]
98
99 configs -= [ "//sky/engine:non_test_config" ]
100
101 sources += platform_web_unittest_files
102
103 sources += [ "WebTestingSupport.cpp" ]
104 }
105 }
106
107 source_set("test_support") {
108 if (!is_component_build) {
109 deps = [
110 "//skia",
111 "//sky/engine/core:testing",
112 "//sky/engine/wtf",
113 ]
114
115 sources = [
116 "WebTestingSupport.cpp",
117 ]
118
119 configs -= [ "//build/config/compiler:chromium_code" ]
120 configs += [
121 "//build/config/compiler:no_chromium_code",
122 "//sky/engine:config",
123 ]
124 }
125 } 83 }
126 84
127 test("sky_unittests") { 85 test("sky_unittests") {
128 deps = [ 86 deps = [
129 "//base", 87 "//base",
130 "//base/test:test_support", 88 "//base/test:test_support",
131 "//base:i18n", 89 "//base:i18n",
132 "//sky/engine/testing/platform", 90 "//sky/engine/testing/platform",
133 "//sky/engine/wtf:test_support", 91 "//sky/engine/wtf:test_support",
134 "//testing/gmock", 92 "//testing/gmock",
135 "//testing/gtest", 93 "//testing/gtest",
136 "//third_party/zlib", 94 "//third_party/zlib",
137 "//url", 95 "//url",
138 "//v8", 96 "//v8",
139 ":test_support",
140 ":web", 97 ":web",
141 ] 98 ]
142 99
143 # TODO(abarth): This is a lie - this test is not embedded in an environment 100 # TODO(abarth): This is a lie - this test is not embedded in an environment
144 # that injects the system thunks, so system calls don't actually work. This 101 # that injects the system thunks, so system calls don't actually work. This
145 # just tricks the linker into thinking that an implementation of these calls 102 # just tricks the linker into thinking that an implementation of these calls
146 # will be injected at runtime so the link succeeds. 103 # will be injected at runtime so the link succeeds.
147 deps += [ "//mojo/public/platform/native:system" ] 104 deps += [ "//mojo/public/platform/native:system" ]
148 105
149 sources = [ 106 sources = [
150 "tests/RunAllTests.cpp", 107 "tests/RunAllTests.cpp",
151 ] 108 ]
152 109
153 configs += [ "//sky/engine:config" ] 110 configs += [ "//sky/engine:config" ]
154 111
155 if (!is_component_build) { 112 if (!is_component_build) {
156 deps += [ "//sky/engine/core" ] 113 deps += [ "//sky/engine/core" ]
157 114
158 configs += [ "//sky/engine:inside_blink" ] 115 configs += [ "//sky/engine:inside_blink" ]
159 116
160 sources += platform_web_unittest_files 117 sources += platform_web_unittest_files
161 } 118 }
162 } 119 }
OLDNEW
« no previous file with comments | « sky/engine/public/web/WebViewClient.h ('k') | sky/engine/web/WebArrayBufferConverter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698