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

Unified Diff: media/cdm/ppapi/cdm_paths.gni

Issue 2038563004: 💮 target_cpu -> current_cpu in media/gpu/BUILD.gn, media/cdm/ppapi/cdm_paths.gni (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 | « no previous file | media/gpu/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cdm/ppapi/cdm_paths.gni
diff --git a/media/cdm/ppapi/cdm_paths.gni b/media/cdm/ppapi/cdm_paths.gni
index 52f535e621cc39536b90c0645f0e38091711b1bd..f8f94b7a7856944a1dec3ff32ce93a186571dc40 100644
--- a/media/cdm/ppapi/cdm_paths.gni
+++ b/media/cdm/ppapi/cdm_paths.gni
@@ -23,8 +23,8 @@ if (is_chromeos) {
component_os = "unsupported_platform"
}
-if (target_cpu == "x86" || target_cpu == "x64" || target_cpu == "arm") {
- component_arch = "$target_cpu"
+if (current_cpu == "x86" || current_cpu == "x64" || current_cpu == "arm") {
+ component_arch = "$current_cpu"
} else {
component_arch = "unsupported_arch"
}
@@ -33,7 +33,7 @@ if (target_cpu == "x86" || target_cpu == "x64" || target_cpu == "arm") {
# components.
# TODO(xhwang): Improve how we enable platform specific path. See
# http://crbug.com/468584
-if ((is_win || is_mac) && (target_cpu == "x86" || target_cpu == "x64")) {
+if ((is_win || is_mac) && (current_cpu == "x86" || current_cpu == "x64")) {
_platform_specific_path =
"_platform_specific/$component_os" + "_" + "$component_arch"
« no previous file with comments | « no previous file | media/gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698