| OLD | NEW |
| 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 1749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1760 'base/atomicops_internals_x86_gcc.h', | 1760 'base/atomicops_internals_x86_gcc.h', |
| 1761 'base/atomicops_internals_x86_msvc.h', | 1761 'base/atomicops_internals_x86_msvc.h', |
| 1762 'base/bits.cc', | 1762 'base/bits.cc', |
| 1763 'base/bits.h', | 1763 'base/bits.h', |
| 1764 'base/build_config.h', | 1764 'base/build_config.h', |
| 1765 'base/compiler-specific.h', | 1765 'base/compiler-specific.h', |
| 1766 'base/cpu.cc', | 1766 'base/cpu.cc', |
| 1767 'base/cpu.h', | 1767 'base/cpu.h', |
| 1768 'base/division-by-constant.cc', | 1768 'base/division-by-constant.cc', |
| 1769 'base/division-by-constant.h', | 1769 'base/division-by-constant.h', |
| 1770 'base/debug/stack_trace.cc', |
| 1771 'base/debug/stack_trace.h', |
| 1770 'base/file-utils.cc', | 1772 'base/file-utils.cc', |
| 1771 'base/file-utils.h', | 1773 'base/file-utils.h', |
| 1772 'base/flags.h', | 1774 'base/flags.h', |
| 1773 'base/format-macros.h', | 1775 'base/format-macros.h', |
| 1776 'base/free_deleter.h', |
| 1774 'base/functional.cc', | 1777 'base/functional.cc', |
| 1775 'base/functional.h', | 1778 'base/functional.h', |
| 1776 'base/hashmap.h', | 1779 'base/hashmap.h', |
| 1777 'base/ieee754.cc', | 1780 'base/ieee754.cc', |
| 1778 'base/ieee754.h', | 1781 'base/ieee754.h', |
| 1779 'base/iterator.h', | 1782 'base/iterator.h', |
| 1780 'base/lazy-instance.h', | 1783 'base/lazy-instance.h', |
| 1781 'base/logging.cc', | 1784 'base/logging.cc', |
| 1782 'base/logging.h', | 1785 'base/logging.h', |
| 1783 'base/macros.h', | 1786 'base/macros.h', |
| (...skipping 26 matching lines...) Expand all Loading... |
| 1810 'toolsets': ['target'], | 1813 'toolsets': ['target'], |
| 1811 }], | 1814 }], |
| 1812 ['OS=="linux"', { | 1815 ['OS=="linux"', { |
| 1813 'link_settings': { | 1816 'link_settings': { |
| 1814 'libraries': [ | 1817 'libraries': [ |
| 1815 '-ldl', | 1818 '-ldl', |
| 1816 '-lrt' | 1819 '-lrt' |
| 1817 ], | 1820 ], |
| 1818 }, | 1821 }, |
| 1819 'sources': [ | 1822 'sources': [ |
| 1823 'base/debug/stack_trace_posix.cc', |
| 1820 'base/platform/platform-linux.cc', | 1824 'base/platform/platform-linux.cc', |
| 1821 'base/platform/platform-posix.cc' | 1825 'base/platform/platform-posix.cc', |
| 1822 ], | 1826 ], |
| 1823 } | 1827 } |
| 1824 ], | 1828 ], |
| 1825 ['OS=="android"', { | 1829 ['OS=="android"', { |
| 1826 'sources': [ | 1830 'sources': [ |
| 1827 'base/platform/platform-posix.cc' | 1831 'base/debug/stack_trace_android.cc', |
| 1832 'base/platform/platform-posix.cc', |
| 1828 ], | 1833 ], |
| 1829 'link_settings': { | 1834 'link_settings': { |
| 1830 'target_conditions': [ | 1835 'target_conditions': [ |
| 1831 ['_toolset=="host" and host_os!="mac"', { | 1836 ['_toolset=="host" and host_os!="mac"', { |
| 1832 # Only include libdl and librt on host builds because they | 1837 # Only include libdl and librt on host builds because they |
| 1833 # are included by default on Android target builds, and we | 1838 # are included by default on Android target builds, and we |
| 1834 # don't want to re-include them here since this will change | 1839 # don't want to re-include them here since this will change |
| 1835 # library order and break (see crbug.com/469973). | 1840 # library order and break (see crbug.com/469973). |
| 1836 # These libraries do not exist on Mac hosted builds. | 1841 # These libraries do not exist on Mac hosted builds. |
| 1837 'libraries': [ | 1842 'libraries': [ |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1871 ], | 1876 ], |
| 1872 }], | 1877 }], |
| 1873 ['_toolset=="target"', { | 1878 ['_toolset=="target"', { |
| 1874 'libraries': [ | 1879 'libraries': [ |
| 1875 '-lbacktrace' | 1880 '-lbacktrace' |
| 1876 ], | 1881 ], |
| 1877 }], | 1882 }], |
| 1878 ], | 1883 ], |
| 1879 }, | 1884 }, |
| 1880 'sources': [ | 1885 'sources': [ |
| 1886 'base/debug/stack_trace_posix.cc', |
| 1881 'base/platform/platform-posix.cc', | 1887 'base/platform/platform-posix.cc', |
| 1882 'base/qnx-math.h', | 1888 'base/qnx-math.h' |
| 1883 ], | 1889 ], |
| 1884 'target_conditions': [ | 1890 'target_conditions': [ |
| 1885 ['_toolset=="host" and host_os=="linux"', { | 1891 ['_toolset=="host" and host_os=="linux"', { |
| 1886 'sources': [ | 1892 'sources': [ |
| 1887 'base/platform/platform-linux.cc' | 1893 'base/platform/platform-linux.cc' |
| 1888 ], | 1894 ], |
| 1889 }], | 1895 }], |
| 1890 ['_toolset=="host" and host_os=="mac"', { | 1896 ['_toolset=="host" and host_os=="mac"', { |
| 1891 'sources': [ | 1897 'sources': [ |
| 1892 'base/platform/platform-macos.cc' | 1898 'base/platform/platform-macos.cc' |
| 1893 ], | 1899 ], |
| 1894 }], | 1900 }], |
| 1895 ['_toolset=="target"', { | 1901 ['_toolset=="target"', { |
| 1896 'sources': [ | 1902 'sources': [ |
| 1897 'base/platform/platform-qnx.cc' | 1903 'base/platform/platform-qnx.cc' |
| 1898 ], | 1904 ], |
| 1899 }], | 1905 }], |
| 1900 ], | 1906 ], |
| 1901 }, | 1907 }, |
| 1902 ], | 1908 ], |
| 1903 ['OS=="freebsd"', { | 1909 ['OS=="freebsd"', { |
| 1904 'link_settings': { | 1910 'link_settings': { |
| 1905 'libraries': [ | 1911 'libraries': [ |
| 1906 '-L/usr/local/lib -lexecinfo', | 1912 '-L/usr/local/lib -lexecinfo', |
| 1907 ]}, | 1913 ]}, |
| 1908 'sources': [ | 1914 'sources': [ |
| 1915 'base/debug/stack_trace_posix.cc', |
| 1909 'base/platform/platform-freebsd.cc', | 1916 'base/platform/platform-freebsd.cc', |
| 1910 'base/platform/platform-posix.cc' | 1917 'base/platform/platform-posix.cc', |
| 1911 ], | 1918 ], |
| 1912 } | 1919 } |
| 1913 ], | 1920 ], |
| 1914 ['OS=="openbsd"', { | 1921 ['OS=="openbsd"', { |
| 1915 'link_settings': { | 1922 'link_settings': { |
| 1916 'libraries': [ | 1923 'libraries': [ |
| 1917 '-L/usr/local/lib -lexecinfo', | 1924 '-L/usr/local/lib -lexecinfo', |
| 1918 ]}, | 1925 ]}, |
| 1919 'sources': [ | 1926 'sources': [ |
| 1920 'base/platform/platform-openbsd.cc', | 1927 'base/platform/platform-openbsd.cc', |
| 1921 'base/platform/platform-posix.cc' | 1928 'base/platform/platform-posix.cc' |
| 1922 ], | 1929 ], |
| 1923 } | 1930 } |
| 1924 ], | 1931 ], |
| 1925 ['OS=="netbsd"', { | 1932 ['OS=="netbsd"', { |
| 1926 'link_settings': { | 1933 'link_settings': { |
| 1927 'libraries': [ | 1934 'libraries': [ |
| 1928 '-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lexecinfo', | 1935 '-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lexecinfo', |
| 1929 ]}, | 1936 ]}, |
| 1930 'sources': [ | 1937 'sources': [ |
| 1938 'base/debug/stack_trace_posix.cc', |
| 1931 'base/platform/platform-openbsd.cc', | 1939 'base/platform/platform-openbsd.cc', |
| 1932 'base/platform/platform-posix.cc' | 1940 'base/platform/platform-posix.cc', |
| 1933 ], | 1941 ], |
| 1934 } | 1942 } |
| 1935 ], | 1943 ], |
| 1936 ['OS=="aix"', { | 1944 ['OS=="aix"', { |
| 1937 'sources': [ | 1945 'sources': [ |
| 1938 'base/platform/platform-aix.cc', | 1946 'base/platform/platform-aix.cc', |
| 1939 'base/platform/platform-posix.cc' | 1947 'base/platform/platform-posix.cc' |
| 1940 ]}, | 1948 ]}, |
| 1941 ], | 1949 ], |
| 1942 ['OS=="solaris"', { | 1950 ['OS=="solaris"', { |
| 1943 'link_settings': { | 1951 'link_settings': { |
| 1944 'libraries': [ | 1952 'libraries': [ |
| 1945 '-lnsl -lrt', | 1953 '-lnsl -lrt', |
| 1946 ]}, | 1954 ]}, |
| 1947 'sources': [ | 1955 'sources': [ |
| 1956 'base/debug/stack_trace_posix.cc', |
| 1948 'base/platform/platform-solaris.cc', | 1957 'base/platform/platform-solaris.cc', |
| 1949 'base/platform/platform-posix.cc' | 1958 'base/platform/platform-posix.cc', |
| 1950 ], | 1959 ], |
| 1951 } | 1960 } |
| 1952 ], | 1961 ], |
| 1953 ['OS=="mac"', { | 1962 ['OS=="mac"', { |
| 1954 'sources': [ | 1963 'sources': [ |
| 1964 'base/debug/stack_trace_posix.cc', |
| 1955 'base/platform/platform-macos.cc', | 1965 'base/platform/platform-macos.cc', |
| 1956 'base/platform/platform-posix.cc' | 1966 'base/platform/platform-posix.cc', |
| 1957 ]}, | 1967 ]}, |
| 1958 ], | 1968 ], |
| 1959 ['OS=="win"', { | 1969 ['OS=="win"', { |
| 1960 'defines': [ | 1970 'defines': [ |
| 1961 '_CRT_RAND_S' # for rand_s() | 1971 '_CRT_RAND_S' # for rand_s() |
| 1962 ], | 1972 ], |
| 1963 'variables': { | 1973 'variables': { |
| 1964 'gyp_generators': '<!(echo $GYP_GENERATORS)', | 1974 'gyp_generators': '<!(echo $GYP_GENERATORS)', |
| 1965 }, | 1975 }, |
| 1966 'conditions': [ | 1976 'conditions': [ |
| 1967 ['gyp_generators=="make"', { | 1977 ['gyp_generators=="make"', { |
| 1968 'variables': { | 1978 'variables': { |
| 1969 'build_env': '<!(uname -o)', | 1979 'build_env': '<!(uname -o)', |
| 1970 }, | 1980 }, |
| 1971 'conditions': [ | 1981 'conditions': [ |
| 1972 ['build_env=="Cygwin"', { | 1982 ['build_env=="Cygwin"', { |
| 1973 'sources': [ | 1983 'sources': [ |
| 1984 'base/debug/stack_trace_posix.cc', |
| 1974 'base/platform/platform-cygwin.cc', | 1985 'base/platform/platform-cygwin.cc', |
| 1975 'base/platform/platform-posix.cc' | 1986 'base/platform/platform-posix.cc', |
| 1976 ], | 1987 ], |
| 1977 }, { | 1988 }, { |
| 1978 'sources': [ | 1989 'sources': [ |
| 1990 'base/debug/stack_trace_win.cc', |
| 1979 'base/platform/platform-win32.cc', | 1991 'base/platform/platform-win32.cc', |
| 1980 'base/win32-headers.h', | 1992 'base/win32-headers.h', |
| 1981 ], | 1993 ], |
| 1982 }], | 1994 }], |
| 1983 ], | 1995 ], |
| 1984 'link_settings': { | 1996 'link_settings': { |
| 1985 'libraries': [ '-lwinmm', '-lws2_32' ], | 1997 'libraries': [ '-lwinmm', '-lws2_32' ], |
| 1986 }, | 1998 }, |
| 1987 }, { | 1999 }, { |
| 1988 'sources': [ | 2000 'sources': [ |
| 2001 'base/debug/stack_trace_win.cc', |
| 1989 'base/platform/platform-win32.cc', | 2002 'base/platform/platform-win32.cc', |
| 1990 'base/win32-headers.h', | 2003 'base/win32-headers.h', |
| 1991 ], | 2004 ], |
| 1992 'msvs_disabled_warnings': [4351, 4355, 4800], | 2005 'msvs_disabled_warnings': [4351, 4355, 4800], |
| 1993 'link_settings': { | 2006 'link_settings': { |
| 1994 'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ], | 2007 'libraries': [ |
| 2008 '-ldbghelp.lib', |
| 2009 '-lshlwapi.lib', |
| 2010 '-lwinmm.lib', |
| 2011 '-lws2_32.lib' |
| 2012 ], |
| 1995 }, | 2013 }, |
| 1996 }], | 2014 }], |
| 1997 ], | 2015 ], |
| 1998 }], | 2016 }], |
| 1999 ], | 2017 ], |
| 2000 }, | 2018 }, |
| 2001 { | 2019 { |
| 2002 'target_name': 'v8_libplatform', | 2020 'target_name': 'v8_libplatform', |
| 2003 'type': 'static_library', | 2021 'type': 'static_library', |
| 2004 'variables': { | 2022 'variables': { |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2394 'conditions': [ | 2412 'conditions': [ |
| 2395 ['want_separate_host_toolset_mkpeephole==1', { | 2413 ['want_separate_host_toolset_mkpeephole==1', { |
| 2396 'toolsets': ['host'], | 2414 'toolsets': ['host'], |
| 2397 }, { | 2415 }, { |
| 2398 'toolsets': ['target'], | 2416 'toolsets': ['target'], |
| 2399 }], | 2417 }], |
| 2400 ], | 2418 ], |
| 2401 }, | 2419 }, |
| 2402 ], | 2420 ], |
| 2403 } | 2421 } |
| OLD | NEW |