OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 | 7 |
8 'variables': { | 8 'variables': { |
9 'version_py_path': 'tools/build/version.py', | 9 'version_py_path': 'tools/build/version.py', |
10 'version_path': 'VERSION', | 10 'version_path': 'VERSION', |
(...skipping 1778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1789 'msvs_settings': { | 1789 'msvs_settings': { |
1790 'VCLinkerTool': { | 1790 'VCLinkerTool': { |
1791 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 1791 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
1792 }, | 1792 }, |
1793 }, | 1793 }, |
1794 }, | 1794 }, |
1795 }, | 1795 }, |
1796 }], | 1796 }], |
1797 ], | 1797 ], |
1798 }, | 1798 }, |
| 1799 ]}, # 'targets' |
| 1800 ], # OS=="win" |
| 1801 ['OS=="win" or OS=="mac"', |
| 1802 { 'targets': [ |
1799 { | 1803 { |
1800 # policy_templates has different inputs and outputs, so it can't use | 1804 # policy_templates has different inputs and outputs, so it can't use |
1801 # the rules of chrome_strings | 1805 # the rules of chrome_strings |
1802 'target_name': 'policy_templates', | 1806 'target_name': 'policy_templates', |
1803 'type': 'none', | 1807 'type': 'none', |
1804 'actions': [ | 1808 'actions': [ |
1805 { | 1809 { |
1806 'action_name': 'policy_templates', | 1810 'action_name': 'policy_templates', |
1807 'variables': { | 1811 'variables': { |
1808 'input_path': 'app/policy/policy_templates.grd', | 1812 'input_path': 'app/policy/policy_templates.grd', |
(...skipping 20 matching lines...) Expand all Loading... |
1829 '-o', '<(grit_out_dir)', | 1833 '-o', '<(grit_out_dir)', |
1830 '-D', '<(chrome_build)' | 1834 '-D', '<(chrome_build)' |
1831 ], | 1835 ], |
1832 'conditions': [ | 1836 'conditions': [ |
1833 ['chromeos==1', { | 1837 ['chromeos==1', { |
1834 'action': ['-D', 'chromeos'], | 1838 'action': ['-D', 'chromeos'], |
1835 }], | 1839 }], |
1836 ['use_titlecase_in_grd_files==1', { | 1840 ['use_titlecase_in_grd_files==1', { |
1837 'action': ['-D', 'use_titlecase'], | 1841 'action': ['-D', 'use_titlecase'], |
1838 }], | 1842 }], |
| 1843 ['OS == "mac"', { |
| 1844 'action': ['-D', 'mac_bundle_id=<(mac_bundle_id)'], |
| 1845 }], |
1839 ], | 1846 ], |
1840 'message': 'Generating policy templates from <(input_path)', | 1847 'message': 'Generating policy templates from <(input_path)', |
1841 }, | 1848 }, |
1842 ], | 1849 ], |
1843 'direct_dependent_settings': { | 1850 'direct_dependent_settings': { |
1844 'include_dirs': [ | 1851 'include_dirs': [ |
1845 '<(grit_out_dir)', | 1852 '<(grit_out_dir)', |
1846 ], | 1853 ], |
1847 }, | 1854 }, |
1848 'conditions': [ | 1855 'conditions': [ |
1849 ['OS=="win"', { | 1856 ['OS=="win"', { |
1850 'dependencies': ['../build/win/system.gyp:cygwin'], | 1857 'dependencies': ['../build/win/system.gyp:cygwin'], |
1851 }], | 1858 }], |
1852 ], | 1859 ], |
1853 }, | 1860 }, |
1854 ]}, # 'targets' | 1861 ]}, # 'targets' |
1855 ], # OS=="win" | 1862 ], # OS=="win" or OS=="mac" |
1856 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { | 1863 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { |
1857 'targets': [{ | 1864 'targets': [{ |
1858 'target_name': 'packed_resources', | 1865 'target_name': 'packed_resources', |
1859 'type': 'none', | 1866 'type': 'none', |
1860 'variables': { | 1867 'variables': { |
1861 'repack_path': '../tools/data_pack/repack.py', | 1868 'repack_path': '../tools/data_pack/repack.py', |
1862 }, | 1869 }, |
1863 'actions': [ | 1870 'actions': [ |
1864 # TODO(mark): These actions are duplicated for the Mac in the | 1871 # TODO(mark): These actions are duplicated for the Mac in the |
1865 # chrome_dll target. Can they be unified? | 1872 # chrome_dll target. Can they be unified? |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1943 }], # targets | 1950 }], # targets |
1944 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" | 1951 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" |
1945 ], # 'conditions' | 1952 ], # 'conditions' |
1946 } | 1953 } |
1947 | 1954 |
1948 # Local Variables: | 1955 # Local Variables: |
1949 # tab-width:2 | 1956 # tab-width:2 |
1950 # indent-tabs-mode:nil | 1957 # indent-tabs-mode:nil |
1951 # End: | 1958 # End: |
1952 # vim: set expandtab tabstop=2 shiftwidth=2: | 1959 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |