| 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 import("//third_party/WebKit/public/features.gni") | |
| 7 | 6 |
| 8 if (is_android) { | 7 if (is_android) { |
| 9 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
| 10 } | 9 } |
| 11 if (current_cpu == "arm") { | 10 if (current_cpu == "arm") { |
| 12 import("//build/config/arm.gni") | 11 import("//build/config/arm.gni") |
| 13 } | 12 } |
| 14 | 13 |
| 15 declare_args() { | 14 declare_args() { |
| 16 # If true, doesn't compile debug symbols into webcore reducing the | 15 # If true, doesn't compile debug symbols into webcore reducing the |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 } | 81 } |
| 83 | 82 |
| 84 # feature_defines_string ------------------------------------------------------- | 83 # feature_defines_string ------------------------------------------------------- |
| 85 | 84 |
| 86 # Convert the list to a space-separated string for passing to scripts. | 85 # Convert the list to a space-separated string for passing to scripts. |
| 87 # This would be the equivalent of passing '<(feature_defines)' in GYP. | 86 # This would be the equivalent of passing '<(feature_defines)' in GYP. |
| 88 feature_defines_string = | 87 feature_defines_string = |
| 89 exec_script("build/gn_list_to_space_separated_string.py", | 88 exec_script("build/gn_list_to_space_separated_string.py", |
| 90 feature_defines_list, | 89 feature_defines_list, |
| 91 "trim string") | 90 "trim string") |
| OLD | NEW |