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

Issue 140503007: Scripts to generate Android.mk for framework Skia. (Closed)

Created:
6 years, 11 months ago by scroggo
Modified:
6 years, 10 months ago
Reviewers:
epoger, djsollen
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Scripts to generate Android.mk for framework Skia. In order to create Android.mk, run >> python platform_tools/android/bin/gyp_to_android.py For the change in the Android.mk file, see https://googleplex-android-review.git.corp.google.com/#/c/408170/ (SkipBuildbotRuns) BUG=skia:1975 Committed: http://code.google.com/p/skia/source/detail?r=13344

Patch Set 1 #

Patch Set 2 : Small fixes from comments in Android CL #

Patch Set 3 : Update copyrights, remove unnecessary code. #

Total comments: 15

Patch Set 4 : Defer x86 opts until we figure out how to include them. #

Patch Set 5 : Respond to comments in patch set 3. #

Total comments: 14

Patch Set 6 : Respond to comments in patch set 5. #

Total comments: 40

Patch Set 7 : Respond to Derek's comments on patch set 6. #

Patch Set 8 : Respond to/acknowledge Elliot's changes in patch set 6. #

Patch Set 9 : Merge in self_tests from https://codereview.chromium.org/142173002 #

Patch Set 10 : Use lower case function names. #

Patch Set 11 : Split up gyp_to_android.py #

Patch Set 12 : Small changes to get the split files working again. #

Patch Set 13 : VarsDict = namedtuple of OrderedSets #

Total comments: 4

Patch Set 14 : Small fixes. #

Patch Set 15 : Override __getitem__ to allow dictionary lookup. #

Patch Set 16 : Fix lint errors. #

Total comments: 23

Patch Set 17 : Respond to Elliot's comments in patch set 16. #

Total comments: 2

Patch Set 18 : Remove gyp changes, which have already been committed. #

Patch Set 19 : Move tests (split, but unchanged) into platform_tools. #

Patch Set 20 : Update tests. #

Total comments: 4

