Index: build/secondary/third_party/libsrtp/BUILD.gn |
diff --git a/build/secondary/third_party/libsrtp/BUILD.gn b/build/secondary/third_party/libsrtp/BUILD.gn |
index 506d19f3c0a1e3d4d0359d0c8cae62f7a15b03c4..d9b658e7bf3c06f999b3a40a0b87b65446aea425 100644 |
--- a/build/secondary/third_party/libsrtp/BUILD.gn |
+++ b/build/secondary/third_party/libsrtp/BUILD.gn |
@@ -45,7 +45,7 @@ config("libsrtp_config") { |
] |
} |
- if (cpu_arch == "x64" || cpu_arch == "x86" || cpu_arch == "arm") { |
+ if (current_cpu == "x64" || current_cpu == "x86" || current_cpu == "arm") { |
defines += [ |
# TODO(leozwang): CPU_RISC doesn"t work properly on android/arm |
# platform for unknown reasons, need to investigate the root cause |
@@ -56,7 +56,7 @@ config("libsrtp_config") { |
] |
} |
- if (cpu_arch == "mipsel") { |
+ if (current_cpu == "mipsel") { |
defines += [ "CPU_RISC" ] |
} |
} |