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

Side by Side Diff: Source/config.gni

Issue 561173006: Fix some android gn configuration (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 | Source/core/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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/config.gni") 8 import("//build/config/android/config.gni")
9 } else { 9 } else {
10 # TODO(brettw) remove this once && early-out is checked in. 10 # TODO(brettw) remove this once && early-out is checked in.
(...skipping 21 matching lines...) Expand all
32 use_default_render_theme = use_aura 32 use_default_render_theme = use_aura
33 33
34 # Whether Android ARM or x86 build uses OpenMAX DL FFT. Currently only 34 # Whether Android ARM or x86 build uses OpenMAX DL FFT. Currently only
35 # supported on Android ARMv7+, ia32 or x64 without webview. When enabled, this 35 # supported on Android ARMv7+, ia32 or x64 without webview. When enabled, this
36 # will also enable WebAudio support on Android ARM, ia32 and x64. Default is 36 # will also enable WebAudio support on Android ARM, ia32 and x64. Default is
37 # enabled. Whether WebAudio is actually available depends on runtime settings 37 # enabled. Whether WebAudio is actually available depends on runtime settings
38 # and flags. 38 # and flags.
39 use_openmax_dl_fft = is_android && !is_android_webview_build && 39 use_openmax_dl_fft = is_android && !is_android_webview_build &&
40 (cpu_arch == "x86" || 40 (cpu_arch == "x86" ||
41 cpu_arch == "x64" || 41 cpu_arch == "x64" ||
42 (cpu_arch == "arm" && arm_version > 7)) 42 (cpu_arch == "arm" && arm_version >= 7))
43 43
44 use_webaudio_ffmpeg = !is_mac && !is_android 44 use_webaudio_ffmpeg = !is_mac && !is_android
45 45
46 # Set this to true to enable use of concatenated impulse responses for the HRTF 46 # Set this to true to enable use of concatenated impulse responses for the HRTF
47 # panner in WebAudio. 47 # panner in WebAudio.
48 # TODO(brettw) do we need this or can we assume its always on? 48 # TODO(brettw) do we need this or can we assume its always on?
49 use_concatenated_impulse_responses = true 49 use_concatenated_impulse_responses = true
50 50
51 # feature_defines_list --------------------------------------------------------- 51 # feature_defines_list ---------------------------------------------------------
52 52
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 } 100 }
101 101
102 # feature_defines_string ------------------------------------------------------- 102 # feature_defines_string -------------------------------------------------------
103 103
104 # Convert the list to a space-separated string for passing to scripts. 104 # Convert the list to a space-separated string for passing to scripts.
105 # This would be the equivalent of passing '<(feature_defines)' in GYP. 105 # This would be the equivalent of passing '<(feature_defines)' in GYP.
106 feature_defines_string = exec_script( 106 feature_defines_string = exec_script(
107 "build/gn_list_to_space_separated_string.py", 107 "build/gn_list_to_space_separated_string.py",
108 feature_defines_list, 108 feature_defines_list,
109 "trim string") 109 "trim string")
OLDNEW
« no previous file with comments | « no previous file | Source/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698