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("//chrome/version.gni") | 7 import("//chrome/version.gni") |
8 import("//third_party/icu/config.gni") | 8 import("//third_party/icu/config.gni") |
9 | 9 |
10 | 10 |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 | 199 |
200 deps = [ | 200 deps = [ |
201 "//chrome/browser/ui", | 201 "//chrome/browser/ui", |
202 "//chrome:chrome_android_core", | 202 "//chrome:chrome_android_core", |
203 "//base", | 203 "//base", |
204 "//base/allocator", | 204 "//base/allocator", |
205 "//content/public/app:browser", | 205 "//content/public/app:browser", |
206 "//skia", | 206 "//skia", |
207 ] | 207 ] |
208 | 208 |
| 209 ldflags = [ "-Wl,--gc-sections" ] |
| 210 |
209 # TODO(GYP): | 211 # TODO(GYP): |
210 #[ 'order_profiling!=0', { | 212 #[ 'order_profiling!=0', { |
211 #'conditions': [ | 213 #'conditions': [ |
212 #[ 'OS=="android"', { | 214 #[ 'OS=="android"', { |
213 #'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ], | 215 #'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ], |
214 #}], | 216 #}], |
215 #], | 217 #], |
216 #}], | 218 #}], |
217 } | 219 } |
218 | 220 |
219 # TODO(GYP, cjhopman): make chrome_shell_base actually link and then move it to | |
220 # deps. Also, actually compile the main delegates at that point. | |
221 # GYP: //chrome/chrome_browser.gypi:libchromeshell | 221 # GYP: //chrome/chrome_browser.gypi:libchromeshell |
222 shared_library("chrome_shell") { | 222 shared_library("chrome_shell") { |
223 testonly = true | 223 testonly = true |
224 sources = [ | 224 sources = [ |
225 # This file must always be included in the shared_library step to ensure | 225 # This file must always be included in the shared_library step to ensure |
226 # JNI_OnLoad is exported. | 226 # JNI_OnLoad is exported. |
227 #"//chrome/app/android/chrome_jni_onload.cc", | 227 "//chrome/app/android/chrome_jni_onload.cc", |
228 #"shell/chrome_main_delegate_chrome_shell_android.cc", | 228 "shell/chrome_main_delegate_chrome_shell_android.cc", |
229 #"shell/chrome_main_delegate_chrome_shell_android.h", | 229 "shell/chrome_main_delegate_chrome_shell_android.h", |
230 ] | 230 ] |
231 deps = [ | 231 deps = [ |
232 #":chrome_shell_base", | 232 ":chrome_shell_base", |
233 ] | |
234 deps = [ ":chrome_java" ] | |
235 datadeps = [ | |
236 ":chrome_shell_base" | |
237 ] | 233 ] |
238 } | 234 } |
239 | 235 |
240 # GYP: //chrome/chrome_browser.gypi:libchromesyncshell | 236 # GYP: //chrome/chrome_browser.gypi:libchromesyncshell |
241 shared_library("chrome_sync_shell") { | 237 shared_library("chrome_sync_shell") { |
242 testonly = true | 238 testonly = true |
243 sources = [ | 239 sources = [ |
244 # This file must always be included in the shared_library step to ensure | 240 # This file must always be included in the shared_library step to ensure |
245 # JNI_OnLoad is exported. | 241 # JNI_OnLoad is exported. |
246 #"//chrome/app/android/chrome_jni_onload.cc", | 242 #"//chrome/app/android/chrome_jni_onload.cc", |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 process_version("chrome_version_java") { | 492 process_version("chrome_version_java") { |
497 source = "java/ChromeVersionConstants.java.version" | 493 source = "java/ChromeVersionConstants.java.version" |
498 output = chrome_version_java_file | 494 output = chrome_version_java_file |
499 } | 495 } |
500 | 496 |
501 zip("chrome_version_srcjar") { | 497 zip("chrome_version_srcjar") { |
502 inputs = [ chrome_version_java_file ] | 498 inputs = [ chrome_version_java_file ] |
503 output = "$target_gen_dir/$target_name.srcjar" | 499 output = "$target_gen_dir/$target_name.srcjar" |
504 base_dir = chrome_version_java_dir | 500 base_dir = chrome_version_java_dir |
505 } | 501 } |
OLD | NEW |