OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # This file contains common system config stuff for the Android build. | 5 # This file contains common system config stuff for the Android build. |
6 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 has_chrome_android_internal = | 8 has_chrome_android_internal = |
9 exec_script("//build/dir_exists.py", | 9 exec_script("//build/dir_exists.py", |
10 [ rebase_path("//clank", root_build_dir) ], | 10 [ rebase_path("//clank", root_build_dir) ], |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 use_errorprone_java_compiler = false | 67 use_errorprone_java_compiler = false |
68 | 68 |
69 # Disables process isolation when building _incremental targets. | 69 # Disables process isolation when building _incremental targets. |
70 # Required for Android M+ due to SELinux policies (stronger sandboxing). | 70 # Required for Android M+ due to SELinux policies (stronger sandboxing). |
71 disable_incremental_isolated_processes = false | 71 disable_incremental_isolated_processes = false |
72 | 72 |
73 # Speed up incremental compiles by compiling only changed files. | 73 # Speed up incremental compiles by compiling only changed files. |
74 incremental_javac = false | 74 incremental_javac = false |
75 | 75 |
76 # Speed up dexing using dx --incremental. | 76 # Speed up dexing using dx --incremental. |
77 incremental_dx = false | 77 incremental_dx = true |
78 } | 78 } |
79 | 79 |
80 # Host stuff ----------------------------------------------------------------- | 80 # Host stuff ----------------------------------------------------------------- |
81 | 81 |
82 # Defines the name the Android build gives to the current host CPU | 82 # Defines the name the Android build gives to the current host CPU |
83 # architecture, which is different than the names GN uses. | 83 # architecture, which is different than the names GN uses. |
84 if (host_cpu == "x64") { | 84 if (host_cpu == "x64") { |
85 android_host_arch = "x86_64" | 85 android_host_arch = "x86_64" |
86 } else if (host_cpu == "x86") { | 86 } else if (host_cpu == "x86") { |
87 android_host_arch = "x86" | 87 android_host_arch = "x86" |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 } else if (current_cpu == "x64") { | 217 } else if (current_cpu == "x64") { |
218 android_app_abi = "x86_64" | 218 android_app_abi = "x86_64" |
219 } else if (current_cpu == "arm64") { | 219 } else if (current_cpu == "arm64") { |
220 android_app_abi = "arm64-v8a" | 220 android_app_abi = "arm64-v8a" |
221 } else if (current_cpu == "mips64el") { | 221 } else if (current_cpu == "mips64el") { |
222 android_app_abi = "mips64" | 222 android_app_abi = "mips64" |
223 } else { | 223 } else { |
224 assert(false, "Unknown Android ABI: " + current_cpu) | 224 assert(false, "Unknown Android ABI: " + current_cpu) |
225 } | 225 } |
226 } | 226 } |
OLD | NEW |