Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Side by Side Diff: build/config/android/config.gni

Issue 1363793002: Port the order_profiling GYP flag to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/config/android/BUILD.gn ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 = true 77 incremental_dx = true
78
79 # Adds intrumentation to each function. Writes a file with the order that
80 # functions are called at startup.
81 use_order_profiling = false
78 } 82 }
79 83
80 # Host stuff ----------------------------------------------------------------- 84 # Host stuff -----------------------------------------------------------------
81 85
82 # Defines the name the Android build gives to the current host CPU 86 # Defines the name the Android build gives to the current host CPU
83 # architecture, which is different than the names GN uses. 87 # architecture, which is different than the names GN uses.
84 if (host_cpu == "x64") { 88 if (host_cpu == "x64") {
85 android_host_arch = "x86_64" 89 android_host_arch = "x86_64"
86 } else if (host_cpu == "x86") { 90 } else if (host_cpu == "x86") {
87 android_host_arch = "x86" 91 android_host_arch = "x86"
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 } else if (current_cpu == "x64") { 216 } else if (current_cpu == "x64") {
213 android_app_abi = "x86_64" 217 android_app_abi = "x86_64"
214 } else if (current_cpu == "arm64") { 218 } else if (current_cpu == "arm64") {
215 android_app_abi = "arm64-v8a" 219 android_app_abi = "arm64-v8a"
216 } else if (current_cpu == "mips64el") { 220 } else if (current_cpu == "mips64el") {
217 android_app_abi = "mips64" 221 android_app_abi = "mips64"
218 } else { 222 } else {
219 assert(false, "Unknown Android ABI: " + current_cpu) 223 assert(false, "Unknown Android ABI: " + current_cpu)
220 } 224 }
221 } 225 }
OLDNEW
« no previous file with comments | « build/config/android/BUILD.gn ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698