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

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

Issue 1210153009: Remove (almost all of) //sky/engine/web (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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/web/AssertMatchingEnums.cpp ('k') | sky/engine/web/ChromeClientImpl.h » ('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")
6 import("//sky/engine/config.gni")
7 import("//testing/test.gni")
8
9 visibility = [ "//sky/*" ] 5 visibility = [ "//sky/*" ]
10 6
11 platform_web_unittest_files = [
12 "//sky/engine/platform/graphics/BitmapImageTest.cpp",
13 "//sky/engine/platform/graphics/DeferredImageDecoderTest.cpp",
14 "//sky/engine/platform/graphics/ImageDecodingStoreTest.cpp",
15 "//sky/engine/platform/graphics/ImageFrameGeneratorTest.cpp",
16 "//sky/engine/platform/graphics/test/MockImageDecoder.h",
17 "//sky/engine/platform/graphics/test/MockWebGraphicsContext3D.h",
18 "//sky/engine/platform/image-decoders/gif/GIFImageDecoderTest.cpp",
19 "//sky/engine/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp",
20 ]
21
22 component("web") { 7 component("web") {
23 output_name = "sky_web" 8 output_name = "sky_web"
24 9
25 deps = [ 10 deps = [
26 "//sky/engine/core", 11 "//sky/engine/core",
27 "//sky/engine/platform", 12 "//sky/engine/platform",
28 ] 13 ]
29 14
30 configs += [ 15 configs += [
31 "//sky/engine:config", 16 "//sky/engine:config",
32 "//sky/engine:inside_blink", 17 "//sky/engine:inside_blink",
33 "//sky/engine:non_test_config", 18 "//sky/engine:non_test_config",
34 ] 19 ]
35 20
36 sources = [ 21 sources = [
37 "AssertMatchingEnums.cpp",
38 "ChromeClientImpl.cpp",
39 "ChromeClientImpl.h",
40 "CompositionUnderlineBuilder.h",
41 "CompositionUnderlineVectorBuilder.cpp",
42 "CompositionUnderlineVectorBuilder.h",
43 "EditorClientImpl.cpp",
44 "EditorClientImpl.h",
45 "FrameLoaderClientImpl.cpp",
46 "FrameLoaderClientImpl.h",
47 "SpellCheckerClientImpl.cpp",
48 "SpellCheckerClientImpl.h",
49 "WebCache.cpp",
50 "WebCachedURLRequest.cpp",
51 "WebDocument.cpp",
52 "WebElement.cpp",
53 "WebFontDescription.cpp",
54 "WebFontImpl.cpp",
55 "WebFontImpl.h",
56 "WebFrame.cpp",
57 "Sky.cpp", 22 "Sky.cpp",
58 "WebLocalFrameImpl.cpp",
59 "WebLocalFrameImpl.h",
60 "WebNode.cpp",
61 "WebRange.cpp",
62 "WebRuntimeFeatures.cpp", 23 "WebRuntimeFeatures.cpp",
63 "WebSettingsImpl.cpp",
64 "WebSettingsImpl.h",
65 "WebTextCheckingCompletionImpl.cpp",
66 "WebTextCheckingCompletionImpl.h",
67 "WebTextCheckingResult.cpp",
68 "WebTextInputInfo.cpp",
69 "WebTextRun.cpp",
70 "WebViewImpl.cpp",
71 "WebViewImpl.h",
72 "linux/WebFontRendering.cpp",
73 ] 24 ]
74 } 25 }
75
76 test("sky_unittests") {
77 deps = [
78 "//base",
79 "//base/test:test_support",
80 "//base:i18n",
81 "//sky/engine/testing/platform",
82 "//sky/engine/wtf:test_support",
83 "//testing/gmock",
84 "//testing/gtest",
85 "//third_party/zlib",
86 "//url",
87 ":web",
88 ]
89
90 # TODO(abarth): This is a lie - this test is not embedded in an environment
91 # that injects the system thunks, so system calls don't actually work. This
92 # just tricks the linker into thinking that an implementation of these calls
93 # will be injected at runtime so the link succeeds.
94 deps += [ "//mojo/public/platform/native:system" ]
95
96 sources = [
97 "tests/RunAllTests.cpp",
98 ]
99
100 configs += [ "//sky/engine:config" ]
101
102 if (!is_component_build) {
103 deps += [ "//sky/engine/core" ]
104
105 configs += [ "//sky/engine:inside_blink" ]
106
107 sources += platform_web_unittest_files
108 }
109 }
OLDNEW
« no previous file with comments | « sky/engine/web/AssertMatchingEnums.cpp ('k') | sky/engine/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698