| 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") | 6 import("//third_party/WebKit/public/features.gni") |
| 7 | 7 |
| 8 if (is_android) { | 8 if (is_android) { |
| 9 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
| 10 } | 10 } |
| 11 if (current_cpu == "arm") { | 11 if (current_cpu == "arm") { |
| 12 import("//build/config/arm.gni") | 12 import("//build/config/arm.gni") |
| 13 } | 13 } |
| 14 | 14 |
| 15 declare_args() { | 15 declare_args() { |
| 16 # If true, doesn't compile debug symbols into webcore reducing the | 16 # If true, doesn't compile debug symbols into webcore reducing the |
| 17 # size of the binary and increasing the speed of gdb. | 17 # size of the binary and increasing the speed of gdb. |
| 18 remove_webcore_debug_symbols = false | 18 remove_webcore_debug_symbols = false |
| 19 | 19 |
| 20 # If true, enables blink logging macros (WTF_LOG and friends) unconditionally. | 20 # If true, enables WTF::ScopedLogger unconditionally. |
| 21 # When false, blink logging macros are enabled only if assertions are enabled. | 21 # When false, WTF::ScopedLogger is enabled only if assertions are enabled. |
| 22 blink_logging_always_on = false | 22 blink_logging_always_on = false |
| 23 | 23 |
| 24 # If true, defaults image interpolation to low quality. | 24 # If true, defaults image interpolation to low quality. |
| 25 use_low_quality_image_interpolation = is_android | 25 use_low_quality_image_interpolation = is_android |
| 26 } | 26 } |
| 27 | 27 |
| 28 # Whether Android build uses OpenMAX DL FFT. Currently supported only on | 28 # Whether Android build uses OpenMAX DL FFT. Currently supported only on |
| 29 # ARMv7+, ARM64, x86 or x64 without webview. Also enables WebAudio support. | 29 # ARMv7+, ARM64, x86 or x64 without webview. Also enables WebAudio support. |
| 30 # Whether WebAudio is actually available depends on runtime settings and flags. | 30 # Whether WebAudio is actually available depends on runtime settings and flags. |
| 31 use_openmax_dl_fft = | 31 use_openmax_dl_fft = |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 } | 82 } |
| 83 | 83 |
| 84 # feature_defines_string ------------------------------------------------------- | 84 # feature_defines_string ------------------------------------------------------- |
| 85 | 85 |
| 86 # Convert the list to a space-separated string for passing to scripts. | 86 # Convert the list to a space-separated string for passing to scripts. |
| 87 # This would be the equivalent of passing '<(feature_defines)' in GYP. | 87 # This would be the equivalent of passing '<(feature_defines)' in GYP. |
| 88 feature_defines_string = | 88 feature_defines_string = |
| 89 exec_script("build/gn_list_to_space_separated_string.py", | 89 exec_script("build/gn_list_to_space_separated_string.py", |
| 90 feature_defines_list, | 90 feature_defines_list, |
| 91 "trim string") | 91 "trim string") |
| OLD | NEW |