Chromium Code Reviews| 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/dcheck_always_on.gni") | 7 import("//build/config/dcheck_always_on.gni") |
| 8 import("//build/config/mips.gni") | 8 import("//build/config/mips.gni") |
| 9 import("//build/config/sanitizers/sanitizers.gni") | 9 import("//build/config/sanitizers/sanitizers.gni") |
| 10 | 10 |
| (...skipping 2018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2029 "src/base/atomicops_internals_s390_gcc.h", | 2029 "src/base/atomicops_internals_s390_gcc.h", |
| 2030 "src/base/atomicops_internals_tsan.h", | 2030 "src/base/atomicops_internals_tsan.h", |
| 2031 "src/base/atomicops_internals_x86_gcc.cc", | 2031 "src/base/atomicops_internals_x86_gcc.cc", |
| 2032 "src/base/atomicops_internals_x86_gcc.h", | 2032 "src/base/atomicops_internals_x86_gcc.h", |
| 2033 "src/base/atomicops_internals_x86_msvc.h", | 2033 "src/base/atomicops_internals_x86_msvc.h", |
| 2034 "src/base/bits.cc", | 2034 "src/base/bits.cc", |
| 2035 "src/base/bits.h", | 2035 "src/base/bits.h", |
| 2036 "src/base/build_config.h", | 2036 "src/base/build_config.h", |
| 2037 "src/base/cpu.cc", | 2037 "src/base/cpu.cc", |
| 2038 "src/base/cpu.h", | 2038 "src/base/cpu.h", |
| 2039 "src/base/debug/stack_trace.cc", | |
| 2040 "src/base/debug/stack_trace.h", | |
| 2039 "src/base/division-by-constant.cc", | 2041 "src/base/division-by-constant.cc", |
| 2040 "src/base/division-by-constant.h", | 2042 "src/base/division-by-constant.h", |
| 2041 "src/base/file-utils.cc", | 2043 "src/base/file-utils.cc", |
| 2042 "src/base/file-utils.h", | 2044 "src/base/file-utils.h", |
| 2043 "src/base/flags.h", | 2045 "src/base/flags.h", |
| 2044 "src/base/format-macros.h", | 2046 "src/base/format-macros.h", |
| 2045 "src/base/functional.cc", | 2047 "src/base/functional.cc", |
|
Jakob Kummerow
2016/08/18 09:36:13
why is "src/base/free_deleter.h" not required here
rmcilroy
2016/08/18 11:39:48
Oops, good catch, thanks. Done
| |
| 2046 "src/base/functional.h", | 2048 "src/base/functional.h", |
| 2047 "src/base/hashmap.h", | 2049 "src/base/hashmap.h", |
| 2048 "src/base/ieee754.cc", | 2050 "src/base/ieee754.cc", |
| 2049 "src/base/ieee754.h", | 2051 "src/base/ieee754.h", |
| 2050 "src/base/iterator.h", | 2052 "src/base/iterator.h", |
| 2051 "src/base/lazy-instance.h", | 2053 "src/base/lazy-instance.h", |
| 2052 "src/base/logging.cc", | 2054 "src/base/logging.cc", |
| 2053 "src/base/logging.h", | 2055 "src/base/logging.h", |
| 2054 "src/base/macros.h", | 2056 "src/base/macros.h", |
| 2055 "src/base/once.cc", | 2057 "src/base/once.cc", |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 2072 "src/base/sys-info.h", | 2074 "src/base/sys-info.h", |
| 2073 "src/base/utils/random-number-generator.cc", | 2075 "src/base/utils/random-number-generator.cc", |
| 2074 "src/base/utils/random-number-generator.h", | 2076 "src/base/utils/random-number-generator.h", |
| 2075 ] | 2077 ] |
| 2076 | 2078 |
| 2077 configs = [ ":internal_config_base" ] | 2079 configs = [ ":internal_config_base" ] |
| 2078 | 2080 |
| 2079 defines = [] | 2081 defines = [] |
| 2080 | 2082 |
| 2081 if (is_posix) { | 2083 if (is_posix) { |
| 2082 sources += [ "src/base/platform/platform-posix.cc" ] | 2084 sources += [ |
| 2085 "src/base/platform/platform-posix.cc", | |
| 2086 ] | |
| 2083 } | 2087 } |
| 2084 | 2088 |
| 2085 if (is_linux) { | 2089 if (is_linux) { |
| 2086 sources += [ "src/base/platform/platform-linux.cc" ] | 2090 sources += [ |
| 2091 "src/base/platform/platform-linux.cc", | |
| 2092 "src/base/debug/stack_trace_posix.cc", | |
|
Jakob Kummerow
2016/08/18 09:36:13
nit: "d" alpha-sorts before "p"
rmcilroy
2016/08/18 11:39:48
Done
| |
| 2093 ] | |
| 2087 | 2094 |
| 2088 libs = [ | 2095 libs = [ |
| 2089 "dl", | 2096 "dl", |
| 2090 "rt", | 2097 "rt", |
| 2091 ] | 2098 ] |
| 2092 } else if (is_android) { | 2099 } else if (is_android) { |
| 2093 if (current_toolchain == host_toolchain) { | 2100 if (current_toolchain == host_toolchain) { |
| 2094 libs = [ | 2101 libs = [ |
| 2095 "dl", | 2102 "dl", |
| 2096 "rt", | 2103 "rt", |
| 2097 ] | 2104 ] |
| 2105 sources += [ "src/base/debug/stack_trace_posix.cc" ] | |
| 2098 if (host_os == "mac") { | 2106 if (host_os == "mac") { |
| 2099 sources += [ "src/base/platform/platform-macos.cc" ] | 2107 sources += [ "src/base/platform/platform-macos.cc" ] |
| 2100 } else { | 2108 } else { |
| 2101 sources += [ "src/base/platform/platform-linux.cc" ] | 2109 sources += [ "src/base/platform/platform-linux.cc" ] |
| 2102 } | 2110 } |
| 2103 } else { | 2111 } else { |
| 2104 sources += [ "src/base/platform/platform-linux.cc" ] | 2112 sources += [ |
| 2113 "src/base/platform/platform-linux.cc", | |
| 2114 "src/base/debug/stack_trace_android.cc", | |
|
Jakob Kummerow
2016/08/18 09:36:13
again
rmcilroy
2016/08/18 11:39:48
Done.
| |
| 2115 ] | |
| 2105 } | 2116 } |
| 2106 } else if (is_mac) { | 2117 } else if (is_mac) { |
| 2107 sources += [ "src/base/platform/platform-macos.cc" ] | 2118 sources += [ |
| 2119 "src/base/platform/platform-macos.cc", | |
| 2120 "src/base/debug/stack_trace_posix.cc", | |
|
Jakob Kummerow
2016/08/18 09:36:13
again
rmcilroy
2016/08/18 11:39:48
Done.
| |
| 2121 ] | |
| 2108 } else if (is_win) { | 2122 } else if (is_win) { |
| 2109 # TODO(jochen): Add support for cygwin. | 2123 # TODO(jochen): Add support for cygwin. |
| 2110 sources += [ | 2124 sources += [ |
| 2125 "src/base/debug/stack_trace_win.cc", | |
| 2111 "src/base/platform/platform-win32.cc", | 2126 "src/base/platform/platform-win32.cc", |
| 2112 "src/base/win32-headers.h", | 2127 "src/base/win32-headers.h", |
| 2113 ] | 2128 ] |
| 2114 | 2129 |
| 2115 defines += [ "_CRT_RAND_S" ] # for rand_s() | 2130 defines += [ "_CRT_RAND_S" ] # for rand_s() |
| 2116 | 2131 |
| 2117 libs = [ | 2132 libs = [ |
| 2133 "dbghelp.lib", | |
| 2134 "shlwapi.lib", | |
| 2118 "winmm.lib", | 2135 "winmm.lib", |
| 2119 "ws2_32.lib", | 2136 "ws2_32.lib", |
| 2120 ] | 2137 ] |
| 2121 } | 2138 } |
| 2122 | 2139 |
| 2123 # TODO(jochen): Add support for qnx, freebsd, openbsd, netbsd, and solaris. | 2140 # TODO(jochen): Add support for qnx, freebsd, openbsd, netbsd, and solaris. |
| 2124 } | 2141 } |
| 2125 | 2142 |
| 2126 v8_source_set("v8_libplatform") { | 2143 v8_source_set("v8_libplatform") { |
| 2127 sources = [ | 2144 sources = [ |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2542 | 2559 |
| 2543 deps = [ | 2560 deps = [ |
| 2544 ":fuzzer_support", | 2561 ":fuzzer_support", |
| 2545 ] | 2562 ] |
| 2546 | 2563 |
| 2547 configs = [ ":internal_config" ] | 2564 configs = [ ":internal_config" ] |
| 2548 } | 2565 } |
| 2549 | 2566 |
| 2550 v8_fuzzer("wasm_asmjs_fuzzer") { | 2567 v8_fuzzer("wasm_asmjs_fuzzer") { |
| 2551 } | 2568 } |
| OLD | NEW |