OLD | NEW |
---|---|
1 # Copyright 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 2012 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 # All .cc, .h, .m, and .mm files under browser except for: | 7 # All .cc, .h, .m, and .mm files under browser except for: |
8 # * tests and mocks. | 8 # * tests and mocks. |
9 # * code below browser/chromeos | 9 # * code below browser/chromeos |
10 # * code below browser/extensions | 10 # * code below browser/extensions |
11 # These variables are so the file lists can be shared with the GN build. | 11 # These variables are so the file lists can be shared with the GN build. |
Dan Beam
2015/04/03 22:47:09
^
| |
12 # There are two sections of sources: | 12 # There are two sections of sources: |
13 # * "Platform"-based sources (OS, toolkit, etc.) | 13 # * "Platform"-based sources (OS, toolkit, etc.) |
14 # * Feature/directory-based sources (e.g., history, printing) | 14 # * Feature/directory-based sources (e.g., history, printing) |
15 | 15 |
16 ### Platform-based sources ### | 16 ### Platform-based sources ### |
17 | 17 |
18 # The set of sources used on all platforms but iOS that aren't listed in | 18 # The set of sources used on all platforms but iOS that aren't listed in |
19 # more specific variables below. | 19 # more specific variables below. |
20 'chrome_browser_non_ios_sources': [ | 20 'chrome_browser_non_ios_sources': [ |
21 'browser/about_flags.cc', | 21 'browser/about_flags.cc', |
(...skipping 1753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1775 'browser/metrics/variations/generated_resources_map_lookup.cc', | 1775 'browser/metrics/variations/generated_resources_map_lookup.cc', |
1776 'browser/metrics/variations/variations_registry_syncer_win.cc', | 1776 'browser/metrics/variations/variations_registry_syncer_win.cc', |
1777 'browser/metrics/variations/variations_registry_syncer_win.h', | 1777 'browser/metrics/variations/variations_registry_syncer_win.h', |
1778 'browser/metrics/variations/variations_request_scheduler.cc', | 1778 'browser/metrics/variations/variations_request_scheduler.cc', |
1779 'browser/metrics/variations/variations_request_scheduler.h', | 1779 'browser/metrics/variations/variations_request_scheduler.h', |
1780 'browser/metrics/variations/variations_seed_store.cc', | 1780 'browser/metrics/variations/variations_seed_store.cc', |
1781 'browser/metrics/variations/variations_seed_store.h', | 1781 'browser/metrics/variations/variations_seed_store.h', |
1782 'browser/metrics/variations/variations_service.cc', | 1782 'browser/metrics/variations/variations_service.cc', |
1783 'browser/metrics/variations/variations_service.h', | 1783 'browser/metrics/variations/variations_service.h', |
1784 ], | 1784 ], |
1785 'chrome_browser_metrics_non_android_sources': [ | |
1786 'browser/metrics/drive_metrics_provider_linux.cc', | |
1787 ], | |
1785 'chrome_browser_nacl_sources': [ | 1788 'chrome_browser_nacl_sources': [ |
1786 'browser/component_updater/pnacl/pnacl_component_installer.cc', | 1789 'browser/component_updater/pnacl/pnacl_component_installer.cc', |
1787 'browser/component_updater/pnacl/pnacl_component_installer.h', | 1790 'browser/component_updater/pnacl/pnacl_component_installer.h', |
1788 'browser/nacl_host/nacl_browser_delegate_impl.cc', | 1791 'browser/nacl_host/nacl_browser_delegate_impl.cc', |
1789 'browser/nacl_host/nacl_browser_delegate_impl.h', | 1792 'browser/nacl_host/nacl_browser_delegate_impl.h', |
1790 'browser/nacl_host/nacl_infobar_delegate.cc', | 1793 'browser/nacl_host/nacl_infobar_delegate.cc', |
1791 'browser/nacl_host/nacl_infobar_delegate.h', | 1794 'browser/nacl_host/nacl_infobar_delegate.h', |
1792 ], | 1795 ], |
1793 'chrome_browser_net_sources': [ | 1796 'chrome_browser_net_sources': [ |
1794 'browser/net/about_protocol_handler.cc', | 1797 'browser/net/about_protocol_handler.cc', |
(...skipping 1377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3172 ], | 3175 ], |
3173 # CoreImage is iOS 5+, but iOS 4.3 is still supported. | 3176 # CoreImage is iOS 5+, but iOS 4.3 is still supported. |
3174 'xcode_settings': {'OTHER_LDFLAGS': ['-weak_framework CoreImage']}, | 3177 'xcode_settings': {'OTHER_LDFLAGS': ['-weak_framework CoreImage']}, |
3175 }, | 3178 }, |
3176 }], | 3179 }], |
3177 ['OS=="win" or OS=="mac"', { | 3180 ['OS=="win" or OS=="mac"', { |
3178 'sources': [ | 3181 'sources': [ |
3179 '<@(chrome_browser_win_mac_sources)', | 3182 '<@(chrome_browser_win_mac_sources)', |
3180 ], | 3183 ], |
3181 }], | 3184 }], |
3185 ['OS!="android"', { | |
Lei Zhang
2015/04/03 22:45:57
GN
| |
3186 'sources': [ | |
3187 '<@(chrome_browser_metrics_non_android_sources)', | |
3188 ], | |
3189 }], | |
3182 ['OS!="android" and OS!="ios" and chromeos==0 and configuration_policy== 1', { | 3190 ['OS!="android" and OS!="ios" and chromeos==0 and configuration_policy== 1', { |
3183 'sources': [ | 3191 'sources': [ |
3184 'browser/net/disk_cache_dir_policy_handler.cc', | 3192 'browser/net/disk_cache_dir_policy_handler.cc', |
3185 'browser/net/disk_cache_dir_policy_handler.h', | 3193 'browser/net/disk_cache_dir_policy_handler.h', |
3186 ], | 3194 ], |
3187 }], | 3195 }], |
3188 ['OS!="android" and OS!="ios" and configuration_policy==1', { | 3196 ['OS!="android" and OS!="ios" and configuration_policy==1', { |
3189 'sources': [ | 3197 'sources': [ |
3190 'browser/download/download_dir_policy_handler.cc', | 3198 'browser/download/download_dir_policy_handler.cc', |
3191 'browser/download/download_dir_policy_handler.h', | 3199 'browser/download/download_dir_policy_handler.h', |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3817 'variables': { | 3825 'variables': { |
3818 'proto_in_dir': 'browser/sync_file_system/drive_backend', | 3826 'proto_in_dir': 'browser/sync_file_system/drive_backend', |
3819 'proto_out_dir': 'chrome/browser/sync_file_system/drive_backend', | 3827 'proto_out_dir': 'chrome/browser/sync_file_system/drive_backend', |
3820 }, | 3828 }, |
3821 'includes': [ '../build/protoc.gypi' ] | 3829 'includes': [ '../build/protoc.gypi' ] |
3822 }, | 3830 }, |
3823 ], | 3831 ], |
3824 },], | 3832 },], |
3825 ], | 3833 ], |
3826 } | 3834 } |
OLD | NEW |