OLD | NEW |
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("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
7 import("//build/module_args/v8.gni") | 7 import("//build/module_args/v8.gni") |
8 import("//chrome/version.gni") | 8 import("//chrome/version.gni") |
9 import("//third_party/icu/config.gni") | 9 import("//third_party/icu/config.gni") |
10 import("channel.gni") | 10 import("channel.gni") |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 sources = [ | 160 sources = [ |
161 "java/ResourceId.template", | 161 "java/ResourceId.template", |
162 ] | 162 ] |
163 package_name = "org/chromium/chrome/browser" | 163 package_name = "org/chromium/chrome/browser" |
164 inputs = [ | 164 inputs = [ |
165 "../browser/android/resource_id.h", | 165 "../browser/android/resource_id.h", |
166 ] | 166 ] |
167 } | 167 } |
168 | 168 |
169 # GYP: //chrome/chrome_shell.gypi:libchromeshell_base | 169 # GYP: //chrome/chrome_shell.gypi:libchromeshell_base |
170 static_library("chrome_shell_base") { | 170 group("chrome_shell_base") { |
171 sources = [ | |
172 "shell/chrome_shell_google_location_settings_helper.cc", | |
173 "shell/chrome_shell_google_location_settings_helper.h", | |
174 ] | |
175 | |
176 deps = [ | 171 deps = [ |
177 "//chrome/browser/ui", | 172 "//chrome/browser/ui", |
178 "//chrome:chrome_android_core", | 173 "//chrome:chrome_android_core", |
179 "//base", | 174 "//base", |
180 "//base/allocator", | 175 "//base/allocator", |
181 "//content/public/app:browser", | 176 "//content/public/app:browser", |
182 "//skia", | 177 "//skia", |
183 ] | 178 ] |
184 | |
185 # Some android targets still depend on --gc-sections to link. | |
186 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). | |
187 ldflags = [ "-Wl,--gc-sections" ] | |
188 | |
189 # TODO(GYP): | 179 # TODO(GYP): |
190 #[ 'order_profiling!=0', { | 180 #[ 'order_profiling!=0', { |
191 #'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ], | 181 #'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ], |
192 #}], | 182 #}], |
193 } | 183 } |
194 | 184 |
195 # GYP: //chrome/chrome_shell.gypi:libchromeshell | 185 # GYP: //chrome/chrome_shell.gypi:libchromeshell |
196 shared_library("chrome_shell") { | 186 shared_library("chrome_shell") { |
197 testonly = true | 187 testonly = true |
198 sources = [ | 188 sources = [ |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
509 ] | 499 ] |
510 } | 500 } |
511 | 501 |
512 zip("chrome_version_srcjar") { | 502 zip("chrome_version_srcjar") { |
513 inputs = [ | 503 inputs = [ |
514 chrome_version_java_file, | 504 chrome_version_java_file, |
515 ] | 505 ] |
516 output = "$target_gen_dir/$target_name.srcjar" | 506 output = "$target_gen_dir/$target_name.srcjar" |
517 base_dir = chrome_version_java_dir | 507 base_dir = chrome_version_java_dir |
518 } | 508 } |
OLD | NEW |