| 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 import("channel.gni") | 9 import("channel.gni") |
| 10 | 10 |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 sources = [ | 191 sources = [ |
| 192 # This file must always be included in the shared_library step to ensure | 192 # This file must always be included in the shared_library step to ensure |
| 193 # JNI_OnLoad is exported. | 193 # JNI_OnLoad is exported. |
| 194 "//chrome/app/android/chrome_jni_onload.cc", | 194 "//chrome/app/android/chrome_jni_onload.cc", |
| 195 "shell/chrome_main_delegate_chrome_shell_android.cc", | 195 "shell/chrome_main_delegate_chrome_shell_android.cc", |
| 196 "shell/chrome_main_delegate_chrome_shell_android.h", | 196 "shell/chrome_main_delegate_chrome_shell_android.h", |
| 197 ] | 197 ] |
| 198 deps = [ | 198 deps = [ |
| 199 ":chrome_shell_base", | 199 ":chrome_shell_base", |
| 200 ] | 200 ] |
| 201 # GYP: via base/files/protect_file_posix.gypi |
| 202 # TODO(pasko): Remove this non-trivial linker wrapping as soon as |
| 203 # crbug.com/424562 is fixed. |
| 204 if (!is_component_build) { |
| 205 ldflags = [ "-Wl,--wrap=close" ] |
| 206 deps += [ "//base:protect_file_posix" ] |
| 207 } |
| 201 } | 208 } |
| 202 | 209 |
| 203 # GYP: //chrome/chrome_shell.gypi:libchromesyncshell | 210 # GYP: //chrome/chrome_shell.gypi:libchromesyncshell |
| 204 shared_library("chrome_sync_shell") { | 211 shared_library("chrome_sync_shell") { |
| 205 testonly = true | 212 testonly = true |
| 206 sources = [ | 213 sources = [ |
| 207 # This file must always be included in the shared_library step to ensure | 214 # This file must always be included in the shared_library step to ensure |
| 208 # JNI_OnLoad is exported. | 215 # JNI_OnLoad is exported. |
| 209 #"//chrome/app/android/chrome_jni_onload.cc", | 216 #"//chrome/app/android/chrome_jni_onload.cc", |
| 210 #"sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc", | 217 #"sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc", |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 source = "java/ChromeVersionConstants.java.version" | 476 source = "java/ChromeVersionConstants.java.version" |
| 470 output = chrome_version_java_file | 477 output = chrome_version_java_file |
| 471 extra_args = ["-e", "CHANNEL=str.upper('$android_channel')"] | 478 extra_args = ["-e", "CHANNEL=str.upper('$android_channel')"] |
| 472 } | 479 } |
| 473 | 480 |
| 474 zip("chrome_version_srcjar") { | 481 zip("chrome_version_srcjar") { |
| 475 inputs = [ chrome_version_java_file ] | 482 inputs = [ chrome_version_java_file ] |
| 476 output = "$target_gen_dir/$target_name.srcjar" | 483 output = "$target_gen_dir/$target_name.srcjar" |
| 477 base_dir = chrome_version_java_dir | 484 base_dir = chrome_version_java_dir |
| 478 } | 485 } |
| OLD | NEW |