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

Unified Diff: BUILD.gn

Issue 321323004: Add yasm to the GN build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | build/compiled_action.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index febc47a31567dd6c704213142469e3d05509156a..868ada79b71fc1952081f1aa5fd5a619b422b398 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -119,6 +119,11 @@ group("root") {
]
}
+ if (cpu_arch == "x86" || cpu_arch == "x64") {
+ # YASM is x86/x64 only.
+ deps += [ "//third_party/yasm($host_toolchain)" ]
+ }
+
if (is_android) {
deps -= [
"//cc",
« no previous file with comments | « no previous file | build/compiled_action.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698