| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 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("//build/config/android/version.gni") | 7 import("//build/config/android/version.gni") |
| 8 import("//build/config/locales.gni") | 8 import("//build/config/locales.gni") |
| 9 import("//chrome/common/features.gni") | 9 import("//chrome/common/features.gni") |
| 10 import("//third_party/leakcanary/config.gni") | 10 import("//third_party/leakcanary/config.gni") |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 27 | 27 |
| 28 # Enables ProGuard obfuscation of Chromium packages. | 28 # Enables ProGuard obfuscation of Chromium packages. |
| 29 enable_proguard_obfuscation = false | 29 enable_proguard_obfuscation = false |
| 30 | 30 |
| 31 # Enables ProGuard obfuscation of chrome_public_test_apk. | 31 # Enables ProGuard obfuscation of chrome_public_test_apk. |
| 32 enable_proguard_obfuscation_for_tests = false | 32 enable_proguard_obfuscation_for_tests = false |
| 33 | 33 |
| 34 # Enable multidex in release builds. | 34 # Enable multidex in release builds. |
| 35 multidex_in_release = false | 35 multidex_in_release = false |
| 36 | 36 |
| 37 # Set versionName for AndroidManifest.xml | 37 # Set versionName for AndroidManifest.xml. See https://issues.adblockplus.org/ ticket/6287 |
|
diegocarloslima
2018/01/31 17:48:45
Although we can find out when something was added
jens
2018/02/01 08:54:52
Acknowledged.
| |
| 38 version_name = android_version_name | 38 version_name = android_version_name |
| 39 | 39 |
| 40 # Set versionCode for AndroidManifest.xml | 40 # Set versionCode for AndroidManifest.xml. See https://issues.adblockplus.org/ ticket/6287 |
| 41 version_code = android_version_code | 41 version_code = android_version_code |
| 42 } | 42 } |
| 43 | 43 |
| 44 default_chrome_public_jinja_variables = [ | 44 default_chrome_public_jinja_variables = [ |
| 45 "channel=$android_channel", | 45 "channel=$android_channel", |
| 46 "enable_leakcanary=$enable_leakcanary", | 46 "enable_leakcanary=$enable_leakcanary", |
| 47 "enable_vr=$enable_vr", | 47 "enable_vr=$enable_vr", |
| 48 ] | 48 ] |
| 49 | 49 |
| 50 template("chrome_public_apk_tmpl") { | 50 template("chrome_public_apk_tmpl") { |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 152 | 152 |
| 153 if (!is_java_debug) { | 153 if (!is_java_debug) { |
| 154 if (!defined(proguard_configs)) { | 154 if (!defined(proguard_configs)) { |
| 155 proguard_configs = [] | 155 proguard_configs = [] |
| 156 } | 156 } |
| 157 proguard_configs += [ "//android_webview/apk/java/proguard.flags" ] | 157 proguard_configs += [ "//android_webview/apk/java/proguard.flags" ] |
| 158 png_to_webp = true | 158 png_to_webp = true |
| 159 } | 159 } |
| 160 } | 160 } |
| 161 } | 161 } |
| LEFT | RIGHT |