Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: chrome/chrome.gyp

Issue 12529025: Generate Android string files from generated_resources.grd. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: flip coin to decide which type of gyp variable expansion to use Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'variables': { 5 'variables': {
6 'chromium_code': 1, 6 'chromium_code': 1,
7 7
8 # Define the common dependencies that contain all the actual 8 # Define the common dependencies that contain all the actual
9 # Chromium functionality. This list gets pulled in below by 9 # Chromium functionality. This list gets pulled in below by
10 # the link of the actual chrome (or chromium) executable on 10 # the link of the actual chrome (or chromium) executable on
(...skipping 1067 matching lines...) Expand 10 before | Expand all | Expand 10 after
1078 ['chromeos==1', { 1078 ['chromeos==1', {
1079 'includes': [ 'chrome_browser_chromeos.gypi' ], 1079 'includes': [ 'chrome_browser_chromeos.gypi' ],
1080 }], # chromeos==1 1080 }], # chromeos==1
1081 ['OS=="android"', 1081 ['OS=="android"',
1082 { 1082 {
1083 'targets': [ 1083 'targets': [
1084 { 1084 {
1085 'target_name': 'chrome_java', 1085 'target_name': 'chrome_java',
1086 'type': 'none', 1086 'type': 'none',
1087 'dependencies': [ 1087 'dependencies': [
1088 'chrome_resources.gyp:chrome_strings',
1088 'profile_sync_service_model_type_selection_java', 1089 'profile_sync_service_model_type_selection_java',
1089 'toolbar_model_security_levels_java', 1090 'toolbar_model_security_levels_java',
1090 '../base/base.gyp:base', 1091 '../base/base.gyp:base',
1091 '../components/components.gyp:navigation_interception_java', 1092 '../components/components.gyp:navigation_interception_java',
1092 '../components/components.gyp:web_contents_delegate_android_java', 1093 '../components/components.gyp:web_contents_delegate_android_java',
1093 '../content/content.gyp:content_java', 1094 '../content/content.gyp:content_java',
1094 '../sync/sync.gyp:sync_java', 1095 '../sync/sync.gyp:sync_java',
1095 '../third_party/guava/guava.gyp:guava_javalib', 1096 '../third_party/guava/guava.gyp:guava_javalib',
1096 '../ui/ui.gyp:ui_java', 1097 '../ui/ui.gyp:ui_java',
1097 ], 1098 ],
1098 'variables': { 1099 'variables': {
1099 'java_in_dir': '../chrome/android/java', 1100 'java_in_dir': '../chrome/android/java',
1100 'has_java_resources': 1, 1101 'has_java_resources': 1,
1101 'R_package': 'org.chromium.chrome', 1102 'R_package': 'org.chromium.chrome',
1102 'R_package_relpath': 'org/chromium/chrome', 1103 'R_package_relpath': 'org/chromium/chrome',
1103 'java_strings_grd': 'android_chrome_strings.grd', 1104 'java_strings_grd': 'android_chrome_strings.grd',
1105 # Include xml string files generated from generated_resources.grd
1106 'res_extra_dirs': ['<(SHARED_INTERMEDIATE_DIR)/chrome/java/res'],
1107 'res_extra_files': ['<!@pymod_do_main(grit_info <@(grit_defines) --o utputs "<(SHARED_INTERMEDIATE_DIR)/chrome" app/generated_resources.grd)'],
1104 }, 1108 },
1105 'includes': [ 1109 'includes': [
1106 '../build/java.gypi', 1110 '../build/java.gypi',
1107 ], 1111 ],
1108 }, 1112 },
1109 ], # 'targets' 1113 ], # 'targets'
1110 'includes': [ 1114 'includes': [
1111 'chrome_android.gypi', 1115 'chrome_android.gypi',
1112 ]}, # 'includes' 1116 ]}, # 'includes'
1113 ], # OS=="android" 1117 ], # OS=="android"
1114 ], # 'conditions' 1118 ], # 'conditions'
1115 } 1119 }
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/public/android/java/strings/android_content_strings.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698