| 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 # DON'T INCLUDE modules_idl_files.gni FROM HERE. | 5 # DON'T INCLUDE modules_idl_files.gni FROM HERE. |
| 6 # | 6 # |
| 7 # This file is shared with all modules' BUILD files which shouldn't need access | 7 # This file is shared with all modules' BUILD files which shouldn't need access |
| 8 # to the huge and slow lists of sources. If sharing is necessary, make a | 8 # to the huge and slow lists of sources. If sharing is necessary, make a |
| 9 # separate .gni. | 9 # separate .gni. |
| 10 import("//third_party/WebKit/Source/config.gni") | 10 import("//third_party/WebKit/Source/config.gni") |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 ] | 36 ] |
| 37 if (defined(invoker.deps)) { | 37 if (defined(invoker.deps)) { |
| 38 deps += invoker.deps | 38 deps += invoker.deps |
| 39 } | 39 } |
| 40 | 40 |
| 41 # Take everything else not handled above from the invoker. | 41 # Take everything else not handled above from the invoker. |
| 42 forward_variables_from(invoker, "*", [ "deps" ]) | 42 forward_variables_from(invoker, "*", [ "deps" ]) |
| 43 } | 43 } |
| 44 } | 44 } |
| 45 set_defaults("blink_modules_sources") { | 45 set_defaults("blink_modules_sources") { |
| 46 # This sets the default list of configs when the blink_core_sources target | 46 # This sets the default list of configs when the blink_modules_sources target |
| 47 # is defined. The default_compiler_configs comes from BUILDCONFIG.gn and | 47 # is defined. The default_compiler_configs comes from BUILDCONFIG.gn and |
| 48 # is the list normally applied to static libraries and source sets. | 48 # is the list normally applied to static libraries and source sets. |
| 49 configs = default_compiler_configs | 49 configs = default_compiler_configs |
| 50 configs += [ | 50 configs += [ |
| 51 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 51 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 52 "//build/config/compiler:no_size_t_to_int_warning", | 52 "//build/config/compiler:no_size_t_to_int_warning", |
| 53 "//third_party/WebKit/Source:config", | 53 "//third_party/WebKit/Source:config", |
| 54 "//third_party/WebKit/Source/modules:modules_implementation", | 54 "//third_party/WebKit/Source/modules:modules_implementation", |
| 55 "//third_party/WebKit/Source:non_test_config", | 55 "//third_party/WebKit/Source:non_test_config", |
| 56 "//third_party/WebKit/Source:inside_blink", | 56 "//third_party/WebKit/Source:inside_blink", |
| 57 ] | 57 ] |
| 58 if (remove_webcore_debug_symbols) { | 58 if (remove_webcore_debug_symbols) { |
| 59 configs -= [ "//build/config/compiler:default_symbols" ] | 59 configs -= [ "//build/config/compiler:default_symbols" ] |
| 60 configs += [ "//build/config/compiler:no_symbols" ] | 60 configs += [ "//build/config/compiler:no_symbols" ] |
| 61 } | 61 } |
| 62 } | 62 } |
| OLD | NEW |