| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 '..', | 61 '..', |
| 62 ], | 62 ], |
| 63 'defines': [ | 63 'defines': [ |
| 64 'BUILDING_V8_SHARED', | 64 'BUILDING_V8_SHARED', |
| 65 ], | 65 ], |
| 66 'direct_dependent_settings': { | 66 'direct_dependent_settings': { |
| 67 'defines': [ | 67 'defines': [ |
| 68 'USING_V8_SHARED', | 68 'USING_V8_SHARED', |
| 69 ], | 69 ], |
| 70 }, | 70 }, |
| 71 'target_conditions': [ | |
| 72 ['OS=="android" and _toolset=="target"', { | |
| 73 'libraries': [ | |
| 74 '-llog', | |
| 75 ], | |
| 76 'include_dirs': [ | |
| 77 'src/common/android/include', | |
| 78 ], | |
| 79 }], | |
| 80 ], | |
| 81 'conditions': [ | 71 'conditions': [ |
| 82 ['OS=="mac"', { | 72 ['OS=="mac"', { |
| 83 'xcode_settings': { | 73 'xcode_settings': { |
| 84 'OTHER_LDFLAGS': ['-dynamiclib', '-all_load'] | 74 'OTHER_LDFLAGS': ['-dynamiclib', '-all_load'] |
| 85 }, | 75 }, |
| 86 }], | 76 }], |
| 87 ['soname_version!=""', { | 77 ['soname_version!=""', { |
| 88 'product_extension': 'so.<(soname_version)', | 78 'product_extension': 'so.<(soname_version)', |
| 89 }], | 79 }], |
| 90 ], | 80 ], |
| (...skipping 1662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1753 }], | 1743 }], |
| 1754 ['OS=="win" and v8_enable_i18n_support==1', { | 1744 ['OS=="win" and v8_enable_i18n_support==1', { |
| 1755 'dependencies': [ | 1745 'dependencies': [ |
| 1756 '<(icu_gyp_path):icudata', | 1746 '<(icu_gyp_path):icudata', |
| 1757 ], | 1747 ], |
| 1758 }], | 1748 }], |
| 1759 ], | 1749 ], |
| 1760 }, | 1750 }, |
| 1761 { | 1751 { |
| 1762 'target_name': 'v8_libbase', | 1752 'target_name': 'v8_libbase', |
| 1763 'type': 'static_library', | 1753 'type': '<(component)', |
| 1764 'variables': { | 1754 'variables': { |
| 1765 'optimize': 'max', | 1755 'optimize': 'max', |
| 1766 }, | 1756 }, |
| 1767 'include_dirs+': [ | 1757 'include_dirs+': [ |
| 1768 '..', | 1758 '..', |
| 1769 ], | 1759 ], |
| 1770 'sources': [ | 1760 'sources': [ |
| 1771 'base/adapters.h', | 1761 'base/adapters.h', |
| 1772 'base/atomic-utils.h', | 1762 'base/atomic-utils.h', |
| 1773 'base/atomicops.h', | 1763 'base/atomicops.h', |
| 1774 'base/atomicops_internals_arm64_gcc.h', | 1764 'base/atomicops_internals_arm64_gcc.h', |
| 1775 'base/atomicops_internals_arm_gcc.h', | 1765 'base/atomicops_internals_arm_gcc.h', |
| 1776 'base/atomicops_internals_atomicword_compat.h', | 1766 'base/atomicops_internals_atomicword_compat.h', |
| 1777 'base/atomicops_internals_mac.h', | 1767 'base/atomicops_internals_mac.h', |
| 1778 'base/atomicops_internals_mips_gcc.h', | 1768 'base/atomicops_internals_mips_gcc.h', |
| 1779 'base/atomicops_internals_mips64_gcc.h', | 1769 'base/atomicops_internals_mips64_gcc.h', |
| 1780 'base/atomicops_internals_ppc_gcc.h', | 1770 'base/atomicops_internals_ppc_gcc.h', |
| 1781 'base/atomicops_internals_s390_gcc.h', | 1771 'base/atomicops_internals_s390_gcc.h', |
| 1782 'base/atomicops_internals_tsan.h', | 1772 'base/atomicops_internals_tsan.h', |
| 1783 'base/atomicops_internals_x86_gcc.cc', | 1773 'base/atomicops_internals_x86_gcc.cc', |
| 1784 'base/atomicops_internals_x86_gcc.h', | 1774 'base/atomicops_internals_x86_gcc.h', |
| 1785 'base/atomicops_internals_x86_msvc.h', | 1775 'base/atomicops_internals_x86_msvc.h', |
| 1776 'base/base-export.h', |
| 1786 'base/bits.cc', | 1777 'base/bits.cc', |
| 1787 'base/bits.h', | 1778 'base/bits.h', |
| 1788 'base/build_config.h', | 1779 'base/build_config.h', |
| 1789 'base/compiler-specific.h', | 1780 'base/compiler-specific.h', |
| 1790 'base/cpu.cc', | 1781 'base/cpu.cc', |
| 1791 'base/cpu.h', | 1782 'base/cpu.h', |
| 1792 'base/division-by-constant.cc', | 1783 'base/division-by-constant.cc', |
| 1793 'base/division-by-constant.h', | 1784 'base/division-by-constant.h', |
| 1794 'base/debug/stack_trace.cc', | 1785 'base/debug/stack_trace.cc', |
| 1795 'base/debug/stack_trace.h', | 1786 'base/debug/stack_trace.h', |
| (...skipping 27 matching lines...) Expand all Loading... |
| 1823 'base/platform/semaphore.h', | 1814 'base/platform/semaphore.h', |
| 1824 'base/safe_conversions.h', | 1815 'base/safe_conversions.h', |
| 1825 'base/safe_conversions_impl.h', | 1816 'base/safe_conversions_impl.h', |
| 1826 'base/safe_math.h', | 1817 'base/safe_math.h', |
| 1827 'base/safe_math_impl.h', | 1818 'base/safe_math_impl.h', |
| 1828 'base/sys-info.cc', | 1819 'base/sys-info.cc', |
| 1829 'base/sys-info.h', | 1820 'base/sys-info.h', |
| 1830 'base/utils/random-number-generator.cc', | 1821 'base/utils/random-number-generator.cc', |
| 1831 'base/utils/random-number-generator.h', | 1822 'base/utils/random-number-generator.h', |
| 1832 ], | 1823 ], |
| 1824 'target_conditions': [ |
| 1825 ['OS=="android" and _toolset=="target"', { |
| 1826 'libraries': [ |
| 1827 '-llog', |
| 1828 ], |
| 1829 'include_dirs': [ |
| 1830 'src/common/android/include', |
| 1831 ], |
| 1832 }], |
| 1833 ], |
| 1833 'conditions': [ | 1834 'conditions': [ |
| 1834 ['want_separate_host_toolset==1 or \ | 1835 ['want_separate_host_toolset==1 or \ |
| 1835 want_separate_host_toolset_mkpeephole==1', { | 1836 want_separate_host_toolset_mkpeephole==1', { |
| 1836 'toolsets': ['host', 'target'], | 1837 'toolsets': ['host', 'target'], |
| 1837 }, { | 1838 }, { |
| 1838 'toolsets': ['target'], | 1839 'toolsets': ['target'], |
| 1839 }], | 1840 }], |
| 1841 ['component=="shared_library"', { |
| 1842 'defines': [ |
| 1843 'BUILDING_V8_BASE_SHARED', |
| 1844 ], |
| 1845 'direct_dependent_settings': { |
| 1846 'defines': [ |
| 1847 'USING_V8_BASE_SHARED', |
| 1848 ], |
| 1849 }, |
| 1850 }], |
| 1840 ['OS=="linux"', { | 1851 ['OS=="linux"', { |
| 1841 'link_settings': { | 1852 'link_settings': { |
| 1842 'libraries': [ | 1853 'libraries': [ |
| 1843 '-ldl', | 1854 '-ldl', |
| 1844 '-lrt' | 1855 '-lrt' |
| 1845 ], | 1856 ], |
| 1846 }, | 1857 }, |
| 1847 'sources': [ | 1858 'sources': [ |
| 1848 'base/debug/stack_trace_posix.cc', | 1859 'base/debug/stack_trace_posix.cc', |
| 1849 'base/platform/platform-linux.cc', | 1860 'base/platform/platform-linux.cc', |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2390 '../tools/gen-postmortem-metadata.py', | 2401 '../tools/gen-postmortem-metadata.py', |
| 2391 '<@(_outputs)', | 2402 '<@(_outputs)', |
| 2392 '<@(heapobject_files)' | 2403 '<@(heapobject_files)' |
| 2393 ] | 2404 ] |
| 2394 } | 2405 } |
| 2395 ] | 2406 ] |
| 2396 }, | 2407 }, |
| 2397 { | 2408 { |
| 2398 'target_name': 'mksnapshot', | 2409 'target_name': 'mksnapshot', |
| 2399 'type': 'executable', | 2410 'type': 'executable', |
| 2400 'dependencies': ['v8_base', 'v8_nosnapshot', 'v8_libplatform'], | 2411 'dependencies': [ |
| 2412 'v8_base', |
| 2413 'v8_libbase', |
| 2414 'v8_nosnapshot', |
| 2415 'v8_libplatform' |
| 2416 ], |
| 2401 'include_dirs+': [ | 2417 'include_dirs+': [ |
| 2402 '..', | 2418 '..', |
| 2403 '<(DEPTH)', | 2419 '<(DEPTH)', |
| 2404 ], | 2420 ], |
| 2405 'sources': [ | 2421 'sources': [ |
| 2406 'snapshot/mksnapshot.cc', | 2422 'snapshot/mksnapshot.cc', |
| 2407 ], | 2423 ], |
| 2408 'conditions': [ | 2424 'conditions': [ |
| 2409 ['v8_enable_i18n_support==1', { | 2425 ['v8_enable_i18n_support==1', { |
| 2410 'dependencies': [ | 2426 'dependencies': [ |
| (...skipping 27 matching lines...) Expand all Loading... |
| 2438 'conditions': [ | 2454 'conditions': [ |
| 2439 ['want_separate_host_toolset_mkpeephole==1', { | 2455 ['want_separate_host_toolset_mkpeephole==1', { |
| 2440 'toolsets': ['host'], | 2456 'toolsets': ['host'], |
| 2441 }, { | 2457 }, { |
| 2442 'toolsets': ['target'], | 2458 'toolsets': ['target'], |
| 2443 }], | 2459 }], |
| 2444 ], | 2460 ], |
| 2445 }, | 2461 }, |
| 2446 ], | 2462 ], |
| 2447 } | 2463 } |
| OLD | NEW |