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 | |
108 | 107 |
109 forward_variables_from(invoker, "*") | 108 forward_variables_from(invoker, "*") |
110 | 109 |
111 if (!defined(deps)) { | 110 if (!defined(deps)) { |
112 deps = [] | 111 deps = [] |
113 } | 112 } |
114 deps += [ | 113 deps += [ |
115 "//android_webview:monochrome_webview_assets", | 114 "//android_webview:monochrome_webview_assets", |
116 "//android_webview/glue", | 115 "//android_webview/glue", |
117 "//chrome/android:chrome_public_non_pak_assets", | 116 "//chrome/android:chrome_public_non_pak_assets", |
118 "//chrome/android:monochrome_pak_assets", | 117 "//chrome/android:monochrome_pak_assets", |
119 ] | 118 ] |
120 | 119 |
121 if (!is_java_debug) { | 120 if (!is_java_debug) { |
122 if (!defined(proguard_configs)) { | 121 if (!defined(proguard_configs)) { |
123 proguard_configs = [] | 122 proguard_configs = [] |
124 } | 123 } |
125 proguard_configs += [ "//android_webview/apk/java/proguard.flags" ] | 124 proguard_configs += [ "//android_webview/apk/java/proguard.flags" ] |
126 } | 125 } |
127 } | 126 } |
128 } | 127 } |
OLD | NEW |