OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 | 2 |
3 # Copyright 2014 Google Inc. | 3 # Copyright 2014 Google Inc. |
4 # | 4 # |
5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
7 | 7 |
8 """ | 8 """ |
9 Script for generating the Android framework's version of Skia from gyp | 9 Script for generating the Android framework's version of Skia from gyp |
10 files. | 10 files. |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 | 188 |
189 deviations_from_common.append(makefile_writer.VarsDictData(mips64_var_dict, | 189 deviations_from_common.append(makefile_writer.VarsDictData(mips64_var_dict, |
190 'mips64')) | 190 'mips64')) |
191 | 191 |
192 deviations_from_common.append(makefile_writer.VarsDictData(arm64_var_dict, | 192 deviations_from_common.append(makefile_writer.VarsDictData(arm64_var_dict, |
193 'arm64')) | 193 'arm64')) |
194 | 194 |
195 makefile_writer.write_android_mk(target_dir=target_dir, | 195 makefile_writer.write_android_mk(target_dir=target_dir, |
196 common=common, deviations_from_common=deviations_from_common) | 196 common=common, deviations_from_common=deviations_from_common) |
197 | 197 |
| 198 makefile_writer.write_static_deps_mk(target_dir=target_dir, |
| 199 common=common, deviations_from_common=deviations_from_common) |
| 200 |
198 finally: | 201 finally: |
199 shutil.rmtree(tmp_folder) | 202 shutil.rmtree(tmp_folder) |
200 | 203 |
201 if __name__ == '__main__': | 204 if __name__ == '__main__': |
202 parser = argparse.ArgumentParser() | 205 parser = argparse.ArgumentParser() |
203 parser.add_argument('--gyp_source_dir', help='Source of gyp program. ' | 206 parser.add_argument('--gyp_source_dir', help='Source of gyp program. ' |
204 'e.g. <path_to_skia>/third_party/externals/gyp') | 207 'e.g. <path_to_skia>/third_party/externals/gyp') |
205 args = parser.parse_args() | 208 args = parser.parse_args() |
206 | 209 |
207 main(gyp_source_dir=args.gyp_source_dir) | 210 main(gyp_source_dir=args.gyp_source_dir) |
OLD | NEW |