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

Side by Side Diff: sky/viewer/BUILD.gn

Issue 752683002: Break Sky's dependency on cc (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | sky/viewer/cc/BUILD.gn » ('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("//mojo/public/mojo_application.gni") 5 import("//mojo/public/mojo_application.gni")
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 7
8 mojo_native_application("viewer") { 8 mojo_native_application("viewer") {
9 output_name = "sky_viewer" 9 output_name = "sky_viewer"
10 10
11 sources = [ 11 sources = [
12 "content_handler_impl.cc", 12 "content_handler_impl.cc",
13 "content_handler_impl.h", 13 "content_handler_impl.h",
14 "converters/basic_types.cc", 14 "converters/basic_types.cc",
15 "converters/basic_types.h", 15 "converters/basic_types.h",
16 "converters/input_event_types.cc", 16 "converters/input_event_types.cc",
17 "converters/input_event_types.h", 17 "converters/input_event_types.h",
18 "converters/url_request_types.cc", 18 "converters/url_request_types.cc",
19 "converters/url_request_types.h", 19 "converters/url_request_types.h",
20 "document_view.cc", 20 "document_view.cc",
21 "document_view.h", 21 "document_view.h",
22 "internals.cc", 22 "internals.cc",
23 "internals.h", 23 "internals.h",
24 "platform/platform_impl.cc", 24 "platform/platform_impl.cc",
25 "platform/platform_impl.h", 25 "platform/platform_impl.h",
26 "platform/weblayertreeview_impl.cc",
27 "platform/weblayertreeview_impl.h",
28 "platform/weburlloader_impl.cc", 26 "platform/weburlloader_impl.cc",
29 "platform/weburlloader_impl.h", 27 "platform/weburlloader_impl.h",
30 "script/script_runner.cc", 28 "script/script_runner.cc",
31 "script/script_runner.h", 29 "script/script_runner.h",
32 "services/tracing_impl.cc", 30 "services/tracing_impl.cc",
33 "services/tracing_impl.h", 31 "services/tracing_impl.h",
34 "services/inspector_impl.cc", 32 "services/inspector_impl.cc",
35 "services/inspector_impl.h", 33 "services/inspector_impl.h",
36 "viewer.cc", 34 "viewer.cc",
37 ] 35 ]
38 36
39 include_dirs = [ ".." ] 37 include_dirs = [ ".." ]
40 38
41 deps = [ 39 deps = [
42 ":bindings", 40 ":bindings",
43 ":sky_modules", 41 ":sky_modules",
44 "//base:i18n", 42 "//base:i18n",
45 "//cc",
46 "//cc/surfaces",
47 "//gin", 43 "//gin",
48 "//mojo/application", 44 "//mojo/application",
49 "//mojo/cc",
50 "//mojo/common", 45 "//mojo/common",
51 "//mojo/converters/geometry", 46 "//mojo/converters/geometry",
52 "//mojo/converters/surfaces", 47 "//mojo/converters/surfaces",
53 "//mojo/edk/js", 48 "//mojo/edk/js",
54 "//mojo/public/c/system:for_shared_library", 49 "//mojo/public/c/system:for_shared_library",
55 "//mojo/public/cpp/bindings", 50 "//mojo/public/cpp/bindings",
56 "//mojo/public/cpp/system", 51 "//mojo/public/cpp/system",
57 "//mojo/public/cpp/utility", 52 "//mojo/public/cpp/utility",
58 "//mojo/public/interfaces/application", 53 "//mojo/public/interfaces/application",
59 "//mojo/services/public/cpp/view_manager", 54 "//mojo/services/public/cpp/view_manager",
60 "//mojo/services/public/interfaces/content_handler", 55 "//mojo/services/public/interfaces/content_handler",
61 "//mojo/services/public/interfaces/gpu", 56 "//mojo/services/public/interfaces/gpu",
62 "//mojo/services/public/interfaces/input_events", 57 "//mojo/services/public/interfaces/input_events",
63 "//mojo/services/public/interfaces/navigation", 58 "//mojo/services/public/interfaces/navigation",
64 "//mojo/services/public/interfaces/network", 59 "//mojo/services/public/interfaces/network",
65 "//mojo/services/public/interfaces/surfaces", 60 "//mojo/services/public/interfaces/surfaces",
66 "//net", 61 "//net",
67 "//skia", 62 "//skia",
68 "//sky/compositor", 63 "//sky/compositor",
69 "//sky/engine", 64 "//sky/engine",
70 "//sky/engine/v8_inspector", 65 "//sky/engine/v8_inspector",
71 "//sky/services/inspector:bindings", 66 "//sky/services/inspector:bindings",
72 "//sky/services/testing:bindings", 67 "//sky/services/testing:bindings",
73 "//sky/viewer/cc",
74 "//third_party/icu", 68 "//third_party/icu",
75 "//ui/native_theme", 69 "//ui/native_theme",
76 "//url", 70 "//url",
77 ] 71 ]
78 } 72 }
79 73
80 mojom("bindings") { 74 mojom("bindings") {
81 sources = [ 75 sources = [
82 "services/tracing.mojom", 76 "services/tracing.mojom",
83 "services/inspector.mojom", 77 "services/inspector.mojom",
84 ] 78 ]
85 } 79 }
86 80
87 copy("sky_modules") { 81 copy("sky_modules") {
88 sources = [ 82 sources = [
89 "script/core.sky", 83 "script/core.sky",
90 "script/support.sky", 84 "script/support.sky",
91 ] 85 ]
92 outputs = [ 86 outputs = [
93 "$root_gen_dir/mojo/public/sky/{{source_file_part}}", 87 "$root_gen_dir/mojo/public/sky/{{source_file_part}}",
94 ] 88 ]
95 } 89 }
OLDNEW
« no previous file with comments | « no previous file | sky/viewer/cc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698