| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 | 6 |
| 7 if (is_android) { | 7 if (is_android) { |
| 8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
| 9 } | 9 } |
| 10 | 10 |
| 11 if (cpu_arch == "arm") { | 11 if (target_cpu == "arm") { |
| 12 import("//build/config/arm.gni") | 12 import("//build/config/arm.gni") |
| 13 } else { | 13 } else { |
| 14 # TODO(brettw) remove this once && early-out is checked in. | 14 # TODO(brettw) remove this once && early-out is checked in. |
| 15 arm_version = 0 | 15 arm_version = 0 |
| 16 } | 16 } |
| 17 | 17 |
| 18 declare_args() { | 18 declare_args() { |
| 19 # Enable asserts, even in release builds. | 19 # Enable asserts, even in release builds. |
| 20 sky_asserts_always_on = false | 20 sky_asserts_always_on = false |
| 21 | 21 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 47 } | 47 } |
| 48 | 48 |
| 49 # feature_defines_string ------------------------------------------------------- | 49 # feature_defines_string ------------------------------------------------------- |
| 50 | 50 |
| 51 # Convert the list to a space-separated string for passing to scripts. | 51 # Convert the list to a space-separated string for passing to scripts. |
| 52 # This would be the equivalent of passing '<(feature_defines)' in GYP. | 52 # This would be the equivalent of passing '<(feature_defines)' in GYP. |
| 53 feature_defines_string = | 53 feature_defines_string = |
| 54 exec_script("build/gn_list_to_space_separated_string.py", | 54 exec_script("build/gn_list_to_space_separated_string.py", |
| 55 feature_defines_list, | 55 feature_defines_list, |
| 56 "trim string") | 56 "trim string") |
| OLD | NEW |