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

Side by Side Diff: third_party/libvpx/BUILD.gn

Issue 2250833002: Fix libvpx iOS ARM GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/arm.gni") 5 import("//build/config/arm.gni")
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/sanitizers/sanitizers.gni") 7 import("//build/config/sanitizers/sanitizers.gni")
8 import("//third_party/libvpx/libvpx_srcs.gni") 8 import("//third_party/libvpx/libvpx_srcs.gni")
9 import("//third_party/yasm/yasm_assemble.gni") 9 import("//third_party/yasm/yasm_assemble.gni")
10 10
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 if (cpu_arch_full == "arm-neon") { 232 if (cpu_arch_full == "arm-neon") {
233 sources = libvpx_srcs_arm_neon_assembly 233 sources = libvpx_srcs_arm_neon_assembly
234 } else if (cpu_arch_full == "arm-neon-cpu-detect") { 234 } else if (cpu_arch_full == "arm-neon-cpu-detect") {
235 sources = libvpx_srcs_arm_neon_cpu_detect_assembly 235 sources = libvpx_srcs_arm_neon_cpu_detect_assembly
236 } else { 236 } else {
237 sources = libvpx_srcs_arm_assembly 237 sources = libvpx_srcs_arm_assembly
238 } 238 }
239 outputs = [ 239 outputs = [
240 "$target_gen_dir/{{source_name_part}}.S", 240 "$target_gen_dir/{{source_name_part}}.S",
241 ] 241 ]
242 if (is_ios) {
243 ads2gas_script =
244 "//third_party/libvpx/source/libvpx/build/make/ads2gas_apple.pl"
245 } else {
246 ads2gas_script =
247 "//third_party/libvpx/source/libvpx/build/make/ads2gas.pl"
248 }
242 args = [ 249 args = [
243 "-s", 250 "-s",
244 rebase_path("//third_party/libvpx/source/libvpx/build/make/ads2gas.pl", 251 rebase_path(ads2gas_script, root_build_dir),
245 root_build_dir),
246 "-i", 252 "-i",
247 "{{source}}", 253 "{{source}}",
248 "-o", 254 "-o",
249 rebase_path("$target_gen_dir/{{source_name_part}}.S"), 255 rebase_path("$target_gen_dir/{{source_name_part}}.S"),
250 ] 256 ]
251 } 257 }
252 258
253 static_library("libvpx_assembly_arm") { 259 static_library("libvpx_assembly_arm") {
254 sources = get_target_outputs(":convert_arm_assembly") 260 sources = get_target_outputs(":convert_arm_assembly")
255 configs -= [ "//build/config/compiler:compiler_arm_fpu" ] 261 configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 } 321 }
316 if (is_android) { 322 if (is_android) {
317 deps += [ "//third_party/android_tools:cpu_features" ] 323 deps += [ "//third_party/android_tools:cpu_features" ]
318 } 324 }
319 if (current_cpu == "arm") { 325 if (current_cpu == "arm") {
320 deps += [ ":libvpx_assembly_arm" ] 326 deps += [ ":libvpx_assembly_arm" ]
321 } 327 }
322 328
323 public_configs = [ ":libvpx_external_config" ] 329 public_configs = [ ":libvpx_external_config" ]
324 } 330 }
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