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

Side by Side Diff: components/html_viewer/BUILD.gn

Issue 1109993002: Adds support for mojo apps to live in their own directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge to trunk and move filename_util to own dir Created 5 years, 7 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 | « no previous file | mojo/mojo_application_package.gni » ('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/mojo_application_package.gni")
5 import("//testing/test.gni") 6 import("//testing/test.gni")
6 import("//third_party/mojo/src/mojo/public/mojo.gni") 7 import("//third_party/mojo/src/mojo/public/mojo.gni")
7 import("//third_party/mojo/src/mojo/public/mojo_application.gni") 8 import("//third_party/mojo/src/mojo/public/mojo_application.gni")
8 import("//tools/grit/repack.gni") 9 import("//tools/grit/repack.gni")
9 10
10 # Repack this here. 11 # Repack this here.
11 repack("unified_blink_resources") { 12 repack("unified_blink_resources") {
12 sources = [ 13 sources = [
13 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak" , 14 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak" ,
14 "$root_gen_dir/blink/public/resources/blink_resources.pak", 15 "$root_gen_dir/blink/public/resources/blink_resources.pak",
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 195
195 deps = [ 196 deps = [
196 ":html_viewer_java_classes", 197 ":html_viewer_java_classes",
197 198
198 # TODO(sky): this is WAY more than we need. We really only need 199 # TODO(sky): this is WAY more than we need. We really only need
199 # DeviceDisplayInfo. Refactor to make this clearer. 200 # DeviceDisplayInfo. Refactor to make this clearer.
200 "//ui/android:ui_java", 201 "//ui/android:ui_java",
201 ] 202 ]
202 } 203 }
203 } else { 204 } else {
204 mojo_native_application("html_viewer") { 205 mojo_application_package("html_viewer") {
205 sources = [ 206 sources = [
206 "html_viewer.cc", 207 "html_viewer.cc",
207 ] 208 ]
208 deps = [ 209 deps = [
209 ":lib", 210 ":lib",
211 "//ui/resources:ui_test_pak",
210 ] 212 ]
213 resources = [ "$root_out_dir/ui_test.pak" ]
211 data_deps = [ "//mojo/services/network:network" ] 214 data_deps = [ "//mojo/services/network:network" ]
212 } 215 }
213 } 216 }
214 217
215 test("tests") { 218 test("tests") {
216 output_name = "html_viewer_unittests" 219 output_name = "html_viewer_unittests"
217 sources = [ 220 sources = [
218 "ax_provider_impl_unittest.cc", 221 "ax_provider_impl_unittest.cc",
219 "discardable_memory_allocator_unittest.cc", 222 "discardable_memory_allocator_unittest.cc",
220 ] 223 ]
(...skipping 12 matching lines...) Expand all
233 ] 236 ]
234 237
235 deps = [ 238 deps = [
236 ":lib", 239 ":lib",
237 ":html_viewer", 240 ":html_viewer",
238 "//mojo/application:test_support", 241 "//mojo/application:test_support",
239 "//net:test_support", 242 "//net:test_support",
240 "//testing/gtest", 243 "//testing/gtest",
241 ] 244 ]
242 } 245 }
OLDNEW
« no previous file with comments | « no previous file | mojo/mojo_application_package.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698