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

Side by Side Diff: pylib/gyp/generator/android.py

Issue 758943002: android: don't try to handle suppress_wildcard. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 Google Inc. All rights reserved. 1 # Copyright (c) 2012 Google Inc. 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 # Notes: 5 # Notes:
6 # 6 #
7 # This generates makefiles suitable for inclusion into the Android build system 7 # This generates makefiles suitable for inclusion into the Android build system
8 # via an Android.mk file. It is based on make.py, the standard makefile 8 # via an Android.mk file. It is based on make.py, the standard makefile
9 # generator. 9 # generator.
10 # 10 #
(...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after
1044 build_files.add(abs_include_file) 1044 build_files.add(abs_include_file)
1045 else: 1045 else:
1046 build_files.add(relative_include_file) 1046 build_files.add(relative_include_file)
1047 1047
1048 base_path, output_file = CalculateMakefilePath(build_file, 1048 base_path, output_file = CalculateMakefilePath(build_file,
1049 target + '.' + toolset + options.suffix + '.mk') 1049 target + '.' + toolset + options.suffix + '.mk')
1050 1050
1051 spec = target_dicts[qualified_target] 1051 spec = target_dicts[qualified_target]
1052 configs = spec['configurations'] 1052 configs = spec['configurations']
1053 1053
1054 part_of_all = (qualified_target in needed_targets and 1054 part_of_all = qualified_target in needed_targets
1055 not int(spec.get('suppress_wildcard', False)))
1056 if limit_to_target_all and not part_of_all: 1055 if limit_to_target_all and not part_of_all:
1057 continue 1056 continue
1058 1057
1059 relative_target = gyp.common.QualifiedTarget(relative_build_file, target, 1058 relative_target = gyp.common.QualifiedTarget(relative_build_file, target,
1060 toolset) 1059 toolset)
1061 writer = AndroidMkWriter(android_top_dir) 1060 writer = AndroidMkWriter(android_top_dir)
1062 android_module = writer.Write(qualified_target, relative_target, base_path, 1061 android_module = writer.Write(qualified_target, relative_target, base_path,
1063 output_file, spec, configs, 1062 output_file, spec, configs,
1064 part_of_all=part_of_all, 1063 part_of_all=part_of_all,
1065 write_alias_target=write_alias_targets, 1064 write_alias_target=write_alias_targets,
(...skipping 20 matching lines...) Expand all
1086 # Write out the sorted list of includes. 1085 # Write out the sorted list of includes.
1087 root_makefile.write('\n') 1086 root_makefile.write('\n')
1088 for include_file in sorted(include_list): 1087 for include_file in sorted(include_list):
1089 root_makefile.write('include $(LOCAL_PATH)/' + include_file + '\n') 1088 root_makefile.write('include $(LOCAL_PATH)/' + include_file + '\n')
1090 root_makefile.write('\n') 1089 root_makefile.write('\n')
1091 1090
1092 if write_alias_targets: 1091 if write_alias_targets:
1093 root_makefile.write(ALL_MODULES_FOOTER) 1092 root_makefile.write(ALL_MODULES_FOOTER)
1094 1093
1095 root_makefile.close() 1094 root_makefile.close()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698