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

Issue 237973002: Add generate_jni template (Closed)

Created:
6 years, 8 months ago by cjhopman
Modified:
6 years, 8 months ago
Reviewers:
brettw
CC:
chromium-reviews, tfarina, erikwright+watch_chromium.org, Dirk Pranke
Visibility:
Public.

Description

Add generate_jni template This adds a template for using the jni_generator. Creates the base_jni_headers target and updates the base target to depend on it and actually use the sources that required it. Adds //third_party/android_tools:cpu_features required by one of the base files that also required jni. Disable a bunch of third_party targets for Android builds. BUG=359249 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264695

Patch Set 1 : #

Total comments: 13

Patch Set 2 : #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+331 lines, -230 lines) Patch
M BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M base/BUILD.gn View 1 2 6 chunks +46 lines, -28 lines 0 comments Download
A build/config/android/rules.gni View 1 2 1 chunk +61 lines, -0 lines 0 comments Download
M third_party/libwebp/BUILD.gn View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
A tools/gn/secondary/third_party/android_tools/BUILD.gn View 1 1 chunk +15 lines, -0 lines 0 comments Download
M tools/gn/secondary/third_party/leveldatabase/BUILD.gn View 1 chunk +188 lines, -186 lines 0 comments Download
M tools/gn/secondary/third_party/zlib/BUILD.gn View 1 chunk +15 lines, -13 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
cjhopman
brettw: * I figured I should get jni stuff working because it's probably the big ...
6 years, 8 months ago (2014-04-15 00:44:07 UTC) #1
cjhopman
https://codereview.chromium.org/237973002/diff/40001/build/config/android/rules.gni File build/config/android/rules.gni (right): https://codereview.chromium.org/237973002/diff/40001/build/config/android/rules.gni#newcode1 build/config/android/rules.gni:1: # Declare a jni target It would be really ...
6 years, 8 months ago (2014-04-15 00:45:27 UTC) #2
brettw
LGTM, exciting! https://codereview.chromium.org/237973002/diff/40001/build/config/android/rules.gni File build/config/android/rules.gni (right): https://codereview.chromium.org/237973002/diff/40001/build/config/android/rules.gni#newcode3 build/config/android/rules.gni:3: # This target generates the native jni ...
6 years, 8 months ago (2014-04-15 20:50:25 UTC) #3
cjhopman
https://codereview.chromium.org/237973002/diff/40001/build/config/android/rules.gni File build/config/android/rules.gni (right): https://codereview.chromium.org/237973002/diff/40001/build/config/android/rules.gni#newcode3 build/config/android/rules.gni:3: # This target generates the native jni bindings for ...
6 years, 8 months ago (2014-04-17 17:57:03 UTC) #4
cjhopman
The CQ bit was checked by cjhopman@chromium.org
6 years, 8 months ago (2014-04-17 17:57:06 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/237973002/60001
6 years, 8 months ago (2014-04-17 17:57:50 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-17 17:58:04 UTC) #7
commit-bot: I haz the power
Failed to apply patch for base/BUILD.gn: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 8 months ago (2014-04-17 17:58:04 UTC) #8
cjhopman
Rebase required: disable //net and //crypto on Android add cpu_features dependency to libwebp_dsp
6 years, 8 months ago (2014-04-17 21:29:34 UTC) #9
cjhopman
The CQ bit was checked by cjhopman@chromium.org
6 years, 8 months ago (2014-04-17 21:29:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/237973002/80001
6 years, 8 months ago (2014-04-17 21:30:27 UTC) #11
commit-bot: I haz the power
6 years, 8 months ago (2014-04-18 00:50:14 UTC) #12
Message was sent while issue was closed.
Change committed as 264695

Powered by Google App Engine
This is Rietveld 408576698