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

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

Issue 1425853003: mandoline: Fix ICU initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to to Created 5 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 10
11 java_library_path = "$target_out_dir/java_library.dex.jar" 11 java_library_path = "$target_out_dir/java_library.dex.jar"
12 12
13 mojo_android_application("resource_provider") { 13 mojo_android_application("resource_provider") {
14 input_so = 14 input_so =
15 "$root_shlib_dir/${shlib_prefix}resource_provider_lib$shlib_extension" 15 "$root_shlib_dir/${shlib_prefix}resource_provider_lib$shlib_extension"
16 input_dex_jar = java_library_path 16 input_dex_jar = java_library_path
17 deps = [ 17 deps = [
18 ":java_library", 18 ":java_library",
19 ":resource_provider_lib", 19 ":resource_provider_lib",
20 "//third_party/icu:icudata",
21 ] 20 ]
22
23 resources = [ "$root_out_dir/icudtl.dat" ]
24 } 21 }
25 22
26 shared_library("resource_provider_lib") { 23 shared_library("resource_provider_lib") {
27 sources = [ 24 sources = [
28 "android/android_hooks.cc", 25 "android/android_hooks.cc",
29 "main.cc", 26 "main.cc",
30 ] 27 ]
31 28
32 deps = [ 29 deps = [
33 ":jni_headers", 30 ":jni_headers",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 mojo_native_application("resource_provider") { 65 mojo_native_application("resource_provider") {
69 sources = [ 66 sources = [
70 "main.cc", 67 "main.cc",
71 ] 68 ]
72 69
73 deps = [ 70 deps = [
74 ":lib", 71 ":lib",
75 "//base", 72 "//base",
76 "//components/resource_provider/public/interfaces", 73 "//components/resource_provider/public/interfaces",
77 "//mojo/environment:chromium", 74 "//mojo/environment:chromium",
78 "//third_party/icu:icudata",
79 "//url", 75 "//url",
80 ] 76 ]
81
82 resources = [ "$root_out_dir/icudtl.dat" ]
83 } 77 }
84 } 78 }
85 79
86 source_set("lib") { 80 source_set("lib") {
87 sources = [ 81 sources = [
88 "file_utils.cc", 82 "file_utils.cc",
89 "file_utils.h", 83 "file_utils.h",
90 "resource_provider_app.cc", 84 "resource_provider_app.cc",
91 "resource_provider_app.h", 85 "resource_provider_app.h",
92 "resource_provider_impl.cc", 86 "resource_provider_impl.cc",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 "//base/test:test_config", 132 "//base/test:test_config",
139 "//components/resource_provider/public/cpp", 133 "//components/resource_provider/public/cpp",
140 "//components/resource_provider/public/interfaces", 134 "//components/resource_provider/public/interfaces",
141 "//mojo/application/public/cpp:test_support", 135 "//mojo/application/public/cpp:test_support",
142 ] 136 ]
143 137
144 data_deps = [ 138 data_deps = [
145 ":resource_provider", 139 ":resource_provider",
146 ] 140 ]
147 } 141 }
OLDNEW
« no previous file with comments | « components/html_viewer/html_viewer_main.cc ('k') | components/resource_provider/public/cpp/resource_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698