OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 '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 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 }], | 814 }], |
815 ['asan==1', { | 815 ['asan==1', { |
816 'xcode_settings': { | 816 'xcode_settings': { |
817 # Override the outer definition of CHROMIUM_STRIP_SAVE_FILE. | 817 # Override the outer definition of CHROMIUM_STRIP_SAVE_FILE. |
818 'CHROMIUM_STRIP_SAVE_FILE': 'app/app_asan.saves', | 818 'CHROMIUM_STRIP_SAVE_FILE': 'app/app_asan.saves', |
819 }, | 819 }, |
820 }], | 820 }], |
821 ], | 821 ], |
822 }, # target helper_app | 822 }, # target helper_app |
823 { | 823 { |
| 824 # A library containing the actual code for the app mode app, shared |
| 825 # by unit tests. |
| 826 'target_name': 'app_mode_app_support', |
| 827 'type': 'static_library', |
| 828 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 829 'product_name': 'app_mode_app_support', |
| 830 'dependencies': [ |
| 831 '../base/base.gyp:base', |
| 832 ], |
| 833 'sources': [ |
| 834 'common/mac/app_mode_common.h', |
| 835 'common/mac/app_mode_common.mm', |
| 836 ], |
| 837 'include_dirs': [ |
| 838 '..', |
| 839 ], |
| 840 }, # target app_mode_app_support |
| 841 { |
824 # This produces the app mode loader, but not as a bundle. Chromium | 842 # This produces the app mode loader, but not as a bundle. Chromium |
825 # itself is responsible for producing bundles. | 843 # itself is responsible for producing bundles. |
826 'target_name': 'app_mode_app', | 844 'target_name': 'app_mode_app', |
827 'type': 'executable', | 845 'type': 'executable', |
828 'variables': { 'enable_wexit_time_destructors': 1, }, | 846 'variables': { 'enable_wexit_time_destructors': 1, }, |
829 'product_name': '<(mac_product_name) App Mode Loader', | 847 'product_name': '<(mac_product_name) App Mode Loader', |
| 848 'dependencies': [ |
| 849 'app_mode_app_support', |
| 850 ], |
830 'sources': [ | 851 'sources': [ |
831 'app/app_mode_loader_mac.mm', | 852 'app/app_mode_loader_mac.mm', |
832 'common/mac/app_mode_common.h', | |
833 'common/mac/app_mode_common.mm', | |
834 ], | 853 ], |
835 'include_dirs': [ | 854 'include_dirs': [ |
836 '..', | 855 '..', |
837 ], | 856 ], |
838 'link_settings': { | 857 'link_settings': { |
839 'libraries': [ | 858 'libraries': [ |
840 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | 859 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
841 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 860 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
842 ], | 861 ], |
843 }, | 862 }, |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1324 'sources': [ | 1343 'sources': [ |
1325 'browser/safe_browsing/signature_util.h', | 1344 'browser/safe_browsing/signature_util.h', |
1326 'browser/safe_browsing/signature_util_win.cc', | 1345 'browser/safe_browsing/signature_util_win.cc', |
1327 'tools/safe_browsing/sb_sigutil.cc', | 1346 'tools/safe_browsing/sb_sigutil.cc', |
1328 ], | 1347 ], |
1329 }, | 1348 }, |
1330 ]}, # 'targets' | 1349 ]}, # 'targets' |
1331 ], # OS=="win" | 1350 ], # OS=="win" |
1332 ], # 'conditions' | 1351 ], # 'conditions' |
1333 } | 1352 } |
OLD | NEW |