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

Issue 153093003: Gyp file changes for the android framework. (Closed)

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

Description

Gyp file changes for the android framework. Split off from https://codereview.chromium.org/140503007/. The eventual goal is to create our Android.mk from gyp. This patch adds an option for skia_android_framework with the right settings. The follow-up (https://codereview.chromium.org/140503007/) will use scripts to create the final makefile. gyp/android_deps.gyp: Use different dependencies for the framework than for building Skia normally. gyp/android_framework_lib.gyp: Like skia_lib, specifies the minimum needed for building Skia, in this case for the framework. gyp/common_conditions.gypi: Add settings specific to skia_android_framework. In some cases this means turning off flags and defines. gyp/common.gypi Turn off SK_DEBUG and SK_DEVELOPER when building for the framework. This allows the framework to create a single makefile which can be modified to add SK_DEBUG and SK_DEVELOPER as desired. gyp/common_variables.gypi: Add skia_android_framework. gyp/core.gyp: Don't depend on cpufeatures, and add the cutils library for skia_android_framework. gyp/freetype.gyp: skia_android_framework-specific options: Don't include freetype_static as a dependency. Include the proper folders. Include the android library. gyp/images.gyp: Don't export libjpeg as a dependency for targets that include images for the framework. Also reorder image decoders to match the Android order, leaving our most commonly used ones last (and therefore first in the chain for trying them). gyp/libwebp.gyp: Use the system webp when building for the Android framework. Specify the correct settings for the framework. gyp/opts.gyp: Specify a default set of files to compile when there are no possible optimizations. gyp/pdf.gyp: Add dependencies for Android framework. gyp/zlib.gyp: Include the zlib folder, and undefine SK_ZLIB_INCLUDE. BUG=skia:1975 R=djsollen@google.com Committed: https://code.google.com/p/skia/source/detail?r=13298 Reverted: https://code.google.com/p/skia/source/detail?r=13304

Patch Set 1 #

Total comments: 6

Patch Set 2 : Add copyright header. #

Patch Set 3 : Rebase #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -270 lines) Patch
M gyp/android_deps.gyp View 1 2 3 1 chunk +2 lines, -63 lines 0 comments Download
D gyp/android_framework_lib.gyp View 1 2 3 1 chunk +0 lines, -20 lines 0 comments Download
M gyp/common.gypi View 1 2 3 1 chunk +19 lines, -24 lines 0 comments Download
M gyp/common_conditions.gypi View 1 2 3 2 chunks +11 lines, -43 lines 0 comments Download
M gyp/common_variables.gypi View 1 2 3 3 chunks +2 lines, -12 lines 0 comments Download
M gyp/core.gyp View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download
M gyp/freetype.gyp View 1 2 3 1 chunk +0 lines, -16 lines 0 comments Download
M gyp/images.gyp View 1 2 3 3 chunks +6 lines, -24 lines 0 comments Download
M gyp/libwebp.gyp View 1 2 3 2 chunks +10 lines, -32 lines 0 comments Download
M gyp/opts.gyp View 1 2 3 2 chunks +1 line, -4 lines 0 comments Download
M gyp/pdf.gyp View 1 2 3 2 chunks +0 lines, -15 lines 0 comments Download
M gyp/zlib.gyp View 1 2 3 2 chunks +1 line, -11 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
scroggo
Splitting this off from https://codereview.chromium.org/140503007/ as Hal is doing some work on the gyp files ...
6 years, 10 months ago (2014-02-03 21:36:14 UTC) #1
djsollen
https://codereview.chromium.org/153093003/diff/1/gyp/android_framework_lib.gyp File gyp/android_framework_lib.gyp (right): https://codereview.chromium.org/153093003/diff/1/gyp/android_framework_lib.gyp#newcode1 gyp/android_framework_lib.gyp:1: # This GYP file stores the dependencies necessary to ...
6 years, 10 months ago (2014-02-04 14:18:43 UTC) #2
scroggo
https://codereview.chromium.org/153093003/diff/1/gyp/android_framework_lib.gyp File gyp/android_framework_lib.gyp (right): https://codereview.chromium.org/153093003/diff/1/gyp/android_framework_lib.gyp#newcode1 gyp/android_framework_lib.gyp:1: # This GYP file stores the dependencies necessary to ...
6 years, 10 months ago (2014-02-04 14:37:14 UTC) #3
djsollen
lgtm
6 years, 10 months ago (2014-02-04 14:40:04 UTC) #4
scroggo
The CQ bit was checked by scroggo@google.com
6 years, 10 months ago (2014-02-04 14:41:42 UTC) #5
skia-commit-bot
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/scroggo@google.com/153093003/70001
6 years, 10 months ago (2014-02-04 14:41:46 UTC) #6
skia-commit-bot
The CQ bit was unchecked by skia-commit-bot@chromium.org
6 years, 10 months ago (2014-02-04 14:41:48 UTC) #7
skia-commit-bot
Failed to apply patch for gyp/android_deps.gyp: While running git apply --index -p1; Created missing directory ...
6 years, 10 months ago (2014-02-04 14:41:49 UTC) #8
scroggo
The CQ bit was checked by scroggo@google.com
6 years, 10 months ago (2014-02-04 14:45:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/scroggo@google.com/153093003/170001
6 years, 10 months ago (2014-02-04 14:45:22 UTC) #10
skia-commit-bot
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/scroggo@google.com/153093003/170001
6 years, 10 months ago (2014-02-04 14:45:26 UTC) #11
skia-commit-bot
The CQ bit was unchecked by skia-commit-bot@chromium.org
6 years, 10 months ago (2014-02-04 14:45:29 UTC) #12
skia-commit-bot
Failed to apply patch for gyp/android_deps.gyp: While running git apply --index -p1; error: gyp/android_deps.gyp: does ...
6 years, 10 months ago (2014-02-04 14:45:29 UTC) #13
scroggo
Committed patchset #3 manually as r13298 (presubmit successful).
6 years, 10 months ago (2014-02-04 14:50:26 UTC) #14
scroggo
A revert of this CL has been created in https://codereview.chromium.org/153923002/ by scroggo@google.com. The reason for ...
6 years, 10 months ago (2014-02-04 15:33:43 UTC) #15
scroggo
Committed patchset #4 manually as r13304 (presubmit successful).
6 years, 10 months ago (2014-02-04 16:08:56 UTC) #16
scroggo
6 years, 10 months ago (2014-02-04 17:48:56 UTC) #17
Message was sent while issue was closed.
On 2014/02/04 16:08:56, scroggo wrote:
> Committed patchset #4 manually as r13304 (presubmit successful).

r13304 is actually a revert of this CL.

The patch has been uploaded for relanding (with the problems fixed) at
https://codereview.chromium.org/154053002/

Powered by Google App Engine
This is Rietveld 408576698