| OLD | NEW |
| 1 # Copyright 2016 Google Inc. | 1 # Copyright 2016 Google Inc. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 is_skia_standalone = true |
| 7 |
| 6 # It's best to keep the names and defaults of is_foo flags consistent with Chrom
e. | 8 # It's best to keep the names and defaults of is_foo flags consistent with Chrom
e. |
| 7 | 9 |
| 8 declare_args() { | 10 declare_args() { |
| 9 is_official_build = false | 11 is_official_build = false |
| 10 is_component_build = false | 12 is_component_build = false |
| 11 ndk = "" | 13 ndk = "" |
| 12 ndk_api = 0 # 0 == picked automatically for target_cpu. | 14 ndk_api = 0 # 0 == picked automatically for target_cpu. |
| 13 sanitize = "" | 15 sanitize = "" |
| 14 } | 16 } |
| 15 declare_args() { | 17 declare_args() { |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 } | 149 } |
| 148 } | 150 } |
| 149 | 151 |
| 150 if (is_win) { | 152 if (is_win) { |
| 151 # Windows tool chain | 153 # Windows tool chain |
| 152 set_default_toolchain("//gn:msvc") | 154 set_default_toolchain("//gn:msvc") |
| 153 } else { | 155 } else { |
| 154 # GCC-like toolchains, including Clang. | 156 # GCC-like toolchains, including Clang. |
| 155 set_default_toolchain("//gn:gcc_like") | 157 set_default_toolchain("//gn:gcc_like") |
| 156 } | 158 } |
| OLD | NEW |