| 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/android/config.gni") | 5 import("//build/config/android/config.gni") | 
| 6 import("//build/config/arm.gni") | 6 import("//build/config/arm.gni") | 
| 7 import("//build/config/mips.gni") | 7 import("//build/config/mips.gni") | 
| 8 import("//build/config/sanitizers/sanitizers.gni") | 8 import("//build/config/sanitizers/sanitizers.gni") | 
| 9 | 9 | 
| 10 if (is_android) { | 10 if (is_android) { | 
| (...skipping 2116 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2127     if (!is_component_build) { | 2127     if (!is_component_build) { | 
| 2128       sources += [ "$target_gen_dir/d8-js.cc" ] | 2128       sources += [ "$target_gen_dir/d8-js.cc" ] | 
| 2129     } | 2129     } | 
| 2130     if (v8_enable_i18n_support) { | 2130     if (v8_enable_i18n_support) { | 
| 2131       deps += [ "//third_party/icu" ] | 2131       deps += [ "//third_party/icu" ] | 
| 2132     } | 2132     } | 
| 2133   } | 2133   } | 
| 2134 } | 2134 } | 
| 2135 | 2135 | 
| 2136 if ((current_toolchain == host_toolchain && v8_toolset_for_shell == "host") || (
      current_toolchain == snapshot_toolchain && v8_toolset_for_shell == "host") || (c
      urrent_toolchain != host_toolchain && v8_toolset_for_shell == "target")) { | 2136 if ((current_toolchain == host_toolchain && v8_toolset_for_shell == "host") || (
      current_toolchain == snapshot_toolchain && v8_toolset_for_shell == "host") || (c
      urrent_toolchain != host_toolchain && v8_toolset_for_shell == "target")) { | 
| 2137   executable("shell") { | 2137   executable("v8_shell") { | 
| 2138     sources = [ | 2138     sources = [ | 
| 2139       "samples/shell.cc", | 2139       "samples/shell.cc", | 
| 2140     ] | 2140     ] | 
| 2141 | 2141 | 
| 2142     configs -= [ "//build/config/compiler:chromium_code" ] | 2142     configs -= [ "//build/config/compiler:chromium_code" ] | 
| 2143     configs += [ "//build/config/compiler:no_chromium_code" ] | 2143     configs += [ "//build/config/compiler:no_chromium_code" ] | 
| 2144     configs += [ | 2144     configs += [ | 
| 2145       # Note: don't use :internal_config here because this target will get | 2145       # Note: don't use :internal_config here because this target will get | 
| 2146       # the :external_config applied to it by virtue of depending on :v8, and | 2146       # the :external_config applied to it by virtue of depending on :v8, and | 
| 2147       # you can't have both applied to the same target. | 2147       # you can't have both applied to the same target. | 
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2250 | 2250 | 
| 2251   configs -= [ "//build/config/compiler:chromium_code" ] | 2251   configs -= [ "//build/config/compiler:chromium_code" ] | 
| 2252   configs += [ "//build/config/compiler:no_chromium_code" ] | 2252   configs += [ "//build/config/compiler:no_chromium_code" ] | 
| 2253   configs += [ | 2253   configs += [ | 
| 2254     ":internal_config", | 2254     ":internal_config", | 
| 2255     ":libplatform_config", | 2255     ":libplatform_config", | 
| 2256     ":features", | 2256     ":features", | 
| 2257     ":toolchain", | 2257     ":toolchain", | 
| 2258   ] | 2258   ] | 
| 2259 } | 2259 } | 
| OLD | NEW | 
|---|