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

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

Issue 1429263005: Revert of mandoline: Fix ICU initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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",
20 ] 21 ]
22
23 resources = [ "$root_out_dir/icudtl.dat" ]
21 } 24 }
22 25
23 shared_library("resource_provider_lib") { 26 shared_library("resource_provider_lib") {
24 sources = [ 27 sources = [
25 "android/android_hooks.cc", 28 "android/android_hooks.cc",
26 "main.cc", 29 "main.cc",
27 ] 30 ]
28 31
29 deps = [ 32 deps = [
30 ":jni_headers", 33 ":jni_headers",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 mojo_native_application("resource_provider") { 68 mojo_native_application("resource_provider") {
66 sources = [ 69 sources = [
67 "main.cc", 70 "main.cc",
68 ] 71 ]
69 72
70 deps = [ 73 deps = [
71 ":lib", 74 ":lib",
72 "//base", 75 "//base",
73 "//components/resource_provider/public/interfaces", 76 "//components/resource_provider/public/interfaces",
74 "//mojo/environment:chromium", 77 "//mojo/environment:chromium",
78 "//third_party/icu:icudata",
75 "//url", 79 "//url",
76 ] 80 ]
81
82 resources = [ "$root_out_dir/icudtl.dat" ]
77 } 83 }
78 } 84 }
79 85
80 source_set("lib") { 86 source_set("lib") {
81 sources = [ 87 sources = [
82 "file_utils.cc", 88 "file_utils.cc",
83 "file_utils.h", 89 "file_utils.h",
84 "resource_provider_app.cc", 90 "resource_provider_app.cc",
85 "resource_provider_app.h", 91 "resource_provider_app.h",
86 "resource_provider_impl.cc", 92 "resource_provider_impl.cc",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 "//base/test:test_config", 138 "//base/test:test_config",
133 "//components/resource_provider/public/cpp", 139 "//components/resource_provider/public/cpp",
134 "//components/resource_provider/public/interfaces", 140 "//components/resource_provider/public/interfaces",
135 "//mojo/application/public/cpp:test_support", 141 "//mojo/application/public/cpp:test_support",
136 ] 142 ]
137 143
138 data_deps = [ 144 data_deps = [
139 ":resource_provider", 145 ":resource_provider",
140 ] 146 ]
141 } 147 }
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