| 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 'chromecast_branding%': 'Chromium', | 7 'chromecast_branding%': 'public', |
| 8 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chromecast_strings', | 8 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chromecast_strings', |
| 9 }, | 9 }, |
| 10 'targets': [ | 10 'targets': [ |
| 11 { | 11 { |
| 12 'target_name': 'chromecast_settings', | 12 'target_name': 'chromecast_settings', |
| 13 'type': 'none', | 13 'type': 'none', |
| 14 'actions': [ | 14 'actions': [ |
| 15 { | 15 { |
| 16 'action_name': 'chromecast_settings', | 16 'action_name': 'chromecast_settings', |
| 17 'variables': { | 17 'variables': { |
| 18 'grit_grd_file': 'app/resources/chromecast_settings.grd', | 18 'grit_grd_file': 'app/resources/chromecast_settings.grd', |
| 19 'grit_resource_ids': 'app/resources/resource_ids', | 19 'grit_resource_ids': 'app/resources/resource_ids', |
| 20 }, | 20 }, |
| 21 'includes': [ '../build/grit_action.gypi' ], | 21 'includes': [ '../build/grit_action.gypi' ], |
| 22 }, | 22 }, |
| 23 ], | 23 ], |
| 24 'includes': [ '../build/grit_target.gypi' ], | 24 'includes': [ '../build/grit_target.gypi' ], |
| 25 }, | 25 }, |
| 26 { | 26 { |
| 27 'target_name': 'chromecast_locales_pak', | 27 'target_name': 'chromecast_locales_pak', |
| 28 'type': 'none', | 28 'type': 'none', |
| 29 'dependencies': [ | 29 'dependencies': [ |
| 30 'chromecast_settings', | 30 'chromecast_settings', |
| 31 ], | 31 ], |
| 32 'conditions': [ | 32 'conditions': [ |
| 33 ['chromecast_branding=="Chrome"', { | 33 ['chromecast_branding!="public"', { |
| 34 'dependencies': [ | 34 'dependencies': [ |
| 35 'internal/chromecast_locales.gyp:chromecast_app_strings', | 35 'internal/chromecast_locales.gyp:chromecast_app_strings', |
| 36 ], | 36 ], |
| 37 }], | 37 }], |
| 38 ], | 38 ], |
| 39 'actions': [ | 39 'actions': [ |
| 40 { | 40 { |
| 41 'action_name': 'repack_locales', | 41 'action_name': 'repack_locales', |
| 42 'message': 'Packing locale-specific resources', | 42 'message': 'Packing locale-specific resources', |
| 43 'variables': { | 43 'variables': { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 60 '-b', '<(chromecast_branding)', | 60 '-b', '<(chromecast_branding)', |
| 61 '-g', '<(grit_out_dir)', | 61 '-g', '<(grit_out_dir)', |
| 62 '-x', '<(repack_output_dir)/.', | 62 '-x', '<(repack_output_dir)/.', |
| 63 '<@(locales)', | 63 '<@(locales)', |
| 64 ], | 64 ], |
| 65 }, | 65 }, |
| 66 ], | 66 ], |
| 67 }, | 67 }, |
| 68 ], | 68 ], |
| 69 } | 69 } |
| OLD | NEW |