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

Side by Side Diff: third_party/WebKit/Source/config.gni

Issue 1595813002: GN(android) Fix oscilloscope crash in webaudio on arm64 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update comment Created 4 years, 11 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 | « no previous file | no next file » | 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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//third_party/WebKit/public/features.gni") 6 import("//third_party/WebKit/public/features.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/config.gni") 9 import("//build/config/android/config.gni")
10 } 10 }
11 if (current_cpu == "arm") { 11 if (current_cpu == "arm") {
12 import("//build/config/arm.gni") 12 import("//build/config/arm.gni")
13 } else { 13 } else {
14 # TODO(brettw) remove this once && early-out is checked in. 14 # TODO(brettw) remove this once && early-out is checked in.
15 arm_version = 0 15 arm_version = 0
16 } 16 }
17 17
18 declare_args() { 18 declare_args() {
19 # Set to true to enable the clang plugin that checks the usage of the Blink 19 # Set to true to enable the clang plugin that checks the usage of the Blink
20 # garbage-collection infrastructure during compilation. 20 # garbage-collection infrastructure during compilation.
21 blink_gc_plugin = true 21 blink_gc_plugin = true
22 22
23 # If true, force blink asserts to be off in a release build. When false, 23 # If true, force blink asserts to be off in a release build. When false,
24 # blink asserts in release build may be controlled by DCHECK_ALWAYS_ON. 24 # blink asserts in release build may be controlled by DCHECK_ALWAYS_ON.
25 blink_asserts_off_in_release = false 25 blink_asserts_off_in_release = false
26 } 26 }
27 27
28 # Whether Android ARM or x86 build uses OpenMAX DL FFT. Currently only 28 # Whether Android build uses OpenMAX DL FFT. Currently supported only on
29 # supported on Android ARMv7+, ia32 or x64 without webview. When enabled, this 29 # ARMv7+, ARM64, x86 or x64 without webview. Also enables WebAudio support.
30 # will also enable WebAudio support on Android ARM, ia32 and x64. Default is 30 # Whether WebAudio is actually available depends on runtime settings and flags.
31 # enabled. Whether WebAudio is actually available depends on runtime settings
32 # and flags.
33 use_openmax_dl_fft = 31 use_openmax_dl_fft =
34 is_android && 32 is_android && (current_cpu == "x86" || current_cpu == "x64" ||
35 (current_cpu == "x86" || current_cpu == "x64" || 33 (current_cpu == "arm" && arm_version >= 7) ||
36 (current_cpu == "arm" && arm_version >= 7) || current_cpu == "mipsel") 34 current_cpu == "arm64" || current_cpu == "mipsel")
37 35
38 use_webaudio_ffmpeg = !is_mac && !is_android 36 use_webaudio_ffmpeg = !is_mac && !is_android
39 37
40 # Set this to true to enable use of concatenated impulse responses for the HRTF 38 # Set this to true to enable use of concatenated impulse responses for the HRTF
41 # panner in WebAudio. 39 # panner in WebAudio.
42 # TODO(brettw) do we need this or can we assume its always on? 40 # TODO(brettw) do we need this or can we assume its always on?
43 use_concatenated_impulse_responses = true 41 use_concatenated_impulse_responses = true
44 42
45 # feature_defines_list --------------------------------------------------------- 43 # feature_defines_list ---------------------------------------------------------
46 44
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 } 90 }
93 91
94 # feature_defines_string ------------------------------------------------------- 92 # feature_defines_string -------------------------------------------------------
95 93
96 # Convert the list to a space-separated string for passing to scripts. 94 # Convert the list to a space-separated string for passing to scripts.
97 # This would be the equivalent of passing '<(feature_defines)' in GYP. 95 # This would be the equivalent of passing '<(feature_defines)' in GYP.
98 feature_defines_string = 96 feature_defines_string =
99 exec_script("build/gn_list_to_space_separated_string.py", 97 exec_script("build/gn_list_to_space_separated_string.py",
100 feature_defines_list, 98 feature_defines_list,
101 "trim string") 99 "trim string")
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698