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 # Define the common dependencies that contain all the actual | 8 # Define the common dependencies that contain all the actual |
9 # Chromium functionality. This list gets pulled in below by | 9 # Chromium functionality. This list gets pulled in below by |
10 # the link of the actual chrome (or chromium) executable on | 10 # the link of the actual chrome (or chromium) executable on |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
150 { | 150 { |
151 'target_name': 'helper_app', | 151 'target_name': 'helper_app', |
152 'type': 'executable', | 152 'type': 'executable', |
153 'variables': { 'enable_wexit_time_destructors': 1, }, | 153 'variables': { 'enable_wexit_time_destructors': 1, }, |
154 'product_name': '<(mac_product_name) Helper', | 154 'product_name': '<(mac_product_name) Helper', |
155 'mac_bundle': 1, | 155 'mac_bundle': 1, |
156 'dependencies': [ | 156 'dependencies': [ |
157 'chrome_dll', | 157 'chrome_dll', |
158 'infoplist_strings_tool', | 158 'infoplist_strings_tool', |
159 ], | 159 ], |
160 'defines': [ | |
161 'HELPER_EXECUTABLE' | |
162 ], | |
160 'sources': [ | 163 'sources': [ |
161 # chrome_exe_main_mac.cc's main() is the entry point for | 164 # chrome_exe_main_mac.c's main() is the entry point for |
162 # the "chrome" (browser app) target. All it does is jump | 165 # the "chrome" (browser app) target. All it does is jump |
163 # to chrome_dll's ChromeMain. This is appropriate for | 166 # to chrome_dll's ChromeMain. This is appropriate for |
164 # helper processes too, because the logic to discriminate | 167 # helper processes too, because the logic to discriminate |
165 # between process types at run time is actually directed | 168 # between process types at run time is actually directed |
166 # by the --type command line argument processed by | 169 # by the --type command line argument processed by |
167 # ChromeMain. Sharing chrome_exe_main_mac.cc with the | 170 # ChromeMain. Sharing chrome_exe_main_mac.c with the |
168 # browser app will suffice for now. | 171 # browser app will suffice for now. |
169 'app/chrome_exe_main_mac.cc', | 172 'app/chrome_exe_main_mac.c', |
Mark Mentovai
2015/10/22 23:15:12
Depend on the version_header target
Greg K
2015/10/23 19:12:49
Done.
| |
170 'app/helper-Info.plist', | 173 'app/helper-Info.plist', |
171 ], | 174 ], |
172 # TODO(mark): Come up with a fancier way to do this. It should only | 175 # TODO(mark): Come up with a fancier way to do this. It should only |
173 # be necessary to list helper-Info.plist once, not the three times it | 176 # be necessary to list helper-Info.plist once, not the three times it |
174 # is listed here. | 177 # is listed here. |
175 'mac_bundle_resources!': [ | 178 'mac_bundle_resources!': [ |
176 'app/helper-Info.plist', | 179 'app/helper-Info.plist', |
177 ], | 180 ], |
178 # TODO(mark): For now, don't put any resources into this app. Its | 181 # TODO(mark): For now, don't put any resources into this app. Its |
179 # resources directory will be a symbolic link to the browser app's | 182 # resources directory will be a symbolic link to the browser app's |
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
793 '<(DEPTH)/third_party/kasko' | 796 '<(DEPTH)/third_party/kasko' |
794 ], | 797 ], |
795 }, | 798 }, |
796 }, | 799 }, |
797 }, | 800 }, |
798 }, | 801 }, |
799 ], | 802 ], |
800 }], | 803 }], |
801 ], # 'conditions' | 804 ], # 'conditions' |
802 } | 805 } |
OLD | NEW |