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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 use_chromium_linker = false | 97 use_chromium_linker = false |
98 requires_sdk_api_level_23 = true | 98 requires_sdk_api_level_23 = true |
99 enable_relocation_packing = true | 99 enable_relocation_packing = true |
100 extensions_to_not_compress = ".lpak,.pak,.bin,.dat" | 100 extensions_to_not_compress = ".lpak,.pak,.bin,.dat" |
101 | 101 |
102 # Incremental install doesn't work for monochrome. See crbug.com/663492. | 102 # Incremental install doesn't work for monochrome. See crbug.com/663492. |
103 never_incremental = true | 103 never_incremental = true |
104 | 104 |
105 # Configrations to make android load shared library from APK. | 105 # Configrations to make android load shared library from APK. |
106 uncompress_shared_libraries = true | 106 uncompress_shared_libraries = true |
| 107 page_align_shared_libraries = true |
107 | 108 |
108 forward_variables_from(invoker, "*") | 109 forward_variables_from(invoker, "*") |
109 | 110 |
110 if (!defined(deps)) { | 111 if (!defined(deps)) { |
111 deps = [] | 112 deps = [] |
112 } | 113 } |
113 deps += [ | 114 deps += [ |
114 "//android_webview:monochrome_webview_assets", | 115 "//android_webview:monochrome_webview_assets", |
115 "//android_webview/glue", | 116 "//android_webview/glue", |
116 "//chrome/android:chrome_public_non_pak_assets", | 117 "//chrome/android:chrome_public_non_pak_assets", |
117 "//chrome/android:monochrome_pak_assets", | 118 "//chrome/android:monochrome_pak_assets", |
118 ] | 119 ] |
119 | 120 |
120 if (!is_java_debug) { | 121 if (!is_java_debug) { |
121 if (!defined(proguard_configs)) { | 122 if (!defined(proguard_configs)) { |
122 proguard_configs = [] | 123 proguard_configs = [] |
123 } | 124 } |
124 proguard_configs += [ "//android_webview/apk/java/proguard.flags" ] | 125 proguard_configs += [ "//android_webview/apk/java/proguard.flags" ] |
125 } | 126 } |
126 } | 127 } |
127 } | 128 } |
OLD | NEW |