OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'includes': [ | 6 'includes': [ |
7 'app_shell.gypi', | 7 'app_shell.gypi', |
8 ], | 8 ], |
9 'variables': { | 9 'variables': { |
10 # Product name is used for Mac bundle. | 10 # Product name is used for Mac bundle. |
11 'app_shell_product_name': 'App Shell', | 11 'app_shell_product_name': 'App Shell', |
12 # The version is high enough to be supported by Omaha (at least 31) | 12 # The version is high enough to be supported by Omaha (at least 31) |
13 # but fake enough to be obviously not a Chrome release. | 13 # but fake enough to be obviously not a Chrome release. |
14 'app_shell_version': '38.1234.5678.9', | 14 'app_shell_version': '38.1234.5678.9', |
15 'chromium_code': 1, | 15 'chromium_code': 1, |
16 }, | 16 }, |
17 'targets': [ | 17 'targets': [ |
18 { | 18 { |
| 19 # GN version: //extensions/shell:app_shell_lib |
19 'target_name': 'app_shell_lib', | 20 'target_name': 'app_shell_lib', |
20 'type': 'static_library', | 21 'type': 'static_library', |
21 'dependencies': [ | 22 'dependencies': [ |
22 'app_shell_version_header', | 23 'app_shell_version_header', |
23 '<(DEPTH)/base/base.gyp:base', | 24 '<(DEPTH)/base/base.gyp:base', |
24 '<(DEPTH)/base/base.gyp:base_prefs', | 25 '<(DEPTH)/base/base.gyp:base_prefs', |
25 '<(DEPTH)/components/components.gyp:devtools_discovery', | 26 '<(DEPTH)/components/components.gyp:devtools_discovery', |
26 '<(DEPTH)/components/components.gyp:devtools_http_handler', | 27 '<(DEPTH)/components/components.gyp:devtools_http_handler', |
27 '<(DEPTH)/components/components.gyp:pref_registry', | 28 '<(DEPTH)/components/components.gyp:pref_registry', |
28 '<(DEPTH)/components/components.gyp:update_client', | 29 '<(DEPTH)/components/components.gyp:update_client', |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 '<(DEPTH)/components/nacl.gyp:nacl_renderer', | 101 '<(DEPTH)/components/nacl.gyp:nacl_renderer', |
101 '<(DEPTH)/components/nacl.gyp:nacl_switches', | 102 '<(DEPTH)/components/nacl.gyp:nacl_switches', |
102 ], | 103 ], |
103 'sources': [ | 104 'sources': [ |
104 '<@(app_shell_lib_sources_nacl)', | 105 '<@(app_shell_lib_sources_nacl)', |
105 ], | 106 ], |
106 }], | 107 }], |
107 ], | 108 ], |
108 }, | 109 }, |
109 { | 110 { |
| 111 # GN version: //extensions/shell:app_shell |
110 'target_name': 'app_shell', | 112 'target_name': 'app_shell', |
111 'type': 'executable', | 113 'type': 'executable', |
112 'mac_bundle': 1, | 114 'mac_bundle': 1, |
113 'dependencies': [ | 115 'dependencies': [ |
114 'app_shell_lib', | 116 'app_shell_lib', |
115 '<(DEPTH)/extensions/extensions.gyp:extensions_shell_and_test_pak', | 117 '<(DEPTH)/extensions/extensions.gyp:extensions_shell_and_test_pak', |
116 ], | 118 ], |
117 'include_dirs': [ | 119 'include_dirs': [ |
118 '../..', | 120 '../..', |
119 ], | 121 ], |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 ], | 266 ], |
265 }, | 267 }, |
266 ], | 268 ], |
267 }, | 269 }, |
268 ], # targets | 270 ], # targets |
269 | 271 |
270 'conditions': [ | 272 'conditions': [ |
271 ['OS=="mac"', { | 273 ['OS=="mac"', { |
272 'targets': [ | 274 'targets': [ |
273 { | 275 { |
| 276 # GN version: //extensions/shell:app_shell_framework |
274 'target_name': 'app_shell_framework', | 277 'target_name': 'app_shell_framework', |
275 'type': 'shared_library', | 278 'type': 'shared_library', |
276 'product_name': '<(app_shell_product_name) Framework', | 279 'product_name': '<(app_shell_product_name) Framework', |
277 'mac_bundle': 1, | 280 'mac_bundle': 1, |
278 'mac_bundle_resources': [ | 281 'mac_bundle_resources': [ |
279 '<(PRODUCT_DIR)/extensions_shell_and_test.pak', | 282 '<(PRODUCT_DIR)/extensions_shell_and_test.pak', |
280 'app/framework-Info.plist', | 283 'app/framework-Info.plist', |
281 ], | 284 ], |
282 'mac_bundle_resources!': [ | 285 'mac_bundle_resources!': [ |
283 'app/framework-Info.plist', | 286 'app/framework-Info.plist', |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 '../../build/isolate.gypi', | 411 '../../build/isolate.gypi', |
409 ], | 412 ], |
410 'sources': [ | 413 'sources': [ |
411 'app_shell_unittests.isolate', | 414 'app_shell_unittests.isolate', |
412 ], | 415 ], |
413 }, | 416 }, |
414 ], | 417 ], |
415 }], | 418 }], |
416 ], | 419 ], |
417 } | 420 } |
OLD | NEW |