Index: ios/chrome/ios_chrome_resources.gyp |
diff --git a/ios/chrome/ios_chrome_resources.gyp b/ios/chrome/ios_chrome_resources.gyp |
deleted file mode 100644 |
index b2116430d4760eff091267380b22a8aa6faa2ae3..0000000000000000000000000000000000000000 |
--- a/ios/chrome/ios_chrome_resources.gyp |
+++ /dev/null |
@@ -1,266 +0,0 @@ |
-# Copyright 2012 The Chromium Authors. All rights reserved. |
-# Use of this source code is governed by a BSD-style license that can be |
-# found in the LICENSE file. |
- |
-{ |
- 'variables': { |
- 'chromium_code': 1, |
- 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ios/chrome', |
- 'ui_string_overrider_inputs': [ |
- '<(SHARED_INTERMEDIATE_DIR)/components/strings/grit/components_locale_settings.h', |
- '<(SHARED_INTERMEDIATE_DIR)/components/strings/grit/components_strings.h', |
- '<(SHARED_INTERMEDIATE_DIR)/ios/chrome/grit/ios_strings.h', |
- ], |
- 'ui_string_overrider_output_basename': |
- 'ios/chrome/browser/variations/ios_ui_string_overrider_factory', |
- 'ui_string_overrider_script_name': |
- '../../components/variations/service/generate_ui_string_overrider.py', |
- 'conditions': [ |
- ['branding=="Chromium"', { |
- 'ui_string_overrider_inputs': [ |
- '<(SHARED_INTERMEDIATE_DIR)/components/strings/grit/components_chromium_strings.h', |
- '<(SHARED_INTERMEDIATE_DIR)/ios/chrome/grit/ios_chromium_strings.h', |
- ], |
- }], |
- ['branding=="Chrome"', { |
- 'ui_string_overrider_inputs': [ |
- '<(SHARED_INTERMEDIATE_DIR)/components/strings/grit/components_google_chrome_strings.h', |
- '<(SHARED_INTERMEDIATE_DIR)/ios/chrome/grit/ios_google_chrome_strings.h', |
- ], |
- }], |
- ], |
- }, |
- 'targets': [ |
- { |
- 'target_name': 'ios_chrome_resources', |
- 'type': 'none', |
- 'dependencies': [ |
- 'ios_resources_gen', |
- 'ios_strings_gen', |
- 'ios_theme_resources_gen', |
- ], |
- }, |
- { |
- # GN version: //ios/chrome/app/strings |
- 'target_name': 'ios_strings_gen', |
- 'type': 'none', |
- 'hard_dependency': 1, |
- 'actions': [ |
- { |
- # GN version: //ios/chrome/app/strings:ios_strings |
- 'action_name': 'generate_ios_strings', |
- 'variables': { |
- 'grit_grd_file': 'app/strings/ios_strings.grd', |
- }, |
- 'includes': [ '../../build/grit_action.gypi' ], |
- }, |
- { |
- # GN version: //ios/chrome/app/strings:ios_chromium_strings |
- 'action_name': 'generate_ios_chromium_strings', |
- 'variables': { |
- 'grit_grd_file': 'app/strings/ios_chromium_strings.grd', |
- }, |
- 'includes': [ '../../build/grit_action.gypi' ], |
- }, |
- { |
- # GN version: //ios/chrome/app/strings:ios_google_chrome_strings |
- 'action_name': 'generate_ios_google_chrome_strings', |
- 'variables': { |
- 'grit_grd_file': 'app/strings/ios_google_chrome_strings.grd', |
- }, |
- 'includes': [ '../../build/grit_action.gypi' ], |
- }, |
- ], |
- 'direct_dependent_settings': { |
- 'include_dirs': [ |
- '<(SHARED_INTERMEDIATE_DIR)', |
- ], |
- }, |
- }, |
- { |
- # GN version: //ios/chrome/app/resources |
- 'target_name': 'ios_resources_gen', |
- 'type': 'none', |
- 'hard_dependency': 1, |
- 'actions': [ |
- { |
- 'action_name': 'ios_resources', |
- 'variables': { |
- 'grit_grd_file': 'app/resources/ios_resources.grd', |
- }, |
- 'includes': [ '../../build/grit_action.gypi' ], |
- }, |
- ], |
- 'direct_dependent_settings': { |
- 'include_dirs': [ |
- '<(SHARED_INTERMEDIATE_DIR)', |
- ], |
- }, |
- }, |
- { |
- # GN version: //ios/chrome/app/theme |
- 'target_name': 'ios_theme_resources_gen', |
- 'type': 'none', |
- 'hard_dependency': 1, |
- 'actions': [ |
- { |
- 'action_name': 'ios_theme_resources', |
- 'variables': { |
- 'grit_grd_file': 'app/theme/ios_theme_resources.grd', |
- }, |
- 'includes': [ '../../build/grit_action.gypi' ], |
- }, |
- ], |
- 'direct_dependent_settings': { |
- 'include_dirs': [ |
- '<(SHARED_INTERMEDIATE_DIR)', |
- ], |
- }, |
- }, |
- { |
- # GN version: //ios/chrome/app/resources:packed_resources |
- 'target_name': 'ios_packed_resources', |
- 'type': 'none', |
- 'dependencies': [ |
- '../../components/components_strings.gyp:components_strings', |
- '../../net/net.gyp:net_resources', |
- '../../ui/resources/ui_resources.gyp:ui_resources', |
- '../../ui/strings/ui_strings.gyp:ui_strings', |
- 'ios_chrome_resources', |
- ], |
- 'actions': [ |
- { |
- # GN version: //ios/chrome/app/resources:repack_locales |
- 'action_name': 'repack_ios_locales', |
- 'variables': { |
- 'repack_locales_path': 'tools/build/ios_repack_locales.py', |
- }, |
- 'inputs': [ |
- '<(repack_locales_path)', |
- '<!@pymod_do_main(ios_repack_locales -i ' |
- '-s <(SHARED_INTERMEDIATE_DIR) ' |
- '-x <(SHARED_INTERMEDIATE_DIR)/repack_ios ' |
- '-b <(branding_path_component) ' |
- '<(locales))' |
- ], |
- 'outputs': [ |
- '<!@pymod_do_main(ios_repack_locales -o ' |
- '-s <(SHARED_INTERMEDIATE_DIR) ' |
- '-x <(SHARED_INTERMEDIATE_DIR)/repack_ios ' |
- '<(locales))' |
- ], |
- 'action': [ |
- 'python', |
- '<(repack_locales_path)', |
- '-x', '<(SHARED_INTERMEDIATE_DIR)/repack_ios', |
- '-s', '<(SHARED_INTERMEDIATE_DIR)', |
- '-b', '<(branding_path_component)', |
- '<@(locales)', |
- ], |
- }, |
- { |
- # GN version: //ios/chrome/app/resources:repack_scalable_resources |
- 'action_name': 'repack_ios_resources_100_percent', |
- 'variables': { |
- 'pak_inputs': [ |
- '<(SHARED_INTERMEDIATE_DIR)/components/components_resources_100_percent.pak', |
- '<(SHARED_INTERMEDIATE_DIR)/ios/chrome/ios_theme_resources_100_percent.pak', |
- '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.pak', |
- ], |
- 'pak_output': '<(SHARED_INTERMEDIATE_DIR)/repack_ios/chrome_100_percent.pak', |
- }, |
- 'includes': [ '../../build/repack_action.gypi' ], |
- }, |
- { |
- # GN version: //ios/chrome/app/resources:repack_scalable_resources |
- 'action_name': 'repack_ios_resources_200_percent', |
- 'variables': { |
- 'pak_inputs': [ |
- '<(SHARED_INTERMEDIATE_DIR)/components/components_resources_200_percent.pak', |
- '<(SHARED_INTERMEDIATE_DIR)/ios/chrome/ios_theme_resources_200_percent.pak', |
- '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_200_percent.pak', |
- ], |
- 'pak_output': '<(SHARED_INTERMEDIATE_DIR)/repack_ios/chrome_200_percent.pak', |
- }, |
- 'includes': [ '../../build/repack_action.gypi' ], |
- }, |
- { |
- # GN version: //ios/chrome/app/resources:repack_scalable_resources |
- 'action_name': 'repack_ios_resources_300_percent', |
- 'variables': { |
- 'pak_inputs': [ |
- '<(SHARED_INTERMEDIATE_DIR)/components/components_resources_300_percent.pak', |
- '<(SHARED_INTERMEDIATE_DIR)/ios/chrome/ios_theme_resources_300_percent.pak', |
- '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_300_percent.pak', |
- ], |
- 'pak_output': '<(SHARED_INTERMEDIATE_DIR)/repack_ios/chrome_300_percent.pak', |
- }, |
- 'includes': [ '../../build/repack_action.gypi' ], |
- }, |
- { |
- # GN version: //ios/chrome/app/resources:repack_unscaled_resources |
- 'action_name': 'repack_ios_resources', |
- 'variables': { |
- 'pak_inputs': [ |
- '<(SHARED_INTERMEDIATE_DIR)/components/components_resources.pak', |
- '<(SHARED_INTERMEDIATE_DIR)/ios/chrome/ios_resources.pak', |
- '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', |
- '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak', |
- ], |
- 'pak_output': '<(SHARED_INTERMEDIATE_DIR)/repack_ios/resources.pak', |
- }, |
- 'includes': [ '../../build/repack_action.gypi' ], |
- }, |
- ], |
- }, |
- { |
- # GN version: //ios/chrome/browser/variations:ios_chrome_ui_string_overrider_factory |
- 'target_name': 'ios_chrome_ui_string_overrider_factory_gen', |
- 'type': 'none', |
- 'hard_dependency': 1, |
- 'direct_dependent_settings': { |
- 'include_dirs': [ |
- '<(SHARED_INTERMEDIATE_DIR)', |
- ], |
- }, |
- 'dependencies': [ |
- '../../components/components_strings.gyp:components_strings', |
- 'ios_strings_gen', |
- ], |
- 'actions': [ |
- { |
- 'action_name': 'generate_ios_ui_string_overrider', |
- 'inputs': [ |
- '<(ui_string_overrider_script_name)', |
- '<@(ui_string_overrider_inputs)', |
- ], |
- 'outputs': [ |
- '<(SHARED_INTERMEDIATE_DIR)/<(ui_string_overrider_output_basename).cc', |
- '<(SHARED_INTERMEDIATE_DIR)/<(ui_string_overrider_output_basename).h', |
- ], |
- 'action': [ |
- 'python', |
- '<(ui_string_overrider_script_name)', |
- '-o', '<(SHARED_INTERMEDIATE_DIR)', |
- '-S', '<(ui_string_overrider_output_basename).cc', |
- '-H', '<(ui_string_overrider_output_basename).h', |
- '<@(ui_string_overrider_inputs)', |
- ], |
- }, |
- ], |
- }, |
- { |
- # GN version: //ios/chrome/browser/variations:ios_chrome_ui_string_overrider_factory |
- 'target_name': 'ios_chrome_ui_string_overrider_factory', |
- 'type': 'static_library', |
- 'dependencies': [ |
- '../../components/components.gyp:variations_service', |
- 'ios_chrome_ui_string_overrider_factory_gen', |
- ], |
- 'sources': [ |
- '<(SHARED_INTERMEDIATE_DIR)/<(ui_string_overrider_output_basename).cc', |
- '<(SHARED_INTERMEDIATE_DIR)/<(ui_string_overrider_output_basename).h', |
- ], |
- }, |
- ], |
-} |