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

Side by Side Diff: mojo/services/html_viewer/BUILD.gn

Issue 827223002: [mojo] Make HTML viewer load the blink resources from the generated pak file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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.gni") 5 import("//mojo/public/mojo.gni")
6 import("//mojo/public/mojo_application.gni") 6 import("//mojo/public/mojo_application.gni")
7 7
8 copy("copy_blink_resources") {
9 sources = [
10 "$root_out_dir/gen/blink/public/resources/blink_resources.pak",
11 ]
12 outputs = [
13 "$root_out_dir/blink_resources.pak",
14 ]
15
16 public_deps = [
17 "//third_party/WebKit/public:resources",
18 ]
19 }
20
8 source_set("lib") { 21 source_set("lib") {
9 sources = [ 22 sources = [
10 "ax_provider_impl.cc", 23 "ax_provider_impl.cc",
11 "ax_provider_impl.h", 24 "ax_provider_impl.h",
12 "blink_basic_type_converters.cc", 25 "blink_basic_type_converters.cc",
13 "blink_basic_type_converters.h", 26 "blink_basic_type_converters.h",
14 "blink_input_events_type_converters.cc", 27 "blink_input_events_type_converters.cc",
15 "blink_input_events_type_converters.h", 28 "blink_input_events_type_converters.h",
16 "blink_platform_impl.cc", 29 "blink_platform_impl.cc",
17 "blink_platform_impl.h", 30 "blink_platform_impl.h",
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 "//mojo/services/network/public/interfaces", 87 "//mojo/services/network/public/interfaces",
75 "//mojo/services/surfaces/public/interfaces", 88 "//mojo/services/surfaces/public/interfaces",
76 "//net", 89 "//net",
77 "//skia", 90 "//skia",
78 "//ui/native_theme", 91 "//ui/native_theme",
79 "//url", 92 "//url",
80 ] 93 ]
81 94
82 public_deps = [ 95 public_deps = [
83 "//third_party/WebKit/public:blink", 96 "//third_party/WebKit/public:blink",
97 ":copy_blink_resources",
84 ] 98 ]
85 } 99 }
86 100
87 mojo_native_application("html_viewer") { 101 mojo_native_application("html_viewer") {
88 sources = [ 102 sources = [
89 "html_viewer.cc", 103 "html_viewer.cc",
90 ] 104 ]
91 deps = [ 105 deps = [
92 ":lib", 106 ":lib",
93 ] 107 ]
94 } 108 }
95 109
96 test("tests") { 110 test("tests") {
97 output_name = "html_viewer_unittests" 111 output_name = "html_viewer_unittests"
98 sources = [ 112 sources = [
99 "ax_provider_impl_unittest.cc", 113 "ax_provider_impl_unittest.cc",
100 ] 114 ]
101 deps = [ 115 deps = [
102 ":lib", 116 ":lib",
103 "//base/test:run_all_unittests", 117 "//base/test:run_all_unittests",
104 ] 118 ]
105 } 119 }
OLDNEW
« no previous file with comments | « no previous file | mojo/services/html_viewer/DEPS » ('j') | mojo/services/html_viewer/blink_platform_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698