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

Unified Diff: third_party/libvpx/BUILD.gn

Issue 2471423002: Roll src/third_party/libvpx/source/libvpx/ 9a032fa26..1961a92a9 (33 commits). (Closed)
Patch Set: comment asm include addition Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | third_party/libvpx/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libvpx/BUILD.gn
diff --git a/third_party/libvpx/BUILD.gn b/third_party/libvpx/BUILD.gn
index cf70ffd7a4e805b57c12ca8724423533953c701d..025330a4555cf6108b6d89a951bd062491ea9626 100644
--- a/third_party/libvpx/BUILD.gn
+++ b/third_party/libvpx/BUILD.gn
@@ -228,8 +228,11 @@ if (current_cpu == "arm" && arm_assembly_sources != []) {
action_foreach("convert_arm_assembly") {
script = "//third_party/libvpx/run_perl.py"
sources = arm_assembly_sources
+ gen_file =
+ get_label_info("//third_party/libvpx/source/libvpx", "root_gen_dir") +
+ "/{{source_root_relative_dir}}/{{source_file_part}}.S"
outputs = [
- "$target_gen_dir/{{source_name_part}}.S",
+ gen_file,
]
if (is_ios) {
ads2gas_script =
@@ -244,7 +247,7 @@ if (current_cpu == "arm" && arm_assembly_sources != []) {
"-i",
"{{source}}",
"-o",
- rebase_path("$target_gen_dir/{{source_name_part}}.S"),
+ rebase_path(gen_file),
]
}
@@ -255,6 +258,11 @@ if (current_cpu == "arm" && arm_assembly_sources != []) {
configs += [ ":libvpx_warnings" ]
if (cpu_arch_full == "arm-neon" || cpu_arch_full == "arm-neon-cpu-detect") {
asmflags = [ "-mfpu=neon" ]
+
+ # allow asm files to include generated sources which match the source
+ # tree layout, e.g., vpx_dsp/arm/...
+ include_dirs = [ get_label_info("//third_party/libvpx/source/libvpx",
+ "target_gen_dir") ]
}
deps = [
":convert_arm_assembly",
« no previous file with comments | « DEPS ('k') | third_party/libvpx/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698