OLD | NEW |
---|---|
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # ============================================================================= | 5 # ============================================================================= |
6 # BUILD FLAGS | 6 # BUILD FLAGS |
7 # ============================================================================= | 7 # ============================================================================= |
8 # | 8 # |
9 # This block lists input arguments to the build, along with their default | 9 # This block lists input arguments to the build, along with their default |
10 # values. GN requires listing them explicitly so it can validate input and have | 10 # values. GN requires listing them explicitly so it can validate input and have |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
98 | 98 |
99 if (os == "win") { | 99 if (os == "win") { |
100 is_android = false | 100 is_android = false |
101 is_chromeos = false | 101 is_chromeos = false |
102 is_ios = false | 102 is_ios = false |
103 is_linux = false | 103 is_linux = false |
104 is_mac = false | 104 is_mac = false |
105 is_nacl = false | 105 is_nacl = false |
106 is_posix = false | 106 is_posix = false |
107 is_win = true | 107 is_win = true |
108 | |
109 # Windows currelty implies Aura. | |
sky
2014/01/14 23:35:47
currently
| |
110 use_aura = true | |
108 } else if (os == "mac") { | 111 } else if (os == "mac") { |
109 is_android = false | 112 is_android = false |
110 is_chromeos = false | 113 is_chromeos = false |
111 is_ios = false | 114 is_ios = false |
112 is_linux = false | 115 is_linux = false |
113 is_mac = true | 116 is_mac = true |
114 is_nacl = false | 117 is_nacl = false |
115 is_posix = true | 118 is_posix = true |
116 is_win = false | 119 is_win = false |
117 if (!is_clang) { | 120 if (!is_clang) { |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
429 } else if (is_android) { | 432 } else if (is_android) { |
430 host_toolchain = "//build/toolchain/linux:$build_cpu_arch" | 433 host_toolchain = "//build/toolchain/linux:$build_cpu_arch" |
431 set_default_toolchain("//build/toolchain/android:$cpu_arch") | 434 set_default_toolchain("//build/toolchain/android:$cpu_arch") |
432 } else if (is_linux) { | 435 } else if (is_linux) { |
433 host_toolchain = "//build/toolchain/linux:$build_cpu_arch" | 436 host_toolchain = "//build/toolchain/linux:$build_cpu_arch" |
434 set_default_toolchain("//build/toolchain/linux:$cpu_arch") | 437 set_default_toolchain("//build/toolchain/linux:$cpu_arch") |
435 } else if (is_mac || is_ios) { | 438 } else if (is_mac || is_ios) { |
436 host_toolchain = "//build/toolchain/mac:clang" | 439 host_toolchain = "//build/toolchain/mac:clang" |
437 set_default_toolchain(host_toolchain) | 440 set_default_toolchain(host_toolchain) |
438 } | 441 } |
OLD | NEW |