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