| 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 } else { | 9 } else { |
| 10 # TODO(brettw) remove this once && early-out is checked in. | 10 # TODO(brettw) remove this once && early-out is checked in. |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 feature_defines_list += [ "ENABLE_ASSERT=1" ] | 53 feature_defines_list += [ "ENABLE_ASSERT=1" ] |
| 54 } | 54 } |
| 55 if (sky_enable_compostior) { | 55 if (sky_enable_compostior) { |
| 56 feature_defines_list += [ "ENABLE_COMPOSITOR=1" ] | 56 feature_defines_list += [ "ENABLE_COMPOSITOR=1" ] |
| 57 } | 57 } |
| 58 | 58 |
| 59 # feature_defines_string ------------------------------------------------------- | 59 # feature_defines_string ------------------------------------------------------- |
| 60 | 60 |
| 61 # Convert the list to a space-separated string for passing to scripts. | 61 # Convert the list to a space-separated string for passing to scripts. |
| 62 # This would be the equivalent of passing '<(feature_defines)' in GYP. | 62 # This would be the equivalent of passing '<(feature_defines)' in GYP. |
| 63 feature_defines_string = exec_script( | 63 feature_defines_string = |
| 64 "build/gn_list_to_space_separated_string.py", | 64 exec_script("build/gn_list_to_space_separated_string.py", |
| 65 feature_defines_list, | 65 feature_defines_list, |
| 66 "trim string") | 66 "trim string") |
| OLD | NEW |