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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 'chromecast_branding%': 'Chromium', | 8 'chromecast_branding%': 'Chromium', |
9 }, | 9 }, |
10 'target_defaults': { | 10 'target_defaults': { |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 }, | 98 }, |
99 ], | 99 ], |
100 }, | 100 }, |
101 { | 101 { |
102 'target_name': 'cast_shell', | 102 'target_name': 'cast_shell', |
103 'type': 'executable', | 103 'type': 'executable', |
104 'dependencies': [ | 104 'dependencies': [ |
105 'cast_common', | 105 'cast_common', |
106 'cast_service', | 106 'cast_service', |
107 'cast_shell_pak', | 107 'cast_shell_pak', |
| 108 'cast_version_header', |
108 '../ui/aura/aura.gyp:aura_test_support', | 109 '../ui/aura/aura.gyp:aura_test_support', |
109 '../content/content.gyp:content', | 110 '../content/content.gyp:content', |
110 '../content/content.gyp:content_app_browser', | 111 '../content/content.gyp:content_app_browser', |
111 '../skia/skia.gyp:skia', | 112 '../skia/skia.gyp:skia', |
112 ], | 113 ], |
113 'sources': [ | 114 'sources': [ |
114 'net/network_change_notifier_cast.cc', | 115 'net/network_change_notifier_cast.cc', |
115 'net/network_change_notifier_cast.h', | 116 'net/network_change_notifier_cast.h', |
116 'net/network_change_notifier_factory_cast.cc', | 117 'net/network_change_notifier_factory_cast.cc', |
117 'net/network_change_notifier_factory_cast.h', | 118 'net/network_change_notifier_factory_cast.h', |
(...skipping 22 matching lines...) Expand all Loading... |
140 'dependencies': [ | 141 'dependencies': [ |
141 'internal/chromecast_internal.gyp:cast_gfx_internal', | 142 'internal/chromecast_internal.gyp:cast_gfx_internal', |
142 ], | 143 ], |
143 }, { | 144 }, { |
144 'dependencies': [ | 145 'dependencies': [ |
145 '../ui/ozone/ozone.gyp:eglplatform_shim_x11', | 146 '../ui/ozone/ozone.gyp:eglplatform_shim_x11', |
146 ], | 147 ], |
147 }], | 148 }], |
148 ], | 149 ], |
149 }, | 150 }, |
| 151 { |
| 152 'target_name': 'cast_version_header', |
| 153 'type': 'none', |
| 154 'direct_dependent_settings': { |
| 155 'include_dirs': [ |
| 156 '<(SHARED_INTERMEDIATE_DIR)', |
| 157 ], |
| 158 }, |
| 159 'actions': [ |
| 160 { |
| 161 'action_name': 'version_header', |
| 162 'message': 'Generating version header file: <@(_outputs)', |
| 163 'inputs': [ |
| 164 '<(version_path)', |
| 165 'common/version.h.in', |
| 166 ], |
| 167 'outputs': [ |
| 168 '<(SHARED_INTERMEDIATE_DIR)/chromecast/common/version.h', |
| 169 ], |
| 170 'action': [ |
| 171 'python', |
| 172 '<(version_py_path)', |
| 173 '-e', 'VERSION_FULL="<(version_full)"', |
| 174 'common/version.h.in', |
| 175 '<@(_outputs)', |
| 176 ], |
| 177 'includes': [ |
| 178 '../build/util/version.gypi', |
| 179 ], |
| 180 }, |
| 181 ], |
| 182 }, |
150 ], # end of targets | 183 ], # end of targets |
151 } | 184 } |
OLD | NEW |