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 1942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1953 "src/libplatform/task-queue.cc", | 1953 "src/libplatform/task-queue.cc", |
1954 "src/libplatform/task-queue.h", | 1954 "src/libplatform/task-queue.h", |
1955 "src/libplatform/worker-thread.cc", | 1955 "src/libplatform/worker-thread.cc", |
1956 "src/libplatform/worker-thread.h", | 1956 "src/libplatform/worker-thread.h", |
1957 ] | 1957 ] |
1958 | 1958 |
1959 configs = [ | 1959 configs = [ |
1960 ":internal_config_base", | 1960 ":internal_config_base", |
1961 ] | 1961 ] |
1962 | 1962 |
| 1963 public_configs = [ |
| 1964 ":libplatform_config" |
| 1965 ] |
| 1966 |
1963 deps = [ | 1967 deps = [ |
1964 ":v8_libbase", | 1968 ":v8_libbase", |
1965 ] | 1969 ] |
1966 } | 1970 } |
1967 | 1971 |
1968 v8_source_set("fuzzer_support") { | 1972 v8_source_set("fuzzer_support") { |
1969 visibility = [ ":*" ] # Only targets in this file can depend on this. | 1973 visibility = [ ":*" ] # Only targets in this file can depend on this. |
1970 | 1974 |
1971 sources = [ | 1975 sources = [ |
1972 "test/fuzzer/fuzzer-support.cc", | 1976 "test/fuzzer/fuzzer-support.cc", |
1973 "test/fuzzer/fuzzer-support.h", | 1977 "test/fuzzer/fuzzer-support.h", |
1974 ] | 1978 ] |
1975 | 1979 |
1976 configs = [ | 1980 configs = [ |
1977 ":internal_config_base", | 1981 ":internal_config_base", |
1978 ":libplatform_config", | |
1979 ] | 1982 ] |
1980 | 1983 |
1981 deps = [ | 1984 deps = [ |
| 1985 snapshot_target, |
| 1986 ] |
| 1987 |
| 1988 public_deps = [ |
1982 ":v8_libplatform", | 1989 ":v8_libplatform", |
1983 snapshot_target, | |
1984 ] | 1990 ] |
1985 } | 1991 } |
1986 | 1992 |
1987 ############################################################################### | 1993 ############################################################################### |
1988 # Executables | 1994 # Executables |
1989 # | 1995 # |
1990 | 1996 |
1991 if (current_toolchain == snapshot_toolchain) { | 1997 if (current_toolchain == snapshot_toolchain) { |
1992 executable("mksnapshot") { | 1998 executable("mksnapshot") { |
1993 visibility = [ ":*" ] # Only targets in this file can depend on this. | 1999 visibility = [ ":*" ] # Only targets in this file can depend on this. |
1994 | 2000 |
1995 sources = [ | 2001 sources = [ |
1996 "src/snapshot/mksnapshot.cc", | 2002 "src/snapshot/mksnapshot.cc", |
1997 ] | 2003 ] |
1998 | 2004 |
1999 configs -= [ "//build/config/compiler:chromium_code" ] | 2005 configs -= [ "//build/config/compiler:chromium_code" ] |
2000 configs += [ "//build/config/compiler:no_chromium_code" ] | 2006 configs += [ "//build/config/compiler:no_chromium_code" ] |
2001 configs += [ | 2007 configs += [ |
2002 ":internal_config", | 2008 ":internal_config", |
2003 ":libplatform_config", | |
2004 ":features", | 2009 ":features", |
2005 ":toolchain", | 2010 ":toolchain", |
2006 ] | 2011 ] |
2007 | 2012 |
2008 deps = [ | 2013 deps = [ |
2009 ":v8_base", | 2014 ":v8_base", |
2010 ":v8_libplatform", | 2015 ":v8_libplatform", |
2011 ":v8_nosnapshot", | 2016 ":v8_nosnapshot", |
2012 "//build/config/sanitizers:deps", | 2017 "//build/config/sanitizers:deps", |
2013 "//build/win:default_exe_manifest", | 2018 "//build/win:default_exe_manifest", |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2134 sources = [ | 2139 sources = [ |
2135 "test/fuzzer/json.cc", | 2140 "test/fuzzer/json.cc", |
2136 ] | 2141 ] |
2137 | 2142 |
2138 deps = [ | 2143 deps = [ |
2139 ":fuzzer_support", | 2144 ":fuzzer_support", |
2140 ] | 2145 ] |
2141 | 2146 |
2142 configs = [ | 2147 configs = [ |
2143 ":internal_config", | 2148 ":internal_config", |
2144 ":libplatform_config", | |
2145 ] | 2149 ] |
2146 } | 2150 } |
2147 | 2151 |
2148 v8_source_set("parser_fuzzer") { | 2152 v8_source_set("parser_fuzzer") { |
2149 sources = [ | 2153 sources = [ |
2150 "test/fuzzer/parser.cc", | 2154 "test/fuzzer/parser.cc", |
2151 ] | 2155 ] |
2152 | 2156 |
2153 deps = [ | 2157 deps = [ |
2154 ":fuzzer_support", | 2158 ":fuzzer_support", |
2155 ] | 2159 ] |
2156 | 2160 |
2157 configs = [ | 2161 configs = [ |
2158 ":internal_config", | 2162 ":internal_config", |
2159 ":libplatform_config", | |
2160 ] | 2163 ] |
2161 } | 2164 } |
2162 | 2165 |
2163 v8_source_set("regexp_fuzzer") { | 2166 v8_source_set("regexp_fuzzer") { |
2164 sources = [ | 2167 sources = [ |
2165 "test/fuzzer/regexp.cc", | 2168 "test/fuzzer/regexp.cc", |
2166 ] | 2169 ] |
2167 | 2170 |
2168 deps = [ | 2171 deps = [ |
2169 ":fuzzer_support", | 2172 ":fuzzer_support", |
2170 ] | 2173 ] |
2171 | 2174 |
2172 configs = [ | 2175 configs = [ |
2173 ":internal_config", | 2176 ":internal_config", |
2174 ":libplatform_config", | |
2175 ] | 2177 ] |
2176 } | 2178 } |
2177 | 2179 |
2178 v8_source_set("wasm_fuzzer") { | 2180 v8_source_set("wasm_fuzzer") { |
2179 sources = [ | 2181 sources = [ |
2180 "test/fuzzer/wasm.cc", | 2182 "test/fuzzer/wasm.cc", |
2181 ] | 2183 ] |
2182 | 2184 |
2183 deps = [ | 2185 deps = [ |
2184 ":fuzzer_support", | 2186 ":fuzzer_support", |
2185 ] | 2187 ] |
2186 | 2188 |
2187 configs = [ | 2189 configs = [ |
2188 ":internal_config", | 2190 ":internal_config", |
2189 ":libplatform_config", | |
2190 ] | 2191 ] |
2191 } | 2192 } |
2192 | 2193 |
2193 v8_source_set("wasm_asmjs_fuzzer") { | 2194 v8_source_set("wasm_asmjs_fuzzer") { |
2194 sources = [ | 2195 sources = [ |
2195 "test/fuzzer/wasm-asmjs.cc", | 2196 "test/fuzzer/wasm-asmjs.cc", |
2196 ] | 2197 ] |
2197 | 2198 |
2198 deps = [ | 2199 deps = [ |
2199 ":fuzzer_support", | 2200 ":fuzzer_support", |
2200 ] | 2201 ] |
2201 | 2202 |
2202 configs = [ | 2203 configs = [ |
2203 ":internal_config", | 2204 ":internal_config", |
2204 ":libplatform_config", | |
2205 ] | 2205 ] |
2206 } | 2206 } |
OLD | NEW |