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

Issue 565743004: android: Add a way to override build system variables. (Closed)

Created:
6 years, 3 months ago by Torne
Modified:
6 years, 3 months ago
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

android: Add a way to override build system variables. Add a key 'aosp_build_settings' which a target can use to set Android build system variables in the generated makefile, for edge cases not directly supported by gyp. aosp_build_settings is a dictionary which maps variable names to values (values may be integers, strings or lists; all values will be quoted appropriately for make and lists will be converted to whitespace-separated form). BUG= R=primiano@chromium.org, thakis@chromium.org Committed: https://code.google.com/p/gyp/source/detail?r=1977

Patch Set 1 #

Total comments: 4

Patch Set 2 : Make generated comment less ambiguous. #

Patch Set 3 : Change key to aosp_build_settings #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -0 lines) Patch
M pylib/gyp/generator/android.py View 1 2 2 chunks +12 lines, -0 lines 0 comments Download
A test/android/gyptest-settings.py View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
A test/android/gyptest-settings-list.py View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
A + test/android/settings.gyp View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A + test/android/settings-list.gyp View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
Torne
6 years, 3 months ago (2014-09-12 10:55:28 UTC) #2
Torne
This is intended to replace the need for https://codereview.chromium.org/509383002/ by allowing the chromium gyp files ...
6 years, 3 months ago (2014-09-12 10:57:22 UTC) #3
Primiano Tucci (use gerrit)
LGTM >We hopefully won't need to use this mechanism often but it seems preferable to ...
6 years, 3 months ago (2014-09-12 12:22:53 UTC) #4
Torne
https://codereview.chromium.org/565743004/diff/1/pylib/gyp/generator/android.py File pylib/gyp/generator/android.py (right): https://codereview.chromium.org/565743004/diff/1/pylib/gyp/generator/android.py#newcode854 pylib/gyp/generator/android.py:854: settings = spec.get('android_build_settings', {}) On 2014/09/12 12:22:52, Primiano Tucci ...
6 years, 3 months ago (2014-09-12 13:13:04 UTC) #5
Torne
Fixed comment to be more specific.
6 years, 3 months ago (2014-09-12 13:36:19 UTC) #6
Torne
Nico, does this seem like a terrible idea? :)
6 years, 3 months ago (2014-09-12 15:01:54 UTC) #8
Nico
I think this is fine, but I'd give it a different name. Most people will ...
6 years, 3 months ago (2014-09-12 15:15:27 UTC) #9
Torne
I'm not sure what name would make that more clear really. The generator has been ...
6 years, 3 months ago (2014-09-12 15:20:54 UTC) #10
Primiano Tucci (use gerrit)
> Most people will think this is for chrome/android with the current name. Yeah actually ...
6 years, 3 months ago (2014-09-12 15:36:20 UTC) #11
Torne
Renamed to "aosp_build_settings". It makes a reasonable amount of sense from the chromium side as ...
6 years, 3 months ago (2014-09-12 15:46:45 UTC) #12
Nico
lgtm
6 years, 3 months ago (2014-09-12 16:02:05 UTC) #13
Torne
6 years, 3 months ago (2014-09-12 16:06:30 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 1977 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698