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

Issue 11088078: Android backend: allow targets to have unmangled names. (Closed)

Created:
8 years, 2 months ago by Torne
Modified:
8 years, 2 months ago
Reviewers:
Nico
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

Android backend: allow targets to have unmangled names. The Android backend mangles gyp target names because the Android build system requires that they be globally unique. This is fine for most targets, but for the final build products that are being used by other Android components it's annoying to refer to long mangled names. Add a generator-specific flag to denote that a target should have an unmangled name, which can be set on the targets that are important after verifying that no existing module in Android has the same name. Committed: https://code.google.com/p/gyp/source/detail?r=1520

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -4 lines) Patch
M pylib/gyp/generator/android.py View 1 3 chunks +18 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Torne
Nico, would you mind looking at this, or would someone else be better? steveblock is ...
8 years, 2 months ago (2012-10-11 14:56:11 UTC) #1
Nico
What target types do you need this for? If only static libraries: we recently added ...
8 years, 2 months ago (2012-10-15 19:32:05 UTC) #2
Torne
On 2012/10/15 19:32:05, Nico wrote: > What target types do you need this for? If ...
8 years, 2 months ago (2012-10-15 21:35:30 UTC) #3
Nico
https://codereview.chromium.org/11088078/diff/1/pylib/gyp/generator/android.py File pylib/gyp/generator/android.py (right): https://codereview.chromium.org/11088078/diff/1/pylib/gyp/generator/android.py#newcode589 pylib/gyp/generator/android.py:589: if spec.get('android_unmangled_name'): This is true for targets that say ...
8 years, 2 months ago (2012-10-15 23:35:13 UTC) #4
Torne
https://codereview.chromium.org/11088078/diff/1/pylib/gyp/generator/android.py File pylib/gyp/generator/android.py (right): https://codereview.chromium.org/11088078/diff/1/pylib/gyp/generator/android.py#newcode589 pylib/gyp/generator/android.py:589: if spec.get('android_unmangled_name'): On 2012/10/15 23:35:13, Nico wrote: > This ...
8 years, 2 months ago (2012-10-16 10:34:31 UTC) #5
Nico
lgtm Since it sounds like this will be used in production soon / is already ...
8 years, 2 months ago (2012-10-16 21:07:44 UTC) #6
Torne
On 2012/10/16 21:07:44, Nico wrote: > lgtm > > Since it sounds like this will ...
8 years, 2 months ago (2012-10-17 10:38:34 UTC) #7
Nico
On 2012/10/17 10:38:34, Torne wrote: > On 2012/10/16 21:07:44, Nico wrote: > > lgtm > ...
8 years, 2 months ago (2012-10-17 17:02:28 UTC) #8
Torne
8 years, 2 months ago (2012-10-18 09:13:06 UTC) #9
On 2012/10/17 17:02:28, Nico wrote:
> On 2012/10/17 10:38:34, Torne wrote:
> > On 2012/10/16 21:07:44, Nico wrote:
> > > lgtm
> > > 
> > > Since it sounds like this will be used in production soon / is already
used
> > > there: Any thoughts on testing? There should probably a bot with an
android
> > > toolchain installed?
> > 
> > This is on my todo list; once I have our build going for my team I am going
to
> > look at getting gyp testing done properly next.
> 
> Sounds good. I forget, is there a tracking bug for this already? If not, can
you
> file one?

http://code.google.com/p/gyp/issues/detail?id=275

> > Sorry this hasn't happened
> > already; we have had crazy deadlines :p

Powered by Google App Engine
This is Rietveld 408576698