Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: src/v8.gyp

Issue 2731463003: [date] Refactor TimezoneCache to be separate from the OS (Closed)
Patch Set: Properly reference windows function Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/date.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 1855 matching lines...) Expand 10 before | Expand all | Expand 10 after
1866 'base/platform/platform.h', 1866 'base/platform/platform.h',
1867 'base/platform/semaphore.cc', 1867 'base/platform/semaphore.cc',
1868 'base/platform/semaphore.h', 1868 'base/platform/semaphore.h',
1869 'base/ring-buffer.h', 1869 'base/ring-buffer.h',
1870 'base/safe_conversions.h', 1870 'base/safe_conversions.h',
1871 'base/safe_conversions_impl.h', 1871 'base/safe_conversions_impl.h',
1872 'base/safe_math.h', 1872 'base/safe_math.h',
1873 'base/safe_math_impl.h', 1873 'base/safe_math_impl.h',
1874 'base/sys-info.cc', 1874 'base/sys-info.cc',
1875 'base/sys-info.h', 1875 'base/sys-info.h',
1876 'base/timezone-cache.h',
1876 'base/utils/random-number-generator.cc', 1877 'base/utils/random-number-generator.cc',
1877 'base/utils/random-number-generator.h', 1878 'base/utils/random-number-generator.h',
1878 ], 1879 ],
1879 'target_conditions': [ 1880 'target_conditions': [
1880 ['OS=="android" and _toolset=="target"', { 1881 ['OS=="android" and _toolset=="target"', {
1881 'libraries': [ 1882 'libraries': [
1882 '-llog', 1883 '-llog',
1883 ], 1884 ],
1884 'include_dirs': [ 1885 'include_dirs': [
1885 'src/common/android/include', 1886 'src/common/android/include',
(...skipping 20 matching lines...) Expand all
1906 ['OS=="linux"', { 1907 ['OS=="linux"', {
1907 'link_settings': { 1908 'link_settings': {
1908 'libraries': [ 1909 'libraries': [
1909 '-ldl', 1910 '-ldl',
1910 '-lrt' 1911 '-lrt'
1911 ], 1912 ],
1912 }, 1913 },
1913 'sources': [ 1914 'sources': [
1914 'base/debug/stack_trace_posix.cc', 1915 'base/debug/stack_trace_posix.cc',
1915 'base/platform/platform-linux.cc', 1916 'base/platform/platform-linux.cc',
1917 'base/platform/platform-posix.h',
1916 'base/platform/platform-posix.cc', 1918 'base/platform/platform-posix.cc',
1917 ], 1919 ],
1918 } 1920 }
1919 ], 1921 ],
1920 ['OS=="android"', { 1922 ['OS=="android"', {
1921 'sources': [ 1923 'sources': [
1922 'base/debug/stack_trace_android.cc', 1924 'base/debug/stack_trace_android.cc',
1925 'base/platform/platform-posix.h',
1923 'base/platform/platform-posix.cc', 1926 'base/platform/platform-posix.cc',
1924 ], 1927 ],
1925 'link_settings': { 1928 'link_settings': {
1926 'target_conditions': [ 1929 'target_conditions': [
1927 ['_toolset=="host" and host_os!="mac"', { 1930 ['_toolset=="host" and host_os!="mac"', {
1928 # Only include libdl and librt on host builds because they 1931 # Only include libdl and librt on host builds because they
1929 # are included by default on Android target builds, and we 1932 # are included by default on Android target builds, and we
1930 # don't want to re-include them here since this will change 1933 # don't want to re-include them here since this will change
1931 # library order and break (see crbug.com/469973). 1934 # library order and break (see crbug.com/469973).
1932 # These libraries do not exist on Mac hosted builds. 1935 # These libraries do not exist on Mac hosted builds.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1968 }], 1971 }],
1969 ['_toolset=="target"', { 1972 ['_toolset=="target"', {
1970 'libraries': [ 1973 'libraries': [
1971 '-lbacktrace' 1974 '-lbacktrace'
1972 ], 1975 ],
1973 }], 1976 }],
1974 ], 1977 ],
1975 }, 1978 },
1976 'sources': [ 1979 'sources': [
1977 'base/debug/stack_trace_posix.cc', 1980 'base/debug/stack_trace_posix.cc',
1981 'base/platform/platform-posix.h',
1978 'base/platform/platform-posix.cc', 1982 'base/platform/platform-posix.cc',
1979 'base/qnx-math.h' 1983 'base/qnx-math.h'
1980 ], 1984 ],
1981 'target_conditions': [ 1985 'target_conditions': [
1982 ['_toolset=="host" and host_os=="linux"', { 1986 ['_toolset=="host" and host_os=="linux"', {
1983 'sources': [ 1987 'sources': [
1984 'base/platform/platform-linux.cc' 1988 'base/platform/platform-linux.cc'
1985 ], 1989 ],
1986 }], 1990 }],
1987 ['_toolset=="host" and host_os=="mac"', { 1991 ['_toolset=="host" and host_os=="mac"', {
(...skipping 10 matching lines...) Expand all
1998 }, 2002 },
1999 ], 2003 ],
2000 ['OS=="freebsd"', { 2004 ['OS=="freebsd"', {
2001 'link_settings': { 2005 'link_settings': {
2002 'libraries': [ 2006 'libraries': [
2003 '-L/usr/local/lib -lexecinfo', 2007 '-L/usr/local/lib -lexecinfo',
2004 ]}, 2008 ]},
2005 'sources': [ 2009 'sources': [
2006 'base/debug/stack_trace_posix.cc', 2010 'base/debug/stack_trace_posix.cc',
2007 'base/platform/platform-freebsd.cc', 2011 'base/platform/platform-freebsd.cc',
2012 'base/platform/platform-posix.h',
2008 'base/platform/platform-posix.cc', 2013 'base/platform/platform-posix.cc',
2009 ], 2014 ],
2010 } 2015 }
2011 ], 2016 ],
2012 ['OS=="openbsd"', { 2017 ['OS=="openbsd"', {
2013 'link_settings': { 2018 'link_settings': {
2014 'libraries': [ 2019 'libraries': [
2015 '-L/usr/local/lib -lexecinfo', 2020 '-L/usr/local/lib -lexecinfo',
2016 ]}, 2021 ]},
2017 'sources': [ 2022 'sources': [
2018 'base/platform/platform-openbsd.cc', 2023 'base/platform/platform-openbsd.cc',
2024 'base/platform/platform-posix.h',
2019 'base/platform/platform-posix.cc' 2025 'base/platform/platform-posix.cc'
2020 ], 2026 ],
2021 } 2027 }
2022 ], 2028 ],
2023 ['OS=="netbsd"', { 2029 ['OS=="netbsd"', {
2024 'link_settings': { 2030 'link_settings': {
2025 'libraries': [ 2031 'libraries': [
2026 '-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lexecinfo', 2032 '-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lexecinfo',
2027 ]}, 2033 ]},
2028 'sources': [ 2034 'sources': [
2029 'base/debug/stack_trace_posix.cc', 2035 'base/debug/stack_trace_posix.cc',
2030 'base/platform/platform-openbsd.cc', 2036 'base/platform/platform-openbsd.cc',
2037 'base/platform/platform-posix.h',
2031 'base/platform/platform-posix.cc', 2038 'base/platform/platform-posix.cc',
2032 ], 2039 ],
2033 } 2040 }
2034 ], 2041 ],
2035 ['OS=="aix"', { 2042 ['OS=="aix"', {
2036 'sources': [ 2043 'sources': [
2037 'base/debug/stack_trace_posix.cc', 2044 'base/debug/stack_trace_posix.cc',
2038 'base/platform/platform-aix.cc', 2045 'base/platform/platform-aix.cc',
2046 'base/platform/platform-posix.h',
2039 'base/platform/platform-posix.cc' 2047 'base/platform/platform-posix.cc'
2040 ]}, 2048 ]},
2041 ], 2049 ],
2042 ['OS=="solaris"', { 2050 ['OS=="solaris"', {
2043 'link_settings': { 2051 'link_settings': {
2044 'libraries': [ 2052 'libraries': [
2045 '-lnsl -lrt', 2053 '-lnsl -lrt',
2046 ]}, 2054 ]},
2047 'sources': [ 2055 'sources': [
2048 'base/debug/stack_trace_posix.cc', 2056 'base/debug/stack_trace_posix.cc',
2049 'base/platform/platform-solaris.cc', 2057 'base/platform/platform-solaris.cc',
2058 'base/platform/platform-posix.h',
2050 'base/platform/platform-posix.cc', 2059 'base/platform/platform-posix.cc',
2051 ], 2060 ],
2052 } 2061 }
2053 ], 2062 ],
2054 ['OS=="mac"', { 2063 ['OS=="mac"', {
2055 'sources': [ 2064 'sources': [
2056 'base/debug/stack_trace_posix.cc', 2065 'base/debug/stack_trace_posix.cc',
2057 'base/platform/platform-macos.cc', 2066 'base/platform/platform-macos.cc',
2067 'base/platform/platform-posix.h',
2058 'base/platform/platform-posix.cc', 2068 'base/platform/platform-posix.cc',
2059 ]}, 2069 ]},
2060 ], 2070 ],
2061 ['OS=="win"', { 2071 ['OS=="win"', {
2062 'defines': [ 2072 'defines': [
2063 '_CRT_RAND_S' # for rand_s() 2073 '_CRT_RAND_S' # for rand_s()
2064 ], 2074 ],
2065 'variables': { 2075 'variables': {
2066 'gyp_generators': '<!(echo $GYP_GENERATORS)', 2076 'gyp_generators': '<!(echo $GYP_GENERATORS)',
2067 }, 2077 },
2068 'conditions': [ 2078 'conditions': [
2069 ['gyp_generators=="make"', { 2079 ['gyp_generators=="make"', {
2070 'variables': { 2080 'variables': {
2071 'build_env': '<!(uname -o)', 2081 'build_env': '<!(uname -o)',
2072 }, 2082 },
2073 'conditions': [ 2083 'conditions': [
2074 ['build_env=="Cygwin"', { 2084 ['build_env=="Cygwin"', {
2075 'sources': [ 2085 'sources': [
2076 'base/debug/stack_trace_posix.cc', 2086 'base/debug/stack_trace_posix.cc',
2077 'base/platform/platform-cygwin.cc', 2087 'base/platform/platform-cygwin.cc',
2088 'base/platform/platform-posix.h',
2078 'base/platform/platform-posix.cc', 2089 'base/platform/platform-posix.cc',
2079 ], 2090 ],
2080 }, { 2091 }, {
2081 'sources': [ 2092 'sources': [
2082 'base/debug/stack_trace_win.cc', 2093 'base/debug/stack_trace_win.cc',
2083 'base/platform/platform-win32.cc', 2094 'base/platform/platform-win32.cc',
2084 'base/win32-headers.h', 2095 'base/win32-headers.h',
2085 ], 2096 ],
2086 }], 2097 }],
2087 ], 2098 ],
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
2505 'conditions': [ 2516 'conditions': [
2506 ['want_separate_host_toolset_mkpeephole==1', { 2517 ['want_separate_host_toolset_mkpeephole==1', {
2507 'toolsets': ['host'], 2518 'toolsets': ['host'],
2508 }, { 2519 }, {
2509 'toolsets': ['target'], 2520 'toolsets': ['target'],
2510 }], 2521 }],
2511 ], 2522 ],
2512 }, 2523 },
2513 ], 2524 ],
2514 } 2525 }
OLDNEW
« no previous file with comments | « src/date.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698