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

Side by Side Diff: platform_tools/android/bin/gyp_to_android.py

Issue 1696483002: Update Android framework makefile to build static and shared libs (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: new test Created 4 years, 10 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
« no previous file with comments | « gyp/dm.gyp ('k') | platform_tools/android/gyp_gen/makefile_writer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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)
OLDNEW
« no previous file with comments | « gyp/dm.gyp ('k') | platform_tools/android/gyp_gen/makefile_writer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698