| OLD | NEW |
| (Empty) |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'variables': { | |
| 7 'chromium_code': 1, | |
| 8 'grit_base_dir': '<(SHARED_INTERMEDIATE_DIR)', | |
| 9 'grit_out_dir': '<(grit_base_dir)/ios/today_extension', | |
| 10 }, | |
| 11 'targets': [ | |
| 12 { | |
| 13 # GN version: //ios/chrome/today_extension:resources | |
| 14 'target_name': 'ios_today_extension_resources', | |
| 15 'type': 'none', | |
| 16 'dependencies': [ | |
| 17 'ios_today_extension_strings_gen', | |
| 18 ], | |
| 19 }, | |
| 20 { | |
| 21 # GN version: //ios/chrome/today_extension/strings | |
| 22 'target_name': 'ios_today_extension_strings_gen', | |
| 23 'type': 'none', | |
| 24 'hard_dependency': 1, | |
| 25 'actions': [ | |
| 26 { | |
| 27 'action_name': 'generate_ios_today_extension_strings', | |
| 28 'variables': { | |
| 29 'grit_grd_file': 'today_extension/strings/ios_today_extension_string
s.grd', | |
| 30 }, | |
| 31 'includes': [ '../../build/grit_action.gypi' ], | |
| 32 }, | |
| 33 ], | |
| 34 'includes': [ '../../build/grit_target.gypi' ], | |
| 35 # Override the exported include-dirs; ios/chrome/grit/ios_*strings.h | |
| 36 # should only be referenceable as ios/chrome/grit to allow DEPS-time | |
| 37 # checking of usage. | |
| 38 'direct_dependent_settings': { | |
| 39 'include_dirs': [ | |
| 40 '<(grit_base_dir)', | |
| 41 ], | |
| 42 'include_dirs!': [ | |
| 43 '<(grit_out_dir)', | |
| 44 ], | |
| 45 } | |
| 46 }, | |
| 47 { | |
| 48 # GN version: //ios/chrome/today_extension:packed_resources | |
| 49 'target_name': 'ios_today_extension_packed_resources', | |
| 50 'type': 'none', | |
| 51 'dependencies': [ | |
| 52 'ios_today_extension_resources', | |
| 53 ], | |
| 54 'actions': [ | |
| 55 { | |
| 56 'action_name': 'repack_ios_today_extension_locales', | |
| 57 'variables': { | |
| 58 'repack_locales_path': 'tools/build/ios_repack_extension_locales.py'
, | |
| 59 }, | |
| 60 'inputs': [ | |
| 61 'tools/build/ios_repack_extension_locales.py', | |
| 62 '<!@pymod_do_main(ios_repack_extension_locales -i ' | |
| 63 '-n today_extension ' | |
| 64 '-s <(SHARED_INTERMEDIATE_DIR) ' | |
| 65 '-x <(SHARED_INTERMEDIATE_DIR)/repack_today_extension ' | |
| 66 '-b <(branding_path_component) ' | |
| 67 '<(locales))' | |
| 68 ], | |
| 69 'outputs': [ | |
| 70 '<!@pymod_do_main(ios_repack_extension_locales -o ' | |
| 71 '-n today_extension ' | |
| 72 '-s <(SHARED_INTERMEDIATE_DIR) ' | |
| 73 '-x <(SHARED_INTERMEDIATE_DIR)/repack_today_extension ' | |
| 74 '<(locales))' | |
| 75 ], | |
| 76 'action': [ | |
| 77 'python', | |
| 78 'tools/build/ios_repack_extension_locales.py', | |
| 79 '-n', 'today_extension', | |
| 80 '-x', '<(SHARED_INTERMEDIATE_DIR)/repack_today_extension', | |
| 81 '-s', '<(SHARED_INTERMEDIATE_DIR)', | |
| 82 '-b', '<(branding_path_component)', | |
| 83 '<@(locales)', | |
| 84 ], | |
| 85 }, | |
| 86 ], | |
| 87 }, | |
| 88 ], | |
| 89 } | |
| 90 | |
| OLD | NEW |