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

Side by Side Diff: dl/BUILD.gn

Issue 1484103002: Push -no-integrated-as into openmax_dl build file. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc/deps/third_party/openmax.git@master
Patch Set: Created 5 years 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 | dl/dl.gyp » ('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/android/config.gni")
5 import("//build/config/arm.gni") 6 import("//build/config/arm.gni")
6 7
7 declare_args() { 8 declare_args() {
8 # Override this value to build with small float FFT tables 9 # Override this value to build with small float FFT tables
9 openmax_big_float_fft = true 10 openmax_big_float_fft = true
10 } 11 }
11 12
12 config("dl_config") { 13 config("dl_config") {
13 include_dirs = [ ".." ] 14 include_dirs = [ ".." ]
14 if (current_cpu == "arm") { 15 if (current_cpu == "arm") {
15 if (arm_use_neon) { 16 if (arm_use_neon) {
16 # Enable build-time NEON selection. 17 # Enable build-time NEON selection.
17 defines = [ "DL_ARM_NEON" ] 18 defines = [ "DL_ARM_NEON" ]
18 } else if (arm_optionally_use_neon) { 19 } else if (arm_optionally_use_neon) {
19 # Enable run-time NEON selection. 20 # Enable run-time NEON selection.
20 defines = [ "DL_ARM_NEON_OPTIONAL" ] 21 defines = [ "DL_ARM_NEON_OPTIONAL" ]
21 } 22 }
22 } else if (current_cpu == "arm64") { 23 } else if (current_cpu == "arm64") {
23 # Enable build-time NEON selection. 24 # Enable build-time NEON selection.
24 defines = [ "DL_ARM_NEON" ] 25 defines = [ "DL_ARM_NEON" ]
25 } 26 }
27
28 if (current_cpu == "arm" && is_clang) {
29 # TODO(hans) Enable integrated-as (crbug.com/124610).
30 rebased_android_toolchain_root =
31 rebase_path(android_toolchain_root, root_build_dir)
32 asmflags = [
33 "-fno-integrated-as",
34 "-B${rebased_android_toolchain_root}/bin", # Else /usr/bin/as gets picked up.
35 ]
36 }
26 } 37 }
27 38
28 # GYP: third_party/openmax_dl/dl/dl.gyp:openmax_dl 39 # GYP: third_party/openmax_dl/dl/dl.gyp:openmax_dl
29 source_set("dl") { 40 source_set("dl") {
30 public_configs = [ ":dl_config" ] 41 public_configs = [ ":dl_config" ]
31 sources = [ 42 sources = [
32 "api/omxtypes.h", 43 "api/omxtypes.h",
33 "sp/api/omxSP.h", 44 "sp/api/omxSP.h",
34 "sp/src/armSP_FFT_F32TwiddleTable.c", 45 "sp/src/armSP_FFT_F32TwiddleTable.c",
35 ] 46 ]
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 "sp/src/arm/neon/omxSP_FFTFwd_CToC_FC32_Sfs_s.S", 260 "sp/src/arm/neon/omxSP_FFTFwd_CToC_FC32_Sfs_s.S",
250 "sp/src/arm/neon/omxSP_FFTInv_CToC_FC32_Sfs_s.S", 261 "sp/src/arm/neon/omxSP_FFTInv_CToC_FC32_Sfs_s.S",
251 262
252 # Real floating-point FFT 263 # Real floating-point FFT
253 "sp/src/arm/neon/armSP_FFTInv_CCSToR_F32_preTwiddleRadix2_unsafe_s.S", 264 "sp/src/arm/neon/armSP_FFTInv_CCSToR_F32_preTwiddleRadix2_unsafe_s.S",
254 "sp/src/arm/neon/omxSP_FFTFwd_RToCCS_F32_Sfs_s.S", 265 "sp/src/arm/neon/omxSP_FFTFwd_RToCCS_F32_Sfs_s.S",
255 "sp/src/arm/neon/omxSP_FFTInv_CCSToR_F32_Sfs_s.S", 266 "sp/src/arm/neon/omxSP_FFTInv_CCSToR_F32_Sfs_s.S",
256 ] 267 ]
257 } 268 }
258 } 269 }
OLDNEW
« no previous file with comments | « no previous file | dl/dl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698