Patch Set 21 : Respond to Elliot's comments in patch set 20. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+984 lines, -0 lines) Patch
A platform_tools/android/bin/android_framework_gyp.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +79 lines, -0 lines 0 comments Download
A platform_tools/android/bin/gyp_to_android.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +134 lines, -0 lines 0 comments Download
A platform_tools/android/gyp_gen/gypd_parser.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +122 lines, -0 lines 0 comments Download
A platform_tools/android/gyp_gen/makefile_writer.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +175 lines, -0 lines 0 comments Download
A platform_tools/android/gyp_gen/variables.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +11 lines, -0 lines 0 comments Download
A platform_tools/android/gyp_gen/vars_dict_lib.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +133 lines, -0 lines 0 comments Download
A platform_tools/android/tests/gyp_to_android_tests.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +105 lines, -0 lines 0 comments Download
A platform_tools/android/tests/ordered_set_tests.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +69 lines, -0 lines 0 comments Download
A platform_tools/android/tests/run_all.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +24 lines, -0 lines 0 comments Download
A platform_tools/android/tests/test_variables.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +22 lines, -0 lines 0 comments Download
A platform_tools/android/tests/var_dict_tests.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +110 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
scroggo
Latest patch on creating Android.mk from gyp, ready for review. (Slight side note: It worked ...
6 years, 11 months ago (2014-01-17 19:43:36 UTC) #1
djsollen
https://codereview.chromium.org/140503007/diff/100001/gyp/android_deps.gyp File gyp/android_deps.gyp (right): https://codereview.chromium.org/140503007/diff/100001/gyp/android_deps.gyp#newcode45 gyp/android_deps.gyp:45: '$(TOPDIR)external/giflib', do you need topdir here? https://codereview.chromium.org/140503007/diff/100001/gyp/common_conditions.gypi File gyp/common_conditions.gypi ...
6 years, 11 months ago (2014-01-21 17:47:37 UTC) #2
scroggo
https://codereview.chromium.org/140503007/diff/100001/gyp/android_deps.gyp File gyp/android_deps.gyp (right): https://codereview.chromium.org/140503007/diff/100001/gyp/android_deps.gyp#newcode45 gyp/android_deps.gyp:45: '$(TOPDIR)external/giflib', On 2014/01/21 17:47:37, djsollen wrote: > do you ...
6 years, 11 months ago (2014-01-21 19:10:06 UTC) #3
djsollen
https://codereview.chromium.org/140503007/diff/270001/gyp/android_framework_lib.gyp File gyp/android_framework_lib.gyp (right): https://codereview.chromium.org/140503007/diff/270001/gyp/android_framework_lib.gyp#newcode22 gyp/android_framework_lib.gyp:22: 'android_unmangled_name': 1, not sure if you need that if ...
6 years, 11 months ago (2014-01-22 21:02:44 UTC) #4
scroggo
Elliot, can you review the python code? (Sorry for adding you in the middle - ...
6 years, 11 months ago (2014-01-22 23:52:41 UTC) #5
djsollen
2 nits, but other than getting someone to look at the python code it 1gtm. ...
6 years, 11 months ago (2014-01-23 15:01:33 UTC) #6
epoger
looking now
6 years, 11 months ago (2014-01-23 17:40:03 UTC) #7
epoger
Reviewed the .py files, and ignored the rest. Let's discuss live... plenty to chew on... ...
6 years, 11 months ago (2014-01-23 18:57:57 UTC) #8
scroggo
<To reduce the churn for you guys, since this isn't quite ready, I'm unchecking "Send ...
6 years, 11 months ago (2014-01-24 20:09:02 UTC) #9
epoger
On 2014/01/24 20:09:02, scroggo wrote: > <To reduce the churn for you guys, since this ...
6 years, 10 months ago (2014-01-28 19:17:19 UTC) #10
scroggo
https://codereview.chromium.org/140503007/diff/430001/platform_tools/android/bin/gyp_to_android.py File platform_tools/android/bin/gyp_to_android.py (right): https://codereview.chromium.org/140503007/diff/430001/platform_tools/android/bin/gyp_to_android.py#newcode21 platform_tools/android/bin/gyp_to_android.py:21: def WriteGroup(f, name, items, append): On 2014/01/24 20:09:02, scroggo ...
6 years, 10 months ago (2014-01-31 22:16:24 UTC) #11
scroggo
Elliot, This is ready for your input at patch set 14. The patch sets in ...
6 years, 10 months ago (2014-01-31 22:22:54 UTC) #12
scroggo
https://codereview.chromium.org/140503007/diff/820001/platform_tools/android/gyp_gen/makefile_writer.py File platform_tools/android/gyp_gen/makefile_writer.py (right): https://codereview.chromium.org/140503007/diff/820001/platform_tools/android/gyp_gen/makefile_writer.py#newcode58 platform_tools/android/gyp_gen/makefile_writer.py:58: write_group(f, field, eval('var_dict.%s' % field), _append) On 2014/01/31 22:16:24, ...
6 years, 10 months ago (2014-02-01 16:24:01 UTC) #13
scroggo
On 2014/02/01 16:24:01, scroggo wrote: > https://codereview.chromium.org/140503007/diff/820001/platform_tools/android/gyp_gen/makefile_writer.py > File platform_tools/android/gyp_gen/makefile_writer.py (right): > > https://codereview.chromium.org/140503007/diff/820001/platform_tools/android/gyp_gen/makefile_writer.py#newcode58 > ...
6 years, 10 months ago (2014-02-03 14:03:06 UTC) #14
epoger
On 2014/01/31 22:22:54, scroggo wrote: > Elliot, > > This is ready for your input ...
6 years, 10 months ago (2014-02-03 15:09:14 UTC) #15
epoger
Python files look almost ready at patchset 16. (I did not look at the gyp ...
6 years, 10 months ago (2014-02-03 17:26:31 UTC) #16
scroggo
https://codereview.chromium.org/140503007/diff/990001/platform_tools/android/bin/gyp_to_android.py File platform_tools/android/bin/gyp_to_android.py (right): https://codereview.chromium.org/140503007/diff/990001/platform_tools/android/bin/gyp_to_android.py#newcode70 platform_tools/android/bin/gyp_to_android.py:70: # Call the script to generate gypd files, first ...
6 years, 10 months ago (2014-02-03 23:22:31 UTC) #17
epoger
LGTM! https://codereview.chromium.org/140503007/diff/990001/platform_tools/android/gyp_gen/gypd_parser.py File platform_tools/android/gyp_gen/gypd_parser.py (right): https://codereview.chromium.org/140503007/diff/990001/platform_tools/android/gyp_gen/gypd_parser.py#newcode17 platform_tools/android/gyp_gen/gypd_parser.py:17: @param var_dict VarsDict object for storing the results ...
6 years, 10 months ago (2014-02-04 15:00:12 UTC) #18
scroggo
On 2014/02/04 15:00:12, epoger wrote: > LGTM! > > https://codereview.chromium.org/140503007/diff/990001/platform_tools/android/gyp_gen/gypd_parser.py > File platform_tools/android/gyp_gen/gypd_parser.py (right): > ...
6 years, 10 months ago (2014-02-05 23:33:47 UTC) #19
epoger
LGTM, with or without suggestions, at patchset 20 https://codereview.chromium.org/140503007/diff/1240001/platform_tools/android/tests/helpers.py File platform_tools/android/tests/helpers.py (right): https://codereview.chromium.org/140503007/diff/1240001/platform_tools/android/tests/helpers.py#newcode9 platform_tools/android/tests/helpers.py:9: Common ...
6 years, 10 months ago (2014-02-06 14:35:16 UTC) #20
scroggo
https://codereview.chromium.org/140503007/diff/1240001/platform_tools/android/tests/helpers.py File platform_tools/android/tests/helpers.py (right): https://codereview.chromium.org/140503007/diff/1240001/platform_tools/android/tests/helpers.py#newcode9 platform_tools/android/tests/helpers.py:9: Common code for tests. On 2014/02/06 14:35:17, epoger wrote: ...
6 years, 10 months ago (2014-02-06 15:13:34 UTC) #21
scroggo
The CQ bit was checked by scroggo@google.com
6 years, 10 months ago (2014-02-06 15:14:57 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/scroggo@google.com/140503007/1330001
6 years, 10 months ago (2014-02-06 15:15:10 UTC) #23
commit-bot: I haz the power
6 years, 10 months ago (2014-02-06 16:13:06 UTC) #24
Message was sent while issue was closed.
Change committed as 13344

Powered by Google App Engine
This is Rietveld 408576698