Lines Matching +full:android +full:- +full:variables
1 # How GN handles cross-compiling
18 (Confusingly, GN also refers to each build artifact -- an executable,
19 library, etc. -- as a target. On this page, we will use "target" only to
23 When GN starts up, the `host_os` and `host_cpu` variables are set
26 specify that they want to do a cross-compile by setting either or both
29 build will set target\_cpu to "arm" if target\_os is set to "android").
40 gn gen out/Default --args='target_os="linux" target_cpu="x64"'
43 To do an 32-bit ARM Android cross-compile, do:
46 gn gen out/Default --args='target_os="android"'
52 And, to do a 64-bit MIPS Chrome OS cross-compile:
55 gn gen out/Default --args='target_os="chromeos" target_cpu="mips64el"'
64 The `current_toolchain`, `current_cpu`, and `current_os` variables
66 The `is_linux`, `is_win` etc. variables are updated to reflect the
70 You can also refer to the `target_cpu` and `target_os` variables. This
74 variables, but should generally never need to.
95 # Uses current_cpu because compile flags are toolchain-dependent.
105 "-isysroot",