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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 _prev_proguard_configs = [] | 47 _prev_proguard_configs = [] |
48 if (defined(proguard_configs)) { | 48 if (defined(proguard_configs)) { |
49 _prev_proguard_configs = proguard_configs | 49 _prev_proguard_configs = proguard_configs |
50 } | 50 } |
51 proguard_configs = [] | 51 proguard_configs = [] |
52 proguard_configs = _prev_proguard_configs + [ | 52 proguard_configs = _prev_proguard_configs + [ |
53 "//chrome/android/java/proguard.flags", | 53 "//chrome/android/java/proguard.flags", |
54 "//base/android/base_proguard_config.flags", | 54 "//base/android/base_proguard_config.flags", |
55 "//base/android/release_proguard_config.flags", | 55 "//base/android/release_proguard_config.flags", |
56 ] | 56 ] |
57 if (enable_webvr) { | 57 if (enable_webvr || enable_vr_shell) { |
58 proguard_configs += | 58 proguard_configs += |
59 [ "//third_party/gvr-android-sdk/proguard/base.flags" ] | 59 [ "//third_party/gvr-android-sdk/proguard/base.flags" ] |
60 } | 60 } |
61 } | 61 } |
62 | 62 |
63 if (!defined(use_chromium_linker)) { | 63 if (!defined(use_chromium_linker)) { |
64 use_chromium_linker = chrome_public_apk_use_chromium_linker | 64 use_chromium_linker = chrome_public_apk_use_chromium_linker |
65 } | 65 } |
66 | 66 |
67 if (use_chromium_linker) { | 67 if (use_chromium_linker) { |
68 if (!defined(load_library_from_apk)) { | 68 if (!defined(load_library_from_apk)) { |
69 load_library_from_apk = chrome_public_apk_load_library_from_apk | 69 load_library_from_apk = chrome_public_apk_load_library_from_apk |
70 } | 70 } |
71 | 71 |
72 if (!defined(enable_relocation_packing)) { | 72 if (!defined(enable_relocation_packing)) { |
73 enable_relocation_packing = chrome_public_apk_use_relocation_packer | 73 enable_relocation_packing = chrome_public_apk_use_relocation_packer |
74 } | 74 } |
75 } | 75 } |
76 } | 76 } |
77 } | 77 } |
OLD | NEW |