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

Unified Diff: tools/gn/misc/vim/syntax/gn.vim

Issue 914873002: Rework handling of os and cpu_arch in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update w/ review comments Created 5 years, 10 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 | « tools/gn/format_test_data/032.golden ('k') | tools/gn/variables.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/misc/vim/syntax/gn.vim
diff --git a/tools/gn/misc/vim/syntax/gn.vim b/tools/gn/misc/vim/syntax/gn.vim
index d9049b291249c89341c3d2b63fba2067f4fa3e51..334ffa699f8672a931c061e704f6c74284b985bf 100644
--- a/tools/gn/misc/vim/syntax/gn.vim
+++ b/tools/gn/misc/vim/syntax/gn.vim
@@ -16,10 +16,11 @@ syn keyword gnConditional if else
hi def link gnConditional Conditional
" Predefined variables
-syn keyword gnPredefVar build_cpu_arch build_os cpu_arch current_toolchain
-syn keyword gnPredefVar default_toolchain os python_path root_build_dir
-syn keyword gnPredefVar root_gen_dir root_out_dir target_gen_dir
-syn keyword gnPredefVar target_out_dir
+syn keyword gnPredefVar current_cpu current_os current_toolchain
+syn keyword gnPredefVar default_toolchain host_cpu host_os
+syn keyword gnPredefVar root_build_dir root_gen_dir root_out_dir
+syn keyword gnPredefVar target_cpu target_gen_dir target_out_dir
+syn keyword gnPredefVar target_os
syn keyword gnPredefVar true false
hi def link gnPredefVar Constant
« no previous file with comments | « tools/gn/format_test_data/032.golden ('k') | tools/gn/variables.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698