Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'apps', | 8 'target_name': 'apps', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'variables': { 'enable_wexit_time_destructors': 1, }, | 10 'variables': { 'enable_wexit_time_destructors': 1, }, |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 93 }], | 93 }], |
| 94 ], | 94 ], |
| 95 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 95 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 96 'msvs_disabled_warnings': [ 4267, ], | 96 'msvs_disabled_warnings': [ 4267, ], |
| 97 }, | 97 }, |
| 98 ], # targets | 98 ], # targets |
| 99 'conditions': [ | 99 'conditions': [ |
| 100 ['chromeos==1 or (OS=="linux" and use_aura==1) or (OS=="win" and use_aura==1 )', { | 100 ['chromeos==1 or (OS=="linux" and use_aura==1) or (OS=="win" and use_aura==1 )', { |
| 101 'targets': [ | 101 'targets': [ |
| 102 { | 102 { |
| 103 'target_name': 'app_shell_resources', | |
|
tfarina
2014/02/20 18:44:01
no, not resources, it is pak. It would be resource
Haojian Wu
2014/02/21 05:50:02
Done.
| |
| 104 'type': 'none', | |
| 105 'dependencies': [ | |
| 106 '../content/content_shell_and_tests.gyp:generate_content_shell_resou rces', | |
|
Haojian Wu
2014/02/20 15:46:43
Here we only include the minimal dev-tools related
| |
| 107 ], | |
| 108 'variables': { | |
| 109 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py', | |
| 110 }, | |
| 111 'actions': [ | |
| 112 { | |
| 113 'action_name': 'repack_app_shell_pack', | |
| 114 'variables': { | |
| 115 'pak_inputs': [ | |
| 116 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak', | |
| 117 ], | |
| 118 }, | |
| 119 'inputs': [ | |
| 120 '<(repack_path)', | |
| 121 '<@(pak_inputs)', | |
| 122 ], | |
| 123 'outputs': [ | |
| 124 '<(PRODUCT_DIR)/app_shell.pak', | |
| 125 ], | |
| 126 'action': ['python', '<(repack_path)', '<@(_outputs)', | |
| 127 '<@(pak_inputs)'], | |
| 128 }, | |
| 129 ], | |
| 130 }, | |
| 131 { | |
| 103 'target_name': 'app_shell', | 132 'target_name': 'app_shell', |
| 104 'type': 'executable', | 133 'type': 'executable', |
| 105 'defines!': ['CONTENT_IMPLEMENTATION'], | 134 'defines!': ['CONTENT_IMPLEMENTATION'], |
| 106 'variables': { | 135 'variables': { |
| 107 'chromium_code': 1, | 136 'chromium_code': 1, |
| 108 }, | 137 }, |
| 109 'dependencies': [ | 138 'dependencies': [ |
| 110 'apps', | 139 'apps', |
| 140 'app_shell_resources', | |
| 111 'chrome_resources.gyp:packed_resources', | 141 'chrome_resources.gyp:packed_resources', |
| 112 # For resources.pak for features JSON files. | 142 # For resources.pak for features JSON files. |
| 113 'chrome_resources.gyp:packed_extra_resources', | 143 'chrome_resources.gyp:packed_extra_resources', |
| 114 'test_support_common', | 144 'test_support_common', |
| 115 '../base/base.gyp:base', | 145 '../base/base.gyp:base', |
| 116 '../base/base.gyp:base_prefs_test_support', | 146 '../base/base.gyp:base_prefs_test_support', |
| 117 '../content/content.gyp:content', | 147 '../content/content.gyp:content', |
| 118 '../content/content_shell_and_tests.gyp:content_shell_lib', | 148 '../content/content_shell_and_tests.gyp:content_shell_lib', |
| 119 '../skia/skia.gyp:skia', | 149 '../skia/skia.gyp:skia', |
| 120 '../ui/views/views.gyp:views', | 150 '../ui/views/views.gyp:views', |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 160 'dependencies': [ | 190 'dependencies': [ |
| 161 '../sandbox/sandbox.gyp:sandbox', | 191 '../sandbox/sandbox.gyp:sandbox', |
| 162 ], | 192 ], |
| 163 }], | 193 }], |
| 164 ], | 194 ], |
| 165 }, | 195 }, |
| 166 ], # targets | 196 ], # targets |
| 167 }], # chromeos==1 | 197 }], # chromeos==1 |
| 168 ], # conditions | 198 ], # conditions |
| 169 } | 199 } |
| OLD | NEW |