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

Unified Diff: gpu/vulkan/BUILD.gn

Issue 2031403002: 💳 target_cpu -> current_cpu in gpu/vulkan/BUILD.gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@monochrome
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/tools/compositor_model_bench/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/vulkan/BUILD.gn
diff --git a/gpu/vulkan/BUILD.gn b/gpu/vulkan/BUILD.gn
index e59be283e692a453814f99b99d8d7dcfa16d19ad..758a14ba7f9e156390bd098812653c071912f365 100644
--- a/gpu/vulkan/BUILD.gn
+++ b/gpu/vulkan/BUILD.gn
@@ -55,10 +55,10 @@ if (enable_vulkan) {
]
libs = [ "vulkan" ]
- if (target_cpu == "x64") {
+ if (current_cpu == "x64") {
lib_dirs = [ "/usr/lib/x86_64-linux-gnu" ]
} else {
- assert(false, "Unsupported vulkan target: " + target_cpu)
+ assert(false, "Unsupported vulkan target: " + current_cpu)
}
deps = [
@@ -86,10 +86,10 @@ if (enable_vulkan) {
]
include_dirs = [ "/usr/include" ]
- if (target_cpu == "x64") {
+ if (current_cpu == "x64") {
lib_dirs = [ "/usr/lib/x86_64-linux-gnu" ]
} else {
- assert(false, "Unsupported vulkan target: " + target_cpu)
+ assert(false, "Unsupported vulkan target: " + current_cpu)
}
deps = [
« no previous file with comments | « gpu/tools/compositor_model_bench/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698