| OLD | NEW |
| 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("//base/android/linker/config.gni") | 5 import("//base/android/linker/config.gni") |
| 6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
| 7 import("//chrome/common/features.gni") | 7 import("//chrome/common/features.gni") |
| 8 import("//third_party/leakcanary/config.gni") | 8 import("//third_party/leakcanary/config.gni") |
| 9 import("channel.gni") | 9 import("channel.gni") |
| 10 | 10 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 if (android_64bit_target_cpu) { | 85 if (android_64bit_target_cpu) { |
| 86 shared_libraries = [ "//android_webview:monochrome" ] | 86 shared_libraries = [ "//android_webview:monochrome" ] |
| 87 } else { | 87 } else { |
| 88 shared_libraries = [ "//chrome/android:monochrome" ] | 88 shared_libraries = [ "//chrome/android:monochrome" ] |
| 89 } | 89 } |
| 90 if (android_64bit_target_cpu && build_apk_secondary_abi) { | 90 if (android_64bit_target_cpu && build_apk_secondary_abi) { |
| 91 secondary_abi_shared_libraries = | 91 secondary_abi_shared_libraries = |
| 92 [ "//chrome/android:monochrome_secondary_abi_lib" ] | 92 [ "//chrome/android:monochrome_secondary_abi_lib" ] |
| 93 } | 93 } |
| 94 | 94 |
| 95 alternative_locale_resource_dep = "//chrome/android:monochrome_locale_paks" |
| 96 |
| 95 alternative_android_sdk_jar = webview_framework_jar | 97 alternative_android_sdk_jar = webview_framework_jar |
| 96 app_as_shared_lib = true | 98 app_as_shared_lib = true |
| 97 use_chromium_linker = false | 99 use_chromium_linker = false |
| 98 requires_sdk_api_level_23 = true | 100 requires_sdk_api_level_23 = true |
| 99 enable_relocation_packing = true | 101 enable_relocation_packing = true |
| 100 extensions_to_not_compress = ".lpak,.pak,.bin,.dat" | 102 extensions_to_not_compress = ".lpak,.pak,.bin,.dat" |
| 101 | 103 |
| 102 # Configrations to make android load shared library from APK. | 104 # Configrations to make android load shared library from APK. |
| 103 uncompress_shared_libraries = true | 105 uncompress_shared_libraries = true |
| 104 page_align_shared_libraries = true | 106 page_align_shared_libraries = true |
| 105 | 107 |
| 106 forward_variables_from(invoker, "*") | 108 forward_variables_from(invoker, "*") |
| 107 | 109 |
| 108 if (!defined(deps)) { | 110 if (!defined(deps)) { |
| 109 deps = [] | 111 deps = [] |
| 110 } | 112 } |
| 111 deps += [ "//android_webview/glue" ] | 113 deps += [ "//android_webview/glue" ] |
| 112 | 114 |
| 113 if (!is_java_debug) { | 115 if (!is_java_debug) { |
| 114 if (!defined(proguard_configs)) { | 116 if (!defined(proguard_configs)) { |
| 115 proguard_configs = [] | 117 proguard_configs = [] |
| 116 } | 118 } |
| 117 proguard_configs += [ "//android_webview/apk/java/proguard.flags" ] | 119 proguard_configs += [ "//android_webview/apk/java/proguard.flags" ] |
| 118 } | 120 } |
| 119 } | 121 } |
| 120 } | 122 } |
| OLD | NEW |