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

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 tot 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 mojo_native_application("resource_provider") { 64 mojo_native_application("resource_provider") {
68 sources = [ 65 sources = [
69 "main.cc", 66 "main.cc",
70 ] 67 ]
71 68
72 deps = [ 69 deps = [
73 ":lib", 70 ":lib",
74 "//base", 71 "//base",
75 "//components/resource_provider/public/interfaces", 72 "//components/resource_provider/public/interfaces",
76 "//mojo/environment:chromium", 73 "//mojo/environment:chromium",
77 "//third_party/icu:icudata",
78 "//url", 74 "//url",
79 ] 75 ]
80
81 resources = [ "$root_out_dir/icudtl.dat" ]
82 } 76 }
83 } 77 }
84 78
85 source_set("lib") { 79 source_set("lib") {
86 sources = [ 80 sources = [
87 "file_utils.cc", 81 "file_utils.cc",
88 "file_utils.h", 82 "file_utils.h",
89 "resource_provider_app.cc", 83 "resource_provider_app.cc",
90 "resource_provider_app.h", 84 "resource_provider_app.h",
91 "resource_provider_impl.cc", 85 "resource_provider_impl.cc",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 "//components/resource_provider/public/cpp", 132 "//components/resource_provider/public/cpp",
139 "//components/resource_provider/public/interfaces", 133 "//components/resource_provider/public/interfaces",
140 "//mojo/application/public/cpp:test_support", 134 "//mojo/application/public/cpp:test_support",
141 "//mojo/platform_handle", 135 "//mojo/platform_handle",
142 ] 136 ]
143 137
144 data_deps = [ 138 data_deps = [
145 ":resource_provider", 139 ":resource_provider",
146 ] 140 ]
147 } 141 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698