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

Issue 571053003: android: Build against NDK prebuilts, not system libraries. (Closed)

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

Description

android: Build against NDK prebuilts, not system libraries. To allow the chromium WebView to build unbundled, we need to stop linking to system libraries and instead link to the prebuilt libraries in the NDK. All modules compiled for target now specify LOCAL_SDK_VERSION with a valid version of the SDK (defaulting to 19, the oldest version on which the WebView builds). This can be overridden with the generator flag "aosp_sdk_version". Instead of converting library flags of the form "-lfoo" to entries in LOCAL_SHARED_LIBRARIES, which causes a dependency on the system version of the library, simply pass these flags through in ldflags. The NDK library path is set automatically if LOCAL_SDK_VERSION is defined and the correct version of these libraries will be found. BUG=chromium:409851 R=primiano@chromium.org, thakis@chromium.org Committed: https://code.google.com/p/gyp/source/detail?r=1990

Patch Set 1 #

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

Messages

Total messages: 9 (1 generated)
Torne
This passes the gyp tests for me locally (tryjob queued) but will require changes to ...
6 years, 3 months ago (2014-09-15 13:56:01 UTC) #2
Primiano Tucci (use gerrit)
LGTM > I'll prepare the chromium-side change and upload it before submitting this. Uh? Don't ...
6 years, 3 months ago (2014-09-15 14:25:15 UTC) #3
Torne
On 2014/09/15 14:25:15, Primiano Tucci wrote: > LGTM > > > I'll prepare the chromium-side ...
6 years, 3 months ago (2014-09-15 14:26:30 UTC) #4
Torne
Chromium-side change: https://codereview.chromium.org/571953002
6 years, 3 months ago (2014-09-15 14:34:03 UTC) #5
Nico
lgtm Once the webview builds against the NDK, can it just use the ninja gyp ...
6 years, 3 months ago (2014-09-16 14:25:18 UTC) #6
Torne
On 2014/09/16 14:25:18, Nico (hiding) wrote: > lgtm > > Once the webview builds against ...
6 years, 3 months ago (2014-09-16 14:29:21 UTC) #7
Torne
This is now unblocked, I've relanded the dependent changes in chromium.
6 years, 2 months ago (2014-10-17 17:57:28 UTC) #8
Torne
6 years, 2 months ago (2014-10-17 17:58:32 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as 1990 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698