New issue
Advanced search Search tips

Issue 683256 link

Starred by 5 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug

Blocked on:
issue 738067
issue 749244

Blocking:
issue 688465



Sign in to add a comment

Make JNI registration code generated on a per-apk basis (80kb)

Project Member Reported by agrieve@chromium.org, Jan 20 2017

Issue description

Goals:
- Don't ship manual registration code in monochrome (~50kb is my guess)
- Reduce complexity of start-up code

Constraints:
- May not have native code depend on java code being built (or else slow down builds)

The current design:
- source_sets targets use GN's generate_jni() to generate .cc from .java
  - Passes the c++ namespace to the GN template
  - Passes explicit list of .java files to the GN template
  - Template generates code that does 3 things:
    1. Generates wrappers that allow C++ to call Java methods
    2. Generates wrappers that allow Java to call native methods
    3. Generates registration functions the links the Java to it's native wrapper
- Every component has a hand-coded method that calls of its registration functions
- Main module has hand-coded method that calls all needed registration methods


New shiney design:
- source_sets targets use GN's generate_jni() to generate .cc from an android_library
  - Passes the c++ namespace to the GN template
  - Passes android_library target rather than java files
  - Template generates code that does 3 things:
    1. Generates wrappers that allow C++ to call Java methods
    2. Generates wrappers that allow Java to call native methods
  - shared_library targets will use a new template if they require manual registration.
    - These will use an target's .build_config to locate all .java files
    - It will use generate_jni() under-the-hood to re-parse all java files
    - It will create a single method: RegisterJniNatives(bool main_dex_only)
  - Delete all manually written code related to RegisterNatives. \o/

Example:

android_library("base_java") {
  ...
}

generate_jni("base_jni_headers") {
  target = ":base_java"  # Depends only on the .build_config under-the-hood
  jni_package = "base"
}

generate_jni_registration("chrome_jni_registration") {
  target = ":chrome_apk"  # Depends only on the .build_config under-the-hood
  output = "$target_gen_dir/chrome_jni_registration.h"
}

shared_library("chrome") {
  sources = [
    "../browser/android/chrome_entry_point.cc",
    "$target_gen_dir/chrome_jni_registration.h",
  ]
  ...
}

Note: This new design will cause many more .java files to be parsed by generate_jni.py, and it will caused them to be parsed twice. This excess parsing is in exchange for build parallelism, and I think won't be noticed by build times (parsing is super quick)
 
Blocking: 688465
Labels: Performance-Browser
Labels: -apk-size binary-size
Summary: Make JNI registration code generated on a per-apk basis (300kb) (was: Make JNI registration code generated on a per-apk basis (rather than per-source_set))
Note: I'd also expect this to reduce Monochrome's .so size by ~300kb (assuming ELF symbol information is about the same size as the manual JNI registration code). Right now Monochrome exports the JNI symbols *and* contains the manual registration logic (even though it is never used).

This change should allow for Monochrome to not contain the manual jni overhead.
Labels: intern
Labels: -binary-size Performance-Size
Cc: rmcilroy@chromium.org
Owner: yipengw@chromium.org
Project Member

Comment 9 by bugdroid1@chromium.org, Jun 7 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f6475be15cb108ef9eb62bd85809f366885b08c3

commit f6475be15cb108ef9eb62bd85809f366885b08c3
Author: Yipeng Wang <yipengw@chromium.org>
Date: Wed Jun 07 18:06:16 2017

Fix OfflinePageEvaluationBridge.java being included when native side is not

The native side (offline_page_evaluation_bridge.cc) is guarded by
enable_offline_pages_harness, while the java side is guarded by
is_official_build.

This change makes them both guarded only by enable_offline_pages_harness.

Bug:  683256 
Change-Id: Iec020944b5a2bde349c0973b8666bf130beb135e
Reviewed-on: https://chromium-review.googlesource.com/526655
Commit-Queue: Yipeng Wang <yipengw@chromium.org>
Reviewed-by: Yafei Duan <romax@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#477703}
[modify] https://crrev.com/f6475be15cb108ef9eb62bd85809f366885b08c3/chrome/android/java_sources.gni
[modify] https://crrev.com/f6475be15cb108ef9eb62bd85809f366885b08c3/chrome/browser/BUILD.gn

Project Member

Comment 10 by bugdroid1@chromium.org, Jun 8 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b950ddc0e776bc50a9e5e137bf05edde2af949bf

commit b950ddc0e776bc50a9e5e137bf05edde2af949bf
Author: Yipeng Wang <yipengw@chromium.org>
Date: Thu Jun 08 04:01:38 2017

Fix AutofillProvider.java being included while native side is not

The Java side (AutofillProvider.java) is included in the Chrome build,
while the native side (autofill_provider.cc) is not.

This change moves these Java files to a separate target and uses it
only in the android_webview_java.

Bug:  683256 
Change-Id: Ief6228d0045ff589f06f38694d90facf52e8e5cd
Reviewed-on: https://chromium-review.googlesource.com/527335
Commit-Queue: Yipeng Wang <yipengw@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Ted Choc <tedchoc@chromium.org>
Reviewed-by: Richard Coles <torne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#477878}
[modify] https://crrev.com/b950ddc0e776bc50a9e5e137bf05edde2af949bf/android_webview/BUILD.gn
[modify] https://crrev.com/b950ddc0e776bc50a9e5e137bf05edde2af949bf/android_webview/glue/glue.gni
[modify] https://crrev.com/b950ddc0e776bc50a9e5e137bf05edde2af949bf/components/autofill/android/BUILD.gn

Project Member

Comment 11 by bugdroid1@chromium.org, Jun 8 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2d904ecac0d924327a566f46db67b7ed79f48ea7

commit 2d904ecac0d924327a566f46db67b7ed79f48ea7
Author: Yipeng Wang <yipengw@chromium.org>
Date: Thu Jun 08 17:24:56 2017

Fix WebRestrictionsClient.java and WebRestrictionsClientResult.java
included while native side is not

The Java side code (WebRestrictionsClient.java and WebRestrictionsClientResult.java)
are included in the Chrome build while the native side (web_restrictions_client.cc
and web_restrictions_client_result.cc) are not.

This change divides web_restrictions_java into two separate targets, and uses
provider_java in Chrome and client_java in webview.

Bug:  683256 
Change-Id: Idfcc8f967abd9351e747962d621dafc06607113a
Reviewed-on: https://chromium-review.googlesource.com/527598
Reviewed-by: Richard Coles <torne@chromium.org>
Reviewed-by: Ted Choc <tedchoc@chromium.org>
Reviewed-by: Bernhard Bauer <bauerb@chromium.org>
Commit-Queue: Yipeng Wang <yipengw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#478009}
[modify] https://crrev.com/2d904ecac0d924327a566f46db67b7ed79f48ea7/android_webview/BUILD.gn
[modify] https://crrev.com/2d904ecac0d924327a566f46db67b7ed79f48ea7/chrome/android/BUILD.gn
[modify] https://crrev.com/2d904ecac0d924327a566f46db67b7ed79f48ea7/components/web_restrictions/BUILD.gn

Project Member

Comment 12 by bugdroid1@chromium.org, Jun 9 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2885ffdad17d2654772d4a4204f805e337660587

commit 2885ffdad17d2654772d4a4204f805e337660587
Author: Yipeng Wang <yipengw@chromium.org>
Date: Fri Jun 09 19:27:56 2017

Make chrome_android_core depend on generic_sensor and sensors

Required for an upcoming refactor that will have all calls to
RegisterNatives() be done from JNI_OnLoad().

Bug:  683256 
Change-Id: I2c08d1ff35192d65bdf010d5ac820a3167aa6d6d
Reviewed-on: https://chromium-review.googlesource.com/527678
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Yipeng Wang <yipengw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#478370}
[modify] https://crrev.com/2885ffdad17d2654772d4a4204f805e337660587/chrome/BUILD.gn

Project Member

Comment 13 by bugdroid1@chromium.org, Jun 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d2aaab15545e3541ba9da913eb3571fcdedbb79d

commit d2aaab15545e3541ba9da913eb3571fcdedbb79d
Author: Yipeng Wang <yipengw@chromium.org>
Date: Thu Jun 15 21:32:35 2017

Separate server part from "net_java_test_support"

The Java side code (DummySpnegoAuthenticator.java and EmbeddedTestServerImpl.java)
are included in the chrome_sync_shell_test_apk while the native side are not.

This change divides net_java_test_support into two separate targets, and only uses
net_java_test_support_provider in the webview test and net_test_support_apk. 

Bug:  683256 
Change-Id: I480307c0b286d3e4cba7eb4fe8116d61668f85aa
Reviewed-on: https://chromium-review.googlesource.com/535833
Commit-Queue: Yipeng Wang <yipengw@chromium.org>
Reviewed-by: Misha Efimov <mef@chromium.org>
Reviewed-by: Richard Coles <torne@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#479841}
[modify] https://crrev.com/d2aaab15545e3541ba9da913eb3571fcdedbb79d/android_webview/test/embedded_test_server/BUILD.gn
[modify] https://crrev.com/d2aaab15545e3541ba9da913eb3571fcdedbb79d/net/android/BUILD.gn

Project Member

Comment 14 by bugdroid1@chromium.org, Jun 16 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/73b999796880cfd012da6f3d5cc1ac598336f27a

commit 73b999796880cfd012da6f3d5cc1ac598336f27a
Author: Scott Graham <scottmg@chromium.org>
Date: Fri Jun 16 01:04:20 2017

Revert "Separate server part from "net_java_test_support""

This reverts commit d2aaab15545e3541ba9da913eb3571fcdedbb79d.

Reason for revert: Suspected of causing net_unittests failures starting here https://build.chromium.org/p/chromium.linux/buildstatus?builder=Android%20Tests%20%28dbg%29&number=43305

(Sorry if it's the wrong CL, the tree is a mess just trying to green things up)

Original change's description:
> Separate server part from "net_java_test_support"
> 
> The Java side code (DummySpnegoAuthenticator.java and EmbeddedTestServerImpl.java)
> are included in the chrome_sync_shell_test_apk while the native side are not.
> 
> This change divides net_java_test_support into two separate targets, and only uses
> net_java_test_support_provider in the webview test and net_test_support_apk. 
> 
> Bug:  683256 
> Change-Id: I480307c0b286d3e4cba7eb4fe8116d61668f85aa
> Reviewed-on: https://chromium-review.googlesource.com/535833
> Commit-Queue: Yipeng Wang <yipengw@chromium.org>
> Reviewed-by: Misha Efimov <mef@chromium.org>
> Reviewed-by: Richard Coles <torne@chromium.org>
> Reviewed-by: Andrew Grieve <agrieve@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#479841}

TBR=mef@chromium.org,torne@chromium.org,agrieve@chromium.org,yipengw@chromium.org

Change-Id: Id2865d0177dd36a995eef0e5a474ee59f5ff645c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug:  683256 
Reviewed-on: https://chromium-review.googlesource.com/538140
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#479886}
[modify] https://crrev.com/73b999796880cfd012da6f3d5cc1ac598336f27a/android_webview/test/embedded_test_server/BUILD.gn
[modify] https://crrev.com/73b999796880cfd012da6f3d5cc1ac598336f27a/net/android/BUILD.gn

Comment 15 by mef@chromium.org, Jun 23 2017

Cc: pauljensen@chromium.org mef@chromium.org
Project Member

Comment 16 by bugdroid1@chromium.org, Jun 27 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/be11db405efa4b6ce9117877a34abf3bfea911ff

commit be11db405efa4b6ce9117877a34abf3bfea911ff
Author: Yipeng Wang <yipengw@chromium.org>
Date: Tue Jun 27 13:57:02 2017

Android JNI: Generate calls to RegisterNatives()

Generate registration functions with unique names(package+class). Create a new template to
generate a header file which calls all registration functions together.

This CL also switches the test targets from using explicit JNI registration (via RegisterNatives()),
to using implicit JNI registration (just export the symbols and let dalvik look them up lazily).

This switch simplifies things a great deal, as the only reason for using explicit registration is
to work around a deficiency in the crazy linker, which most test targets don't use.

Design doc: https://docs.google.com/document/d/1pYnceZMuxhpU9u3OAzWLYInV_nqtHKsBFROp927FDXM/edit?usp=sharing

Bug:  683256 
Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester
Change-Id: I31cbfe393c9088233f65f1249285d48ac5571f45
Reviewed-on: https://chromium-review.googlesource.com/527683
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Misha Efimov <mef@chromium.org>
Reviewed-by: Luke Halliwell <halliwell@chromium.org>
Reviewed-by: Paweł Hajdan Jr. <phajdan.jr@chromium.org>
Reviewed-by: Joe Downing <joedow@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>
Reviewed-by: Richard Coles <torne@chromium.org>
Commit-Queue: Yipeng Wang <yipengw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#482615}
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/android_webview/test/embedded_test_server/BUILD.gn
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/base/android/jni_generator/SampleForTests_jni.golden
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/base/android/jni_generator/jni_generator.py
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/base/android/jni_generator/jni_generator_helper.h
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/base/android/jni_generator/jni_generator_tests.py
[add] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/base/android/jni_generator/jni_registration_generator.py
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/base/android/jni_generator/testInnerClassNatives.golden
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/base/android/jni_generator/testInnerClassNativesBothInnerAndOuter.golden
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/base/android/jni_generator/testInnerClassNativesMultiple.golden
[delete] https://crrev.com/85a03d810c005596c8b24472514cf31d210d4fd4/base/android/jni_generator/testMainDexFile.golden
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/base/android/jni_generator/testMultipleJNIAdditionalImport.golden
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/base/android/jni_generator/testNatives.golden
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/base/android/jni_generator/testNativesLong.golden
[delete] https://crrev.com/85a03d810c005596c8b24472514cf31d210d4fd4/base/android/jni_generator/testNonMainDexFile.golden
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/base/android/jni_generator/testSingleJNIAdditionalImport.golden
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/build/android/gradle/generate_gradle.py
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/build/android/gyp/write_build_config.py
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/build/config/android/rules.gni
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/chrome/android/BUILD.gn
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/chrome/android/java_sources.gni
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/chrome/browser/android/DEPS
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/chrome/browser/android/chrome_entry_point.cc
[add] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/chrome/browser/android/chrome_sync_shell_entry_point.cc
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/chrome/browser/media/android/remote/remote_media_player_bridge.cc
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/chrome/browser/media/android/router/media_router_android_bridge.cc
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/chromecast/BUILD.gn
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/chromecast/android/BUILD.gn
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/chromecast/app/android/cast_jni_loader.cc
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/components/cronet/android/BUILD.gn
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/components/cronet/android/cronet_library_loader.cc
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/content/shell/android/BUILD.gn
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/content/shell/android/linker_test_apk/chromium_linker_test_android.cc
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/content/shell/android/shell_library_loader.cc
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/mojo/android/BUILD.gn
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/net/android/BUILD.gn
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/remoting/android/BUILD.gn
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/remoting/client/jni/BUILD.gn
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/remoting/client/jni/remoting_jni_onload.cc
[modify] https://crrev.com/be11db405efa4b6ce9117877a34abf3bfea911ff/testing/test.gni

Project Member

Comment 17 by bugdroid1@chromium.org, Jun 27 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe

commit 09f1b8ec88d4a63d64948213b4dc0b6179f18bbe
Author: Yipeng Wang <yipengw@chromium.org>
Date: Tue Jun 27 17:12:37 2017

Revert "Android JNI: Generate calls to RegisterNatives()"

This reverts commit be11db405efa4b6ce9117877a34abf3bfea911ff.

Reason for revert: breaks VR bot: https://build.chromium.org/p/chromium.fyi/builders/Android%20VR%20Tests/builds/8763

Original change's description:
> Android JNI: Generate calls to RegisterNatives()
> 
> Generate registration functions with unique names(package+class). Create a new template to
> generate a header file which calls all registration functions together.
> 
> This CL also switches the test targets from using explicit JNI registration (via RegisterNatives()),
> to using implicit JNI registration (just export the symbols and let dalvik look them up lazily).
> 
> This switch simplifies things a great deal, as the only reason for using explicit registration is
> to work around a deficiency in the crazy linker, which most test targets don't use.
> 
> Design doc: https://docs.google.com/document/d/1pYnceZMuxhpU9u3OAzWLYInV_nqtHKsBFROp927FDXM/edit?usp=sharing
> 
> Bug:  683256 
> Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester
> Change-Id: I31cbfe393c9088233f65f1249285d48ac5571f45
> Reviewed-on: https://chromium-review.googlesource.com/527683
> Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
> Reviewed-by: Misha Efimov <mef@chromium.org>
> Reviewed-by: Luke Halliwell <halliwell@chromium.org>
> Reviewed-by: Paweł Hajdan Jr. <phajdan.jr@chromium.org>
> Reviewed-by: Joe Downing <joedow@chromium.org>
> Reviewed-by: Andrew Grieve <agrieve@chromium.org>
> Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
> Reviewed-by: Scott Violet <sky@chromium.org>
> Reviewed-by: John Budorick <jbudorick@chromium.org>
> Reviewed-by: Richard Coles <torne@chromium.org>
> Commit-Queue: Yipeng Wang <yipengw@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#482615}

TBR=sky@chromium.org,yfriedman@chromium.org,phajdan.jr@chromium.org,mef@chromium.org,torne@chromium.org,sergeyu@chromium.org,agrieve@chromium.org,halliwell@chromium.org,joedow@chromium.org,estevenson@chromium.org,jbudorick@chromium.org,yipengw@chromium.org

Change-Id: Ibbb98c136baaf016a9b26b3e614ca96e8a408c41
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug:  683256 
Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester
Reviewed-on: https://chromium-review.googlesource.com/550576
Commit-Queue: Eric Stevenson <estevenson@chromium.org>
Reviewed-by: Eric Stevenson <estevenson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#482656}
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/android_webview/test/embedded_test_server/BUILD.gn
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/base/android/jni_generator/SampleForTests_jni.golden
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/base/android/jni_generator/jni_generator.py
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/base/android/jni_generator/jni_generator_helper.h
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/base/android/jni_generator/jni_generator_tests.py
[delete] https://crrev.com/89e6053861b239ce034188aca7959ff519fbc44f/base/android/jni_generator/jni_registration_generator.py
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/base/android/jni_generator/testInnerClassNatives.golden
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/base/android/jni_generator/testInnerClassNativesBothInnerAndOuter.golden
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/base/android/jni_generator/testInnerClassNativesMultiple.golden
[add] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/base/android/jni_generator/testMainDexFile.golden
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/base/android/jni_generator/testMultipleJNIAdditionalImport.golden
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/base/android/jni_generator/testNatives.golden
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/base/android/jni_generator/testNativesLong.golden
[add] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/base/android/jni_generator/testNonMainDexFile.golden
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/base/android/jni_generator/testSingleJNIAdditionalImport.golden
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/build/android/gradle/generate_gradle.py
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/build/android/gyp/write_build_config.py
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/build/config/android/rules.gni
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/chrome/android/BUILD.gn
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/chrome/android/java_sources.gni
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/chrome/browser/android/DEPS
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/chrome/browser/android/chrome_entry_point.cc
[delete] https://crrev.com/89e6053861b239ce034188aca7959ff519fbc44f/chrome/browser/android/chrome_sync_shell_entry_point.cc
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/chrome/browser/media/android/remote/remote_media_player_bridge.cc
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/chrome/browser/media/android/router/media_router_android_bridge.cc
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/chromecast/BUILD.gn
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/chromecast/android/BUILD.gn
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/chromecast/app/android/cast_jni_loader.cc
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/components/cronet/android/BUILD.gn
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/components/cronet/android/cronet_library_loader.cc
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/content/shell/android/BUILD.gn
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/content/shell/android/linker_test_apk/chromium_linker_test_android.cc
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/content/shell/android/shell_library_loader.cc
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/mojo/android/BUILD.gn
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/net/android/BUILD.gn
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/remoting/android/BUILD.gn
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/remoting/client/jni/BUILD.gn
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/remoting/client/jni/remoting_jni_onload.cc
[modify] https://crrev.com/09f1b8ec88d4a63d64948213b4dc0b6179f18bbe/testing/test.gni

Project Member

Comment 18 by bugdroid1@chromium.org, Jun 28 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5510546e55d45b802b20c9b67a7f2de010602e47

commit 5510546e55d45b802b20c9b67a7f2de010602e47
Author: Yipeng Wang <yipengw@chromium.org>
Date: Wed Jun 28 21:42:10 2017

Reland: [Android JNI] Generate calls to RegisterNatives()

Reverted in: Ibbb98c136baaf016a9b26b3e614ca96e8a408c41

Reason for reland: Selective JNI registration is fixed by:
If97814bc5d79cfaa0211e46f785dbab329429d22

There is no change on this CL since reverted.

TBR=sky@chromium.org,yfriedman@chromium.org,phajdan.jr@chromium.org,mef@chromium.org,torne@chromium.org,sergeyu@chromium.org,agrieve@chromium.org,halliwell@chromium.org,joedow@chromium.org,estevenson@chromium.org,jbudorick@chromium.org,yipengw@chromium.org

Bug:  683256 
Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester
Change-Id: Ibdb983b4ba07cf7e2b23a4c1706213175acfa7bf
Reviewed-on: https://chromium-review.googlesource.com/553157
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Yipeng Wang <yipengw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#483150}
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/android_webview/test/embedded_test_server/BUILD.gn
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/base/android/jni_generator/SampleForTests_jni.golden
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/base/android/jni_generator/jni_generator.py
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/base/android/jni_generator/jni_generator_helper.h
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/base/android/jni_generator/jni_generator_tests.py
[add] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/base/android/jni_generator/jni_registration_generator.py
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/base/android/jni_generator/testInnerClassNatives.golden
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/base/android/jni_generator/testInnerClassNativesBothInnerAndOuter.golden
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/base/android/jni_generator/testInnerClassNativesMultiple.golden
[delete] https://crrev.com/6489fe94c6edc435f5f0b291032c0e8883212afd/base/android/jni_generator/testMainDexFile.golden
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/base/android/jni_generator/testMultipleJNIAdditionalImport.golden
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/base/android/jni_generator/testNatives.golden
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/base/android/jni_generator/testNativesLong.golden
[delete] https://crrev.com/6489fe94c6edc435f5f0b291032c0e8883212afd/base/android/jni_generator/testNonMainDexFile.golden
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/base/android/jni_generator/testSingleJNIAdditionalImport.golden
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/build/android/gradle/generate_gradle.py
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/build/android/gyp/write_build_config.py
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/build/config/android/rules.gni
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/chrome/android/BUILD.gn
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/chrome/android/java_sources.gni
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/chrome/browser/android/DEPS
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/chrome/browser/android/chrome_entry_point.cc
[add] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/chrome/browser/android/chrome_sync_shell_entry_point.cc
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/chrome/browser/media/android/remote/remote_media_player_bridge.cc
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/chrome/browser/media/android/router/media_router_android_bridge.cc
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/chromecast/BUILD.gn
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/chromecast/android/BUILD.gn
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/chromecast/app/android/cast_jni_loader.cc
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/components/cronet/android/BUILD.gn
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/components/cronet/android/cronet_library_loader.cc
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/content/shell/android/BUILD.gn
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/content/shell/android/linker_test_apk/chromium_linker_test_android.cc
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/content/shell/android/shell_library_loader.cc
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/mojo/android/BUILD.gn
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/net/android/BUILD.gn
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/remoting/android/BUILD.gn
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/remoting/client/jni/BUILD.gn
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/remoting/client/jni/remoting_jni_onload.cc
[modify] https://crrev.com/5510546e55d45b802b20c9b67a7f2de010602e47/testing/test.gni

Project Member

Comment 19 by bugdroid1@chromium.org, Jun 28 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/cbc07924907af3ac0157f3208c1ce1463e8bf888

commit cbc07924907af3ac0157f3208c1ce1463e8bf888
Author: pauljensen <pauljensen@chromium.org>
Date: Wed Jun 28 23:45:19 2017

[Cronet] Include embedded test server AIDL in cronet_tests_java.jar

This was moved out of cronet_tests_java in r479841 causing testing
using cronet_tests_java.jar to fail.

BUG= 683256 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester

Review-Url: https://codereview.chromium.org/2956293002
Cr-Commit-Position: refs/heads/master@{#483202}

[modify] https://crrev.com/cbc07924907af3ac0157f3208c1ce1463e8bf888/components/cronet/android/BUILD.gn

Project Member

Comment 20 by bugdroid1@chromium.org, Jun 29 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4a0bb5d2a1c1169821bffadd4b89f171285e3b95

commit 4a0bb5d2a1c1169821bffadd4b89f171285e3b95
Author: Andrew Grieve <agrieve@chromium.org>
Date: Thu Jun 29 15:34:23 2017

Revert "Reland: [Android JNI] Generate calls to RegisterNatives()"

This reverts commit 5510546e55d45b802b20c9b67a7f2de010602e47.

Reason for revert: Breaks compile for non-arm official builds

Original change's description:
> Reland: [Android JNI] Generate calls to RegisterNatives()
> 
> Reverted in: Ibbb98c136baaf016a9b26b3e614ca96e8a408c41
> 
> Reason for reland: Selective JNI registration is fixed by:
> If97814bc5d79cfaa0211e46f785dbab329429d22
> 
> There is no change on this CL since reverted.
> 
> TBR=sky@chromium.org,yfriedman@chromium.org,phajdan.jr@chromium.org,mef@chromium.org,torne@chromium.org,sergeyu@chromium.org,agrieve@chromium.org,halliwell@chromium.org,joedow@chromium.org,estevenson@chromium.org,jbudorick@chromium.org,yipengw@chromium.org
> 
> Bug:  683256 
> Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester
> Change-Id: Ibdb983b4ba07cf7e2b23a4c1706213175acfa7bf
> Reviewed-on: https://chromium-review.googlesource.com/553157
> Reviewed-by: Andrew Grieve <agrieve@chromium.org>
> Commit-Queue: Yipeng Wang <yipengw@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#483150}

TBR=agrieve@chromium.org,yipengw@chromium.org

Change-Id: Ibb4a5203f3811cf26fa13d8684a849278b4c316f
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug:  683256 
Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester
Reviewed-on: https://chromium-review.googlesource.com/555711
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#483370}
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/android_webview/test/embedded_test_server/BUILD.gn
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/base/android/jni_generator/SampleForTests_jni.golden
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/base/android/jni_generator/jni_generator.py
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/base/android/jni_generator/jni_generator_helper.h
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/base/android/jni_generator/jni_generator_tests.py
[delete] https://crrev.com/b795d8f53c5dd9940e6cb057cab69ec6bfe8d274/base/android/jni_generator/jni_registration_generator.py
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/base/android/jni_generator/testInnerClassNatives.golden
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/base/android/jni_generator/testInnerClassNativesBothInnerAndOuter.golden
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/base/android/jni_generator/testInnerClassNativesMultiple.golden
[add] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/base/android/jni_generator/testMainDexFile.golden
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/base/android/jni_generator/testMultipleJNIAdditionalImport.golden
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/base/android/jni_generator/testNatives.golden
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/base/android/jni_generator/testNativesLong.golden
[add] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/base/android/jni_generator/testNonMainDexFile.golden
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/base/android/jni_generator/testSingleJNIAdditionalImport.golden
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/build/android/gradle/generate_gradle.py
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/build/android/gyp/write_build_config.py
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/build/config/android/rules.gni
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/chrome/android/BUILD.gn
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/chrome/android/java_sources.gni
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/chrome/browser/android/DEPS
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/chrome/browser/android/chrome_entry_point.cc
[delete] https://crrev.com/b795d8f53c5dd9940e6cb057cab69ec6bfe8d274/chrome/browser/android/chrome_sync_shell_entry_point.cc
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/chrome/browser/media/android/remote/remote_media_player_bridge.cc
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/chrome/browser/media/android/router/media_router_android_bridge.cc
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/chromecast/BUILD.gn
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/chromecast/android/BUILD.gn
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/chromecast/app/android/cast_jni_loader.cc
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/components/cronet/android/BUILD.gn
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/components/cronet/android/cronet_library_loader.cc
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/content/shell/android/BUILD.gn
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/content/shell/android/linker_test_apk/chromium_linker_test_android.cc
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/content/shell/android/shell_library_loader.cc
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/mojo/android/BUILD.gn
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/net/android/BUILD.gn
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/remoting/android/BUILD.gn
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/remoting/client/jni/BUILD.gn
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/remoting/client/jni/remoting_jni_onload.cc
[modify] https://crrev.com/4a0bb5d2a1c1169821bffadd4b89f171285e3b95/testing/test.gni

Blockedon: 738067
Project Member

Comment 22 by bugdroid1@chromium.org, Jun 30 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/00dcdcaefbacf82529f73820318f6ae65c17e253

commit 00dcdcaefbacf82529f73820318f6ae65c17e253
Author: Yipeng Wang <yipengw@chromium.org>
Date: Fri Jun 30 14:10:39 2017

Reland #2: [Android JNI] Generate calls to RegisterNatives()

Reverted in: Ibb4a5203f3811cf26fa13d8684a849278b4c316f

Reason for reland: Excluded VR native side from JNI registration
when not on arm/arm64.

Bug:  683256 ,  738067 
Change-Id: I1c6ed0b91d6628819f6f1a9750c7a98ed74bace8

TBR=sky@chromium.org,yfriedman@chromium.org,phajdan.jr@chromium.org,mef@chromium.org,torne@chromium.org,sergeyu@chromium.org,agrieve@chromium.org,halliwell@chromium.org,joedow@chromium.org,estevenson@chromium.org,jbudorick@chromium.org,yipengw@chromium.org

Change-Id: I1c6ed0b91d6628819f6f1a9750c7a98ed74bace8
Reviewed-on: https://chromium-review.googlesource.com/557099
Commit-Queue: Yipeng Wang <yipengw@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#483692}
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/android_webview/test/embedded_test_server/BUILD.gn
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/base/android/jni_generator/SampleForTests_jni.golden
[add] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/base/android/jni_generator/jni_exception_list.gni
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/base/android/jni_generator/jni_generator.py
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/base/android/jni_generator/jni_generator_helper.h
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/base/android/jni_generator/jni_generator_tests.py
[add] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/base/android/jni_generator/jni_registration_generator.py
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/base/android/jni_generator/testInnerClassNatives.golden
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/base/android/jni_generator/testInnerClassNativesBothInnerAndOuter.golden
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/base/android/jni_generator/testInnerClassNativesMultiple.golden
[delete] https://crrev.com/a3530331759f8edfb4ee8e595fa9f11bb5cb5670/base/android/jni_generator/testMainDexFile.golden
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/base/android/jni_generator/testMultipleJNIAdditionalImport.golden
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/base/android/jni_generator/testNatives.golden
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/base/android/jni_generator/testNativesLong.golden
[delete] https://crrev.com/a3530331759f8edfb4ee8e595fa9f11bb5cb5670/base/android/jni_generator/testNonMainDexFile.golden
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/base/android/jni_generator/testSingleJNIAdditionalImport.golden
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/build/android/gradle/generate_gradle.py
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/build/android/gyp/write_build_config.py
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/build/config/android/rules.gni
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/chrome/android/BUILD.gn
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/chrome/android/java_sources.gni
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/chrome/browser/android/DEPS
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/chrome/browser/android/chrome_entry_point.cc
[add] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/chrome/browser/android/chrome_sync_shell_entry_point.cc
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/chrome/browser/media/android/remote/remote_media_player_bridge.cc
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/chrome/browser/media/android/router/media_router_android_bridge.cc
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/chromecast/BUILD.gn
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/chromecast/android/BUILD.gn
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/chromecast/app/android/cast_jni_loader.cc
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/components/cronet/android/BUILD.gn
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/components/cronet/android/cronet_library_loader.cc
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/content/shell/android/BUILD.gn
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/content/shell/android/linker_test_apk/chromium_linker_test_android.cc
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/content/shell/android/shell_library_loader.cc
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/mojo/android/BUILD.gn
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/net/android/BUILD.gn
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/remoting/android/BUILD.gn
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/remoting/client/jni/BUILD.gn
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/remoting/client/jni/remoting_jni_onload.cc
[modify] https://crrev.com/00dcdcaefbacf82529f73820318f6ae65c17e253/testing/test.gni

Project Member

Comment 23 by bugdroid1@chromium.org, Jun 30 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1a3119620c4582a27c8d2dade010206ee4fd388a

commit 1a3119620c4582a27c8d2dade010206ee4fd388a
Author: Yipeng Wang <yipengw@chromium.org>
Date: Fri Jun 30 15:27:54 2017

Revert "Reland #2: [Android JNI] Generate calls to RegisterNatives()"

This reverts commit 00dcdcaefbacf82529f73820318f6ae65c17e253.

Reason for revert: break downstream x64 compile.

Original change's description:
> Reland #2: [Android JNI] Generate calls to RegisterNatives()
> 
> Reverted in: Ibb4a5203f3811cf26fa13d8684a849278b4c316f
> 
> Reason for reland: Excluded VR native side from JNI registration
> when not on arm/arm64.
> 
> Bug:  683256 ,  738067 
> Change-Id: I1c6ed0b91d6628819f6f1a9750c7a98ed74bace8
> 
> TBR=sky@chromium.org,yfriedman@chromium.org,phajdan.jr@chromium.org,mef@chromium.org,torne@chromium.org,sergeyu@chromium.org,agrieve@chromium.org,halliwell@chromium.org,joedow@chromium.org,estevenson@chromium.org,jbudorick@chromium.org,yipengw@chromium.org
> 
> Change-Id: I1c6ed0b91d6628819f6f1a9750c7a98ed74bace8
> Reviewed-on: https://chromium-review.googlesource.com/557099
> Commit-Queue: Yipeng Wang <yipengw@chromium.org>
> Reviewed-by: Andrew Grieve <agrieve@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#483692}

TBR=agrieve@chromium.org,estevenson@chromium.org,yipengw@chromium.org

Change-Id: I31b4c809584f8dbb8e5626a28562d94a422611e7
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug:  683256 ,  738067 
Reviewed-on: https://chromium-review.googlesource.com/558101
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#483709}
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/android_webview/test/embedded_test_server/BUILD.gn
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/base/android/jni_generator/SampleForTests_jni.golden
[delete] https://crrev.com/1df1eeea57cc15ef9513972c2d90cb3731b34854/base/android/jni_generator/jni_exception_list.gni
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/base/android/jni_generator/jni_generator.py
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/base/android/jni_generator/jni_generator_helper.h
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/base/android/jni_generator/jni_generator_tests.py
[delete] https://crrev.com/1df1eeea57cc15ef9513972c2d90cb3731b34854/base/android/jni_generator/jni_registration_generator.py
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/base/android/jni_generator/testInnerClassNatives.golden
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/base/android/jni_generator/testInnerClassNativesBothInnerAndOuter.golden
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/base/android/jni_generator/testInnerClassNativesMultiple.golden
[add] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/base/android/jni_generator/testMainDexFile.golden
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/base/android/jni_generator/testMultipleJNIAdditionalImport.golden
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/base/android/jni_generator/testNatives.golden
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/base/android/jni_generator/testNativesLong.golden
[add] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/base/android/jni_generator/testNonMainDexFile.golden
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/base/android/jni_generator/testSingleJNIAdditionalImport.golden
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/build/android/gradle/generate_gradle.py
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/build/android/gyp/write_build_config.py
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/build/config/android/rules.gni
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/chrome/android/BUILD.gn
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/chrome/android/java_sources.gni
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/chrome/browser/android/DEPS
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/chrome/browser/android/chrome_entry_point.cc
[delete] https://crrev.com/1df1eeea57cc15ef9513972c2d90cb3731b34854/chrome/browser/android/chrome_sync_shell_entry_point.cc
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/chrome/browser/media/android/remote/remote_media_player_bridge.cc
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/chrome/browser/media/android/router/media_router_android_bridge.cc
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/chromecast/BUILD.gn
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/chromecast/android/BUILD.gn
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/chromecast/app/android/cast_jni_loader.cc
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/components/cronet/android/BUILD.gn
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/components/cronet/android/cronet_library_loader.cc
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/content/shell/android/BUILD.gn
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/content/shell/android/linker_test_apk/chromium_linker_test_android.cc
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/content/shell/android/shell_library_loader.cc
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/mojo/android/BUILD.gn
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/net/android/BUILD.gn
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/remoting/android/BUILD.gn
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/remoting/client/jni/BUILD.gn
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/remoting/client/jni/remoting_jni_onload.cc
[modify] https://crrev.com/1a3119620c4582a27c8d2dade010206ee4fd388a/testing/test.gni

Project Member

Comment 24 by bugdroid1@chromium.org, Jun 30 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac

commit 158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac
Author: Yipeng Wang <yipengw@chromium.org>
Date: Fri Jun 30 18:16:41 2017

Reland #3: [Android JNI] Generate calls to RegisterNatives()

Reverted in: I31b4c809584f8dbb8e5626a28562d94a422611e7

Reason for reland: CL 556581 has fixed the bug.

TBR=sky@chromium.org,yfriedman@chromium.org,phajdan.jr@chromium.org,mef@chromium.org,torne@chromium.org,sergeyu@chromium.org,agrieve@chromium.org,halliwell@chromium.org,joedow@chromium.org,estevenson@chromium.org,jbudorick@chromium.org,yipengw@chromium.org

Bug:  683256 ,  738067 
Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester
Change-Id: Ie1afd9b6e606ebecfdf5ffbd0897fabbdfd3e157
Reviewed-on: https://chromium-review.googlesource.com/558004
Commit-Queue: Yipeng Wang <yipengw@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#483760}
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/android_webview/test/embedded_test_server/BUILD.gn
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/base/android/jni_generator/SampleForTests_jni.golden
[add] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/base/android/jni_generator/jni_exception_list.gni
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/base/android/jni_generator/jni_generator.py
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/base/android/jni_generator/jni_generator_helper.h
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/base/android/jni_generator/jni_generator_tests.py
[add] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/base/android/jni_generator/jni_registration_generator.py
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/base/android/jni_generator/testInnerClassNatives.golden
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/base/android/jni_generator/testInnerClassNativesBothInnerAndOuter.golden
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/base/android/jni_generator/testInnerClassNativesMultiple.golden
[delete] https://crrev.com/79eb7ebaabeb87fd76da56f35de0ab5776806a15/base/android/jni_generator/testMainDexFile.golden
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/base/android/jni_generator/testMultipleJNIAdditionalImport.golden
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/base/android/jni_generator/testNatives.golden
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/base/android/jni_generator/testNativesLong.golden
[delete] https://crrev.com/79eb7ebaabeb87fd76da56f35de0ab5776806a15/base/android/jni_generator/testNonMainDexFile.golden
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/base/android/jni_generator/testSingleJNIAdditionalImport.golden
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/build/android/gradle/generate_gradle.py
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/build/android/gyp/write_build_config.py
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/build/config/android/rules.gni
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/chrome/BUILD.gn
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/chrome/android/BUILD.gn
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/chrome/android/java_sources.gni
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/chrome/browser/android/DEPS
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/chrome/browser/android/chrome_entry_point.cc
[add] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/chrome/browser/android/chrome_sync_shell_entry_point.cc
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/chrome/browser/media/android/remote/remote_media_player_bridge.cc
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/chrome/browser/media/android/router/media_router_android_bridge.cc
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/chromecast/BUILD.gn
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/chromecast/android/BUILD.gn
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/chromecast/app/android/cast_jni_loader.cc
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/components/cronet/android/BUILD.gn
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/components/cronet/android/cronet_library_loader.cc
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/content/shell/android/BUILD.gn
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/content/shell/android/linker_test_apk/chromium_linker_test_android.cc
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/content/shell/android/shell_library_loader.cc
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/mojo/android/BUILD.gn
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/net/android/BUILD.gn
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/remoting/android/BUILD.gn
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/remoting/client/jni/BUILD.gn
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/remoting/client/jni/remoting_jni_onload.cc
[modify] https://crrev.com/158dbc5cc2f86f152f4e587bd27f57f9b8d5d3ac/testing/test.gni

Project Member

Comment 25 by bugdroid1@chromium.org, Jul 6 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5b20daae4209bc1f27f6d85cd042d3fd1c3efec6

commit 5b20daae4209bc1f27f6d85cd042d3fd1c3efec6
Author: agrieve <agrieve@chromium.org>
Date: Thu Jul 06 00:23:11 2017

android: Fix input list for jni_registration_generator.py

Not including the full input list is causing the target to not re-run
when it should.

BUG= 683256 

Review-Url: https://codereview.chromium.org/2966293002
Cr-Commit-Position: refs/heads/master@{#484408}

[modify] https://crrev.com/5b20daae4209bc1f27f6d85cd042d3fd1c3efec6/base/android/jni_generator/jni_registration_generator.py

Project Member

Comment 26 by bugdroid1@chromium.org, Jul 6 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2573af0cb05d9f2bcacebf3b147d1659d23114c0

commit 2573af0cb05d9f2bcacebf3b147d1659d23114c0
Author: Yipeng Wang <yipengw@chromium.org>
Date: Thu Jul 06 18:40:00 2017

Delete JNI registration calls in components directory

This is a follow-up of CL:558004. Since the automated JNI registration
works well and the previous registration functions are no-ops, we try
to delete the calls of these functions from the code base.

TBR=caitkp

Bug:  683256 
Change-Id: Iaf3092bb6e984834a0940a909ac3e5642db616fc
Reviewed-on: https://chromium-review.googlesource.com/558809
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
Reviewed-by: Tao Bai <michaelbai@chromium.org>
Cr-Commit-Position: refs/heads/master@{#484691}
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/android_webview/lib/webview_entry_point.cc
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/android_webview/lib/webview_jni_onload.cc
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/android_webview/lib/webview_jni_onload.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/base/android/jni_generator/SampleForTests_jni.golden
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/base/android/jni_generator/jni_generator.py
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/base/android/jni_generator/testInnerClassNatives.golden
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/base/android/jni_generator/testInnerClassNativesBothInnerAndOuter.golden
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/base/android/jni_generator/testInnerClassNativesMultiple.golden
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/base/android/jni_generator/testMultipleJNIAdditionalImport.golden
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/base/android/jni_generator/testNatives.golden
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/base/android/jni_generator/testNativesLong.golden
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/base/android/jni_generator/testSingleJNIAdditionalImport.golden
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/chrome/browser/BUILD.gn
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/chrome/browser/android/appmenu/app_menu_drag_helper.cc
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/chrome/browser/android/appmenu/app_menu_drag_helper.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/chrome/browser/android/chrome_jni_registrar.cc
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/chrome/browser/android/download/items/offline_content_aggregator_factory_android.cc
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/chrome/browser/android/download/items/offline_content_aggregator_factory_android.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/chrome/browser/android/monochrome_entry_point.cc
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/dom_distiller/core/BUILD.gn
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/dom_distiller/core/android/core_jni_registrar.cc
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/dom_distiller/core/android/core_jni_registrar.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/dom_distiller/core/distilled_page_prefs_android.cc
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/dom_distiller/core/distilled_page_prefs_android.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/dom_distiller/core/dom_distiller_service_android.cc
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/dom_distiller/core/dom_distiller_service_android.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/dom_distiller/core/url_utils_android.cc
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/dom_distiller/core/url_utils_android.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/gcm_driver/BUILD.gn
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/gcm_driver/android/component_jni_registrar.cc
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/gcm_driver/android/component_jni_registrar.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/gcm_driver/gcm_driver_android.cc
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/gcm_driver/gcm_driver_android.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/gcm_driver/instance_id/BUILD.gn
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/gcm_driver/instance_id/android/component_jni_registrar.cc
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/gcm_driver/instance_id/android/component_jni_registrar.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/gcm_driver/instance_id/instance_id_android.cc
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/gcm_driver/instance_id/instance_id_android.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/invalidation/impl/BUILD.gn
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/invalidation/impl/android/component_jni_registrar.cc
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/invalidation/impl/android/component_jni_registrar.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/invalidation/impl/invalidation_service_android.cc
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/invalidation/impl/invalidation_service_android.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/offline_items_collection/core/android/offline_content_aggregator_bridge.cc
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/offline_items_collection/core/android/offline_content_aggregator_bridge.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/payments/content/android/BUILD.gn
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/payments/content/android/component_jni_registrar.cc
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/payments/content/android/component_jni_registrar.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/payments/content/android/currency_formatter_android.cc
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/payments/content/android/currency_formatter_android.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/payments/content/android/origin_security_checker_android.cc
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/payments/content/android/origin_security_checker_android.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/payments/content/android/payment_details_validation_android.cc
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/payments/content/android/payment_details_validation_android.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/payments/content/android/payment_manifest_downloader_android.cc
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/payments/content/android/payment_manifest_downloader_android.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/payments/content/android/payment_manifest_parser_android.cc
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/payments/content/android/payment_manifest_parser_android.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/policy/core/browser/BUILD.gn
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/policy/core/browser/android/android_combined_policy_provider.cc
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/policy/core/browser/android/android_combined_policy_provider.h
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/policy/core/browser/android/component_jni_registrar.cc
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/policy/core/browser/android/component_jni_registrar.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/policy/core/browser/android/policy_converter.cc
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/policy/core/browser/android/policy_converter.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/safe_json/BUILD.gn
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/safe_json/android/component_jni_registrar.cc
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/safe_json/android/component_jni_registrar.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/safe_json/json_sanitizer.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/safe_json/json_sanitizer_android.cc
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/signin/core/browser/BUILD.gn
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/signin/core/browser/android/component_jni_registrar.cc
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/signin/core/browser/android/component_jni_registrar.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/signin/core/browser/child_account_info_fetcher_android.cc
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/signin/core/browser/child_account_info_fetcher_android.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/test/components_test_suite.cc
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/url_formatter/BUILD.gn
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/url_formatter/android/component_jni_registrar.cc
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/url_formatter/android/component_jni_registrar.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/url_formatter/url_formatter_android.cc
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/url_formatter/url_formatter_android.h
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/web_contents_delegate_android/BUILD.gn
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/web_contents_delegate_android/color_chooser_android.cc
[modify] https://crrev.com/2573af0cb05d9f2bcacebf3b147d1659d23114c0/components/web_contents_delegate_android/color_chooser_android.h
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/web_contents_delegate_android/component_jni_registrar.cc
[delete] https://crrev.com/d667f2b75eec8cf6f33e9252f4f6e5030cd515a7/components/web_contents_delegate_android/component_jni_registrar.h

Project Member

Comment 27 by bugdroid1@chromium.org, Jul 7 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5c6ff259aa83531bd04baef812e6c3c0c501d6ac

commit 5c6ff259aa83531bd04baef812e6c3c0c501d6ac
Author: agrieve <agrieve@chromium.org>
Date: Fri Jul 07 02:05:56 2017

Android: Enable depfile for generate_jni_registration() template

This is what I tried to fix in 5b20daae4209bc1f27f6d85cd042d3fd1c3efec6.

BUG= 683256 , 442418 

Review-Url: https://codereview.chromium.org/2966163006
Cr-Commit-Position: refs/heads/master@{#484792}

[modify] https://crrev.com/5c6ff259aa83531bd04baef812e6c3c0c501d6ac/build/config/android/rules.gni

Project Member

Comment 28 by bugdroid1@chromium.org, Jul 12 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7f58a96046a365c832f300943a0f8e9ff1501228

commit 7f58a96046a365c832f300943a0f8e9ff1501228
Author: Yipeng Wang <yipengw@chromium.org>
Date: Wed Jul 12 19:43:06 2017

Move VR registrations to chrome_jni_onload.cc

The new JNI registration scheme automatically registers most native side
functions. However, some VR functions still require manual registrations.

This CL moves these VR function registrations to chrome_jni_onload.cc
since we plan to delete chrome_jni_registrar.cc afterwards. Also, it
deletes some VR registrations which are already handled by the new scheme.

Bug:  683256 
Change-Id: Ifd60ddb0925e96f2eaf2b3c187824f49c33eda4b
Reviewed-on: https://chromium-review.googlesource.com/568584
Reviewed-by: Biao She <bshe@chromium.org>
Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Commit-Queue: Yipeng Wang <yipengw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#486061}
[modify] https://crrev.com/7f58a96046a365c832f300943a0f8e9ff1501228/chrome/app/android/DEPS
[modify] https://crrev.com/7f58a96046a365c832f300943a0f8e9ff1501228/chrome/app/android/chrome_jni_onload.cc
[modify] https://crrev.com/7f58a96046a365c832f300943a0f8e9ff1501228/chrome/browser/android/chrome_jni_registrar.cc
[modify] https://crrev.com/7f58a96046a365c832f300943a0f8e9ff1501228/chrome/browser/android/vr_shell/vr_core_info.cc
[modify] https://crrev.com/7f58a96046a365c832f300943a0f8e9ff1501228/chrome/browser/android/vr_shell/vr_core_info.h
[modify] https://crrev.com/7f58a96046a365c832f300943a0f8e9ff1501228/chrome/browser/android/vr_shell/vr_shell.cc
[modify] https://crrev.com/7f58a96046a365c832f300943a0f8e9ff1501228/chrome/browser/android/vr_shell/vr_shell.h
[modify] https://crrev.com/7f58a96046a365c832f300943a0f8e9ff1501228/chrome/browser/android/vr_shell/vr_shell_delegate.cc
[modify] https://crrev.com/7f58a96046a365c832f300943a0f8e9ff1501228/chrome/browser/android/vr_shell/vr_shell_delegate.h
[modify] https://crrev.com/7f58a96046a365c832f300943a0f8e9ff1501228/third_party/gvr-android-sdk/native_callbacks_jni.h

Project Member

Comment 29 by bugdroid1@chromium.org, Jul 13 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1d53084e955fd1af88f2c5aebdb9e8ab167b01e1

commit 1d53084e955fd1af88f2c5aebdb9e8ab167b01e1
Author: Anthony Berent <aberent@chromium.org>
Date: Thu Jul 13 09:13:49 2017

Revert "Move VR registrations to chrome_jni_onload.cc"

This reverts commit 7f58a96046a365c832f300943a0f8e9ff1501228.

Reason for revert: Causing compile failures on multiple Clank targets. See issue 742028.

BUG=742028

Original change's description:
> Move VR registrations to chrome_jni_onload.cc
> 
> The new JNI registration scheme automatically registers most native side
> functions. However, some VR functions still require manual registrations.
> 
> This CL moves these VR function registrations to chrome_jni_onload.cc
> since we plan to delete chrome_jni_registrar.cc afterwards. Also, it
> deletes some VR registrations which are already handled by the new scheme.
> 
> Bug:  683256 
> Change-Id: Ifd60ddb0925e96f2eaf2b3c187824f49c33eda4b
> Reviewed-on: https://chromium-review.googlesource.com/568584
> Reviewed-by: Biao She <bshe@chromium.org>
> Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
> Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
> Commit-Queue: Yipeng Wang <yipengw@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#486061}

TBR=yfriedman@chromium.org,bshe@chromium.org,mthiesse@chromium.org,yipengw@chromium.org

Change-Id: I95987e7b32ee2e057d731aa9593dd7601fa4fa06
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug:  683256 
Reviewed-on: https://chromium-review.googlesource.com/569918
Reviewed-by: Anthony Berent <aberent@chromium.org>
Commit-Queue: Anthony Berent <aberent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#486324}
[modify] https://crrev.com/1d53084e955fd1af88f2c5aebdb9e8ab167b01e1/chrome/app/android/DEPS
[modify] https://crrev.com/1d53084e955fd1af88f2c5aebdb9e8ab167b01e1/chrome/app/android/chrome_jni_onload.cc
[modify] https://crrev.com/1d53084e955fd1af88f2c5aebdb9e8ab167b01e1/chrome/browser/android/chrome_jni_registrar.cc
[modify] https://crrev.com/1d53084e955fd1af88f2c5aebdb9e8ab167b01e1/chrome/browser/android/vr_shell/vr_core_info.cc
[modify] https://crrev.com/1d53084e955fd1af88f2c5aebdb9e8ab167b01e1/chrome/browser/android/vr_shell/vr_core_info.h
[modify] https://crrev.com/1d53084e955fd1af88f2c5aebdb9e8ab167b01e1/chrome/browser/android/vr_shell/vr_shell.cc
[modify] https://crrev.com/1d53084e955fd1af88f2c5aebdb9e8ab167b01e1/chrome/browser/android/vr_shell/vr_shell.h
[modify] https://crrev.com/1d53084e955fd1af88f2c5aebdb9e8ab167b01e1/chrome/browser/android/vr_shell/vr_shell_delegate.cc
[modify] https://crrev.com/1d53084e955fd1af88f2c5aebdb9e8ab167b01e1/chrome/browser/android/vr_shell/vr_shell_delegate.h
[modify] https://crrev.com/1d53084e955fd1af88f2c5aebdb9e8ab167b01e1/third_party/gvr-android-sdk/native_callbacks_jni.h

Project Member

Comment 30 by bugdroid1@chromium.org, Jul 13 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/77c6b4a96f93de796eeb56b7fe113f76bb01bda1

commit 77c6b4a96f93de796eeb56b7fe113f76bb01bda1
Author: Yipeng Wang <yipengw@chromium.org>
Date: Thu Jul 13 14:55:49 2017

Delete JNI registration code under base/android

Since JNI registration is automatic now, we start deleting manual registration code. 

This CL deletes base_jni_registrar.cc and functions it calls. Also deletes
base_jni_registrar.h and RegisterJni function everywhere.

Bug:  683256 
Change-Id: I7ce6d6222782c4a1e88278aeffb566f939e1ac9a
Reviewed-on: https://chromium-review.googlesource.com/568282
Reviewed-by: Richard Coles <torne@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Paweł Hajdan Jr. <phajdan.jr@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Commit-Queue: Yipeng Wang <yipengw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#486378}
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/android_webview/test/embedded_test_server/aw_test_jni_onload.cc
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/BUILD.gn
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/animation_frame_time_histogram.cc
[delete] https://crrev.com/97d6b9dce441eb2044950fe7f987a051b7ce0da5/base/android/animation_frame_time_histogram.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/application_status_listener.cc
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/application_status_listener.h
[delete] https://crrev.com/97d6b9dce441eb2044950fe7f987a051b7ce0da5/base/android/base_jni_registrar.cc
[delete] https://crrev.com/97d6b9dce441eb2044950fe7f987a051b7ce0da5/base/android/base_jni_registrar.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/child_process_service_impl.cc
[delete] https://crrev.com/97d6b9dce441eb2044950fe7f987a051b7ce0da5/base/android/child_process_service_impl.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/command_line_android.cc
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/command_line_android.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/cpu_features.cc
[delete] https://crrev.com/97d6b9dce441eb2044950fe7f987a051b7ce0da5/base/android/cpu_features.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/early_trace_event_binding.cc
[delete] https://crrev.com/97d6b9dce441eb2044950fe7f987a051b7ce0da5/base/android/early_trace_event_binding.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/field_trial_list.cc
[delete] https://crrev.com/97d6b9dce441eb2044950fe7f987a051b7ce0da5/base/android/field_trial_list.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/important_file_writer_android.cc
[delete] https://crrev.com/97d6b9dce441eb2044950fe7f987a051b7ce0da5/base/android/important_file_writer_android.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/java_exception_reporter.cc
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/java_exception_reporter.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/java_handler_thread.cc
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/java_handler_thread.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/library_loader/library_loader_hooks.cc
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/library_loader/library_loader_hooks.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/memory_pressure_listener_android.cc
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/memory_pressure_listener_android.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/path_service_android.cc
[delete] https://crrev.com/97d6b9dce441eb2044950fe7f987a051b7ce0da5/base/android/path_service_android.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/record_histogram.cc
[delete] https://crrev.com/97d6b9dce441eb2044950fe7f987a051b7ce0da5/base/android/record_histogram.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/record_user_action.cc
[delete] https://crrev.com/97d6b9dce441eb2044950fe7f987a051b7ce0da5/base/android/record_user_action.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/statistics_recorder_android.cc
[delete] https://crrev.com/97d6b9dce441eb2044950fe7f987a051b7ce0da5/base/android/statistics_recorder_android.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/time_utils.cc
[delete] https://crrev.com/97d6b9dce441eb2044950fe7f987a051b7ce0da5/base/android/time_utils.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/android/trace_event_binding.cc
[delete] https://crrev.com/97d6b9dce441eb2044950fe7f987a051b7ce0da5/base/android/trace_event_binding.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/message_loop/message_pump_android.cc
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/message_loop/message_pump_android.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/base/power_monitor/power_monitor_device_source_android.cc
[delete] https://crrev.com/97d6b9dce441eb2044950fe7f987a051b7ce0da5/base/power_monitor/power_monitor_device_source_android.h
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/components/cronet/android/cronet_library_loader.cc
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/components/cronet/android/test/cronet_test_jni.cc
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/components/test/android/browsertests_apk/components_browser_tests_jni_onload.cc
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/content/app/android/library_loader_hooks.cc
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/content/shell/android/browsertests_apk/content_browser_tests_jni_onload.cc
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/mojo/android/javatests/init_library.cc
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/mojo/android/system/base_run_loop.cc
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/mojo/android/system/core_impl.cc
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/mojo/android/system/watcher_impl.cc
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/net/test/android/net_test_jni_onload.cc
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/remoting/client/jni/remoting_jni_onload.cc
[modify] https://crrev.com/77c6b4a96f93de796eeb56b7fe113f76bb01bda1/testing/android/native_test/native_test_launcher.cc

Project Member

Comment 31 by bugdroid1@chromium.org, Jul 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/cbb5082ca4707658874e42bb45e0327a0187c0ab

commit cbb5082ca4707658874e42bb45e0327a0187c0ab
Author: Yipeng Wang <yipengw@chromium.org>
Date: Tue Jul 18 14:37:41 2017

Delete Jni registration calls under chrome/browser/android.

Bug:  683256 
Change-Id: I7dc24bcae81a2ca43f3f82427d5b654b5ebe5b1f
Reviewed-on: https://chromium-review.googlesource.com/575019
Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Yipeng Wang <yipengw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487468}
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/BUILD.gn
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/accessibility/font_size_prefs_android.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/accessibility/font_size_prefs_android.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/banners/app_banner_manager_android.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/banners/app_banner_manager_android.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/bookmarks/bookmark_bridge.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/bookmarks/bookmark_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/bookmarks/partner_bookmarks_reader.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/bookmarks/partner_bookmarks_reader.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/bottombar/overlay_panel_content.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/bottombar/overlay_panel_content.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/browsing_data/browsing_data_bridge.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/browsing_data/browsing_data_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/browsing_data/browsing_data_counter_bridge.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/browsing_data/browsing_data_counter_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/browsing_data/url_filter_bridge.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/browsing_data/url_filter_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/chrome_application.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/chrome_application.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/chrome_feature_list.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/chrome_feature_list.h
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/chrome_jni_registrar.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/chrome_jni_registrar.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/contextualsearch/contextual_search_context.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/contextualsearch/contextual_search_context.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/contextualsearch/contextual_search_ranker_logger_impl.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/contextualsearch/contextual_search_ranker_logger_impl.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/contextualsearch/contextual_search_tab_helper.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/contextualsearch/contextual_search_tab_helper.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/contextualsearch/ctr_suppression.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/contextualsearch/ctr_suppression.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/cookies/cookies_fetcher.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/cookies/cookies_fetcher.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/customtabs/origin_verifier.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/customtabs/origin_verifier.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/data_usage/data_use_tab_ui_manager_android.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/data_usage/data_use_tab_ui_manager_android.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/data_usage/external_data_use_observer_bridge.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/data_usage/external_data_use_observer_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/devtools_server.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/devtools_server.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/document/document_web_contents_delegate.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/document/document_web_contents_delegate.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/download/download_controller.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/download/download_controller.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/download/download_manager_service.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/download/download_manager_service.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/download/service/download_background_task.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/download/service/download_background_task.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/download/ui/thumbnail_provider.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/download/ui/thumbnail_provider.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/favicon_helper.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/favicon_helper.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/feature_utilities.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/feature_utilities.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/feedback/connectivity_checker.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/feedback/connectivity_checker.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/feedback/screenshot_task.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/feedback/screenshot_task.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/find_in_page/find_in_page_bridge.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/find_in_page/find_in_page_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/foreign_session_helper.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/foreign_session_helper.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/history_report/history_report_jni_bridge.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/history_report/history_report_jni_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/instantapps/instant_apps_infobar_delegate.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/instantapps/instant_apps_settings.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/instantapps/instant_apps_settings.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/large_icon_bridge.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/large_icon_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/locale/locale_manager.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/locale/locale_manager.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/locale/special_locale_handler.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/locale/special_locale_handler.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/location_settings_impl.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/location_settings_impl.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/logo_bridge.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/logo_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/metrics/launch_metrics.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/metrics/launch_metrics.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/metrics/uma_session_stats.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/metrics/uma_session_stats.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/metrics/uma_utils.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/metrics/uma_utils.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/metrics/variations_session.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/metrics/variations_session.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/net/external_estimate_provider_android.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/net/external_estimate_provider_android.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/ntp/content_suggestions_notification_helper.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/ntp/content_suggestions_notification_helper.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/ntp/most_visited_sites_bridge.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/ntp/most_visited_sites_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/ntp/ntp_snippets_bridge.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/ntp/ntp_snippets_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/ntp/recent_tabs_page_prefs.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/ntp/recent_tabs_page_prefs.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/ntp/suggestions_event_reporter_bridge.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/ntp/suggestions_event_reporter_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/offline_pages/background_scheduler_bridge.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/offline_pages/background_scheduler_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/offline_pages/evaluation/offline_page_evaluation_bridge.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/offline_pages/evaluation/offline_page_evaluation_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/offline_pages/offline_page_bridge.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/offline_pages/offline_page_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/omnibox/answers_image_bridge.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/omnibox/answers_image_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/omnibox/autocomplete_controller_android.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/omnibox/autocomplete_controller_android.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/omnibox/omnibox_prerender.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/omnibox/omnibox_prerender.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/password_ui_view_android.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/password_ui_view_android.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/payments/service_worker_payment_app_bridge.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/payments/service_worker_payment_app_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/physical_web/eddystone_encoder_bridge.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/physical_web/eddystone_encoder_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/policy/policy_auditor.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/policy/policy_auditor.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/preferences/autofill/autofill_profile_bridge.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/preferences/autofill/autofill_profile_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/preferences/pref_service_bridge.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/preferences/pref_service_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/preferences/website_preference_bridge.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/preferences/website_preference_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/profiles/profile_downloader_android.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/profiles/profile_downloader_android.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/provider/chrome_browser_provider.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/provider/chrome_browser_provider.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/rappor/rappor_service_bridge.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/rappor/rappor_service_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/recently_closed_tabs_bridge.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/recently_closed_tabs_bridge.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/rlz/revenue_stats.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/rlz/revenue_stats.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/rlz/rlz_ping_handler.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/rlz/rlz_ping_handler.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/service_tab_launcher.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/service_tab_launcher.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/sessions/session_tab_helper_android.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/sessions/session_tab_helper_android.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/shortcut_helper.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/shortcut_helper.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/signin/account_management_screen_helper.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/signin/account_management_screen_helper.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/signin/account_tracker_service_android.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/signin/account_tracker_service_android.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/signin/signin_investigator_android.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/signin/signin_investigator_android.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/signin/signin_manager_android.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/signin/signin_manager_android.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/tab_android.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/tab_android.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/tab_state.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/tab_state.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/tab_web_contents_delegate_android.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/tab_web_contents_delegate_android.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/url_utilities.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/url_utilities.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/warmup_manager.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/warmup_manager.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/web_contents_factory.cc
[delete] https://crrev.com/39f74774785722d0a691366b0e2bf1fd6b6f6158/chrome/browser/android/web_contents_factory.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/webapk/chrome_webapk_host.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/webapk/chrome_webapk_host.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/webapk/webapk_installer.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/webapk/webapk_installer.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/webapk/webapk_update_data_fetcher.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/webapk/webapk_update_data_fetcher.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/webapk/webapk_update_manager.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/webapk/webapk_update_manager.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/webapps/add_to_homescreen_manager.cc
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/browser/android/webapps/add_to_homescreen_manager.h
[modify] https://crrev.com/cbb5082ca4707658874e42bb45e0327a0187c0ab/chrome/test/base/chrome_test_suite.cc

Project Member

Comment 32 by bugdroid1@chromium.org, Jul 20 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/58e7f054727f2dd61e296f4385d6a82b882769a2

commit 58e7f054727f2dd61e296f4385d6a82b882769a2
Author: Yipeng Wang <yipengw@chromium.org>
Date: Thu Jul 20 00:36:56 2017

Delete remaining JNI reg calls under chrome/browser

TBR=yfriedman

Bug:  683256 
Change-Id: Ieb2a761814449dc4c7e0f374846e676d925d20c6
Reviewed-on: https://chromium-review.googlesource.com/577951
Commit-Queue: Yipeng Wang <yipengw@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#488064}
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/BUILD.gn
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/after_startup_task_utils_android.cc
[delete] https://crrev.com/7ffeb9cc2f206d63942c7e6cf56037d5e26046a8/chrome/browser/after_startup_task_utils_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/autofill/android/personal_data_manager_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/autofill/android/personal_data_manager_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/autofill/android/phone_number_util_android.cc
[delete] https://crrev.com/7ffeb9cc2f206d63942c7e6cf56037d5e26046a8/chrome/browser/autofill/android/phone_number_util_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/dom_distiller/dom_distiller_service_factory_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/dom_distiller/dom_distiller_service_factory_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/dom_distiller/tab_utils_android.cc
[delete] https://crrev.com/7ffeb9cc2f206d63942c7e6cf56037d5e26046a8/chrome/browser/dom_distiller/tab_utils_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/engagement/site_engagement_service_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/engagement/site_engagement_service_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/history/android/sqlite_cursor.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/history/android/sqlite_cursor.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/invalidation/invalidation_service_factory_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/invalidation/invalidation_service_factory_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/media/android/cdm/media_drm_credential_manager.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/media/android/cdm/media_drm_credential_manager.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/media/android/remote/record_cast_action.cc
[delete] https://crrev.com/7ffeb9cc2f206d63942c7e6cf56037d5e26046a8/chrome/browser/media/android/remote/record_cast_action.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/media/android/remote/remote_media_player_bridge.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/media/android/remote/remote_media_player_bridge.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/media/android/router/media_router_android_bridge.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/media/android/router/media_router_android_bridge.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/media/android/router/media_router_dialog_controller_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/media/android/router/media_router_dialog_controller_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/net/spdyproxy/data_reduction_promo_infobar_delegate_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/net/spdyproxy/data_reduction_promo_infobar_delegate_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/notifications/notification_platform_bridge_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/notifications/notification_platform_bridge_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/password_manager/account_chooser_dialog_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/password_manager/account_chooser_dialog_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/password_manager/auto_signin_first_run_dialog_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/password_manager/auto_signin_first_run_dialog_android.h
[delete] https://crrev.com/7ffeb9cc2f206d63942c7e6cf56037d5e26046a8/chrome/browser/payments/android/chrome_payments_jni_registrar.cc
[delete] https://crrev.com/7ffeb9cc2f206d63942c7e6cf56037d5e26046a8/chrome/browser/payments/android/chrome_payments_jni_registrar.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/payments/android/journey_logger_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/payments/android/journey_logger_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/payments/android/payment_manifest_web_data_service_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/payments/android/payment_manifest_web_data_service_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/payments/android/ssl_validity_checker_android.cc
[delete] https://crrev.com/7ffeb9cc2f206d63942c7e6cf56037d5e26046a8/chrome/browser/payments/android/ssl_validity_checker_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/permissions/permission_dialog_delegate.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/permissions/permission_dialog_delegate.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/permissions/permission_update_infobar_delegate_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/permissions/permission_update_infobar_delegate_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/predictors/loading_predictor_android.cc
[delete] https://crrev.com/7ffeb9cc2f206d63942c7e6cf56037d5e26046a8/chrome/browser/predictors/loading_predictor_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/prerender/external_prerender_handler_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/prerender/external_prerender_handler_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/profiles/profile_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/profiles/profile_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/search_engines/template_url_service_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/search_engines/template_url_service_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/signin/oauth2_token_service_delegate_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/signin/oauth2_token_service_delegate_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/speech/tts_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/speech/tts_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/ssl/security_state_model_android.cc
[delete] https://crrev.com/7ffeb9cc2f206d63942c7e6cf56037d5e26046a8/chrome/browser/ssl/security_state_model_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/supervised_user/child_accounts/child_account_service_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/supervised_user/child_accounts/child_account_service_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/supervised_user/supervised_user_content_provider_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/supervised_user/supervised_user_content_provider_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/sync/profile_sync_service_android.cc
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/sync/profile_sync_service_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/sync/sessions/sync_sessions_metrics_android.cc
[delete] https://crrev.com/7ffeb9cc2f206d63942c7e6cf56037d5e26046a8/chrome/browser/sync/sessions/sync_sessions_metrics_android.h
[modify] https://crrev.com/58e7f054727f2dd61e296f4385d6a82b882769a2/chrome/browser/ui/android/infobars/instant_apps_infobar.h

Project Member

Comment 33 by bugdroid1@chromium.org, Jul 20 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/96c3f1f13172f7e565c9dd8a0dbd09b0c5cf4215

commit 96c3f1f13172f7e565c9dd8a0dbd09b0c5cf4215
Author: Yipeng Wang <yipengw@chromium.org>
Date: Thu Jul 20 19:22:26 2017

Don't include PermissionInfoBar_jni.h in multiple source files

Generated jni headers should not be included by multiple .cc files.
This double-include is breaking upcoming changes to the JNI generator.

BUG= 683256 

Change-Id: I92318e46de45841557544bf04503bee27fc52e9a
Reviewed-on: https://chromium-review.googlesource.com/578743
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Matthew Jones <mdjones@chromium.org>
Commit-Queue: Yipeng Wang <yipengw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#488351}
[modify] https://crrev.com/96c3f1f13172f7e565c9dd8a0dbd09b0c5cf4215/chrome/browser/ui/android/infobars/grouped_permission_infobar.cc
[modify] https://crrev.com/96c3f1f13172f7e565c9dd8a0dbd09b0c5cf4215/chrome/browser/ui/android/infobars/permission_infobar.cc
[modify] https://crrev.com/96c3f1f13172f7e565c9dd8a0dbd09b0c5cf4215/chrome/browser/ui/android/infobars/permission_infobar.h

Comment 34 by torne@chromium.org, Jul 20 2017

Why wasn't that double include already breaking the current build? The registration function gets defined twice, no? That's really surprising.
It has no native methods, and thus no RegisterNativesImpl() defined.
@torne, as Andrew said, the jni header only contains functions called by natives. 

Fortunately, this multiple jni inclusion only happens twice in the code base. Another fix is here: https://chromium-review.googlesource.com/c/539457/
Blockedon: 749244
Project Member

Comment 38 by bugdroid1@chromium.org, Jul 28 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/71703a92969d6ff2b1d20db72823d78ad5018cfe

commit 71703a92969d6ff2b1d20db72823d78ad5018cfe
Author: Andrew Grieve <agrieve@chromium.org>
Date: Fri Jul 28 19:47:28 2017

Android: Use fully qualified names in generated headers where possible

Using fully-qualified names ensures that name collisions do not happen
when mutliple generated .h files are included.

Does not make @CalledByNative wrapper functions fully-qualified because this
would entail having to update callsites throughout the codebase.

BUG= 683256 

Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I8a1db53b9ed50c45fc2999bd42538f1fac8ce8f5
Reviewed-on: https://chromium-review.googlesource.com/585591
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
Reviewed-by: John Bauman <jbauman@chromium.org>
Reviewed-by: Richard Coles <torne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#490489}
[modify] https://crrev.com/71703a92969d6ff2b1d20db72823d78ad5018cfe/base/android/jni_generator/SampleForTests_jni.golden
[modify] https://crrev.com/71703a92969d6ff2b1d20db72823d78ad5018cfe/base/android/jni_generator/jni_generator.py
[modify] https://crrev.com/71703a92969d6ff2b1d20db72823d78ad5018cfe/base/android/jni_generator/testCalledByNatives.golden
[modify] https://crrev.com/71703a92969d6ff2b1d20db72823d78ad5018cfe/base/android/jni_generator/testConstantsFromJavaP.golden
[modify] https://crrev.com/71703a92969d6ff2b1d20db72823d78ad5018cfe/base/android/jni_generator/testFromJavaP.golden
[modify] https://crrev.com/71703a92969d6ff2b1d20db72823d78ad5018cfe/base/android/jni_generator/testFromJavaPGenerics.golden
[modify] https://crrev.com/71703a92969d6ff2b1d20db72823d78ad5018cfe/base/android/jni_generator/testInnerClassNatives.golden
[modify] https://crrev.com/71703a92969d6ff2b1d20db72823d78ad5018cfe/base/android/jni_generator/testInnerClassNativesBothInnerAndOuter.golden
[modify] https://crrev.com/71703a92969d6ff2b1d20db72823d78ad5018cfe/base/android/jni_generator/testInnerClassNativesMultiple.golden
[modify] https://crrev.com/71703a92969d6ff2b1d20db72823d78ad5018cfe/base/android/jni_generator/testMultipleJNIAdditionalImport.golden
[modify] https://crrev.com/71703a92969d6ff2b1d20db72823d78ad5018cfe/base/android/jni_generator/testNativeExportsOnlyOption.golden
[modify] https://crrev.com/71703a92969d6ff2b1d20db72823d78ad5018cfe/base/android/jni_generator/testNatives.golden
[modify] https://crrev.com/71703a92969d6ff2b1d20db72823d78ad5018cfe/base/android/jni_generator/testNativesLong.golden
[modify] https://crrev.com/71703a92969d6ff2b1d20db72823d78ad5018cfe/base/android/jni_generator/testSingleJNIAdditionalImport.golden
[modify] https://crrev.com/71703a92969d6ff2b1d20db72823d78ad5018cfe/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/SavePageRequest.java
[modify] https://crrev.com/71703a92969d6ff2b1d20db72823d78ad5018cfe/content/browser/android/app_web_message_port.cc
[modify] https://crrev.com/71703a92969d6ff2b1d20db72823d78ad5018cfe/ui/gl/android/scoped_java_surface.cc

Project Member

Comment 40 by bugdroid1@chromium.org, Aug 9 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ade7cd52920c7decef174baf4a6beced26b2b9bd

commit ade7cd52920c7decef174baf4a6beced26b2b9bd
Author: Simeon Anfinrud <sanfin@chromium.org>
Date: Wed Aug 09 20:38:19 2017

[Chromecast] Fix component build JNI registration.

In chromium-dev/L8RR9j5haFs, it was announced that component
builds need libchrome.so to directly depend on components that
contain JNI in order to link. This CL does that for
libcast_shell_android.

BUG= 683256 
BUG=Internal b/64438210

Change-Id: I4703c7b9f9b56083ad85cbef8e225da2689bbb0d
Reviewed-on: https://chromium-review.googlesource.com/606904
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Luke Halliwell <halliwell@chromium.org>
Commit-Queue: Simeon Anfinrud <sanfin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#493128}
[modify] https://crrev.com/ade7cd52920c7decef174baf4a6beced26b2b9bd/chromecast/android/BUILD.gn

Owner: agrieve@chromium.org
Summary: Make JNI registration code generated on a per-apk basis (80kb) (was: Make JNI registration code generated on a per-apk basis (300kb))
Project Member

Comment 43 by bugdroid1@chromium.org, Aug 14 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/62479748f8ea4c98e10199c21c6b4145ac6f0cf0

commit 62479748f8ea4c98e10199c21c6b4145ac6f0cf0
Author: Andrew Grieve <agrieve@chromium.org>
Date: Mon Aug 14 20:08:33 2017

Android: Move all JNI registration code into jni_registration_generator.py

Removes 80kb of unused string literals from MonochromePublic.apk.
Makes libchrome.so 20kb smaller as well (maybe having all register
methods in a single .o file allows for better optimizations?)

Bug:  683256 
Change-Id: I41e08dab9b049507e9b8c2e1e71474e2d5c2b654
Reviewed-on: https://chromium-review.googlesource.com/592523
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Richard Coles <torne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#494156}
[modify] https://crrev.com/62479748f8ea4c98e10199c21c6b4145ac6f0cf0/base/android/jni_generator/SampleForTests_jni.golden
[modify] https://crrev.com/62479748f8ea4c98e10199c21c6b4145ac6f0cf0/base/android/jni_generator/jni_generator.py
[modify] https://crrev.com/62479748f8ea4c98e10199c21c6b4145ac6f0cf0/base/android/jni_generator/jni_generator_tests.py
[modify] https://crrev.com/62479748f8ea4c98e10199c21c6b4145ac6f0cf0/base/android/jni_generator/jni_registration_generator.py
[modify] https://crrev.com/62479748f8ea4c98e10199c21c6b4145ac6f0cf0/base/android/jni_generator/testCalledByNatives.golden
[modify] https://crrev.com/62479748f8ea4c98e10199c21c6b4145ac6f0cf0/base/android/jni_generator/testConstantsFromJavaP.golden
[modify] https://crrev.com/62479748f8ea4c98e10199c21c6b4145ac6f0cf0/base/android/jni_generator/testFromJavaP.golden
[modify] https://crrev.com/62479748f8ea4c98e10199c21c6b4145ac6f0cf0/base/android/jni_generator/testFromJavaPGenerics.golden
[modify] https://crrev.com/62479748f8ea4c98e10199c21c6b4145ac6f0cf0/base/android/jni_generator/testInnerClassNatives.golden
[modify] https://crrev.com/62479748f8ea4c98e10199c21c6b4145ac6f0cf0/base/android/jni_generator/testInnerClassNativesBothInnerAndOuter.golden
[add] https://crrev.com/62479748f8ea4c98e10199c21c6b4145ac6f0cf0/base/android/jni_generator/testInnerClassNativesBothInnerAndOuterRegistrations.golden
[modify] https://crrev.com/62479748f8ea4c98e10199c21c6b4145ac6f0cf0/base/android/jni_generator/testInnerClassNativesMultiple.golden
[modify] https://crrev.com/62479748f8ea4c98e10199c21c6b4145ac6f0cf0/base/android/jni_generator/testMultipleJNIAdditionalImport.golden
[modify] https://crrev.com/62479748f8ea4c98e10199c21c6b4145ac6f0cf0/base/android/jni_generator/testNativeExportsOnlyOption.golden
[modify] https://crrev.com/62479748f8ea4c98e10199c21c6b4145ac6f0cf0/base/android/jni_generator/testNatives.golden
[modify] https://crrev.com/62479748f8ea4c98e10199c21c6b4145ac6f0cf0/base/android/jni_generator/testNativesLong.golden
[add] https://crrev.com/62479748f8ea4c98e10199c21c6b4145ac6f0cf0/base/android/jni_generator/testNativesRegistrations.golden
[modify] https://crrev.com/62479748f8ea4c98e10199c21c6b4145ac6f0cf0/base/android/jni_generator/testSingleJNIAdditionalImport.golden
[modify] https://crrev.com/62479748f8ea4c98e10199c21c6b4145ac6f0cf0/build/config/android/rules.gni

Status: Fixed (was: Available)
Cc: twelling...@chromium.org
It looks like the documentation on chromium.org [i] and in SampleForTests.java [ii] didn't get updated with the new instructions for adding the Java file to the jni_headers target in chrome/browser/BUILD.gn.

Will someone please update these to reflect the changes in this bug?

[i] https://www.chromium.org/developers/design-documents/android-jni
[ii] https://cs.chromium.org/chromium/src/base/android/jni_generator/java/src/org/chromium/example/jni_generator/SampleForTests.java
Project Member

Comment 46 by bugdroid1@chromium.org, Mar 30 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/79c58dadc9af19ad0710e29ca07ea6cc2d024154

commit 79c58dadc9af19ad0710e29ca07ea6cc2d024154
Author: Andrew Grieve <agrieve@chromium.org>
Date: Fri Mar 30 00:50:04 2018

Add README.md for //base/android/jni_generator

Bug:  683256 
Change-Id: I3735b47e983028b08b379dfc716eea78e3b977fd
Reviewed-on: https://chromium-review.googlesource.com/985641
Commit-Queue: agrieve <agrieve@chromium.org>
Reviewed-by: Richard Coles <torne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547046}
[add] https://crrev.com/79c58dadc9af19ad0710e29ca07ea6cc2d024154/base/android/jni_generator/README.md
[modify] https://crrev.com/79c58dadc9af19ad0710e29ca07ea6cc2d024154/base/android/jni_generator/java/src/org/chromium/example/jni_generator/SampleForTests.java

Thanks for taking care of this Andrew!
Project Member

Comment 49 by bugdroid1@chromium.org, Oct 19

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8eba1b948f0755a88bd9682bb1b1d98ce2bc10cf

commit 8eba1b948f0755a88bd9682bb1b1d98ce2bc10cf
Author: Daniel Bratell <bratell@opera.com>
Date: Fri Oct 19 22:41:01 2018

Remove deleted file ssl_validity_checker_android.h from build system

The file payments/android/ssl_validity_checker_android.h was
removed when the JNI registration code changed but it remained
in the sources list, where it ended up causing some unrelated
problems so here it goes.

Bug:  683256 
Change-Id: I7e57af91ad5848c73d814fc4b89712d106ecf358
Reviewed-on: https://chromium-review.googlesource.com/c/1290271
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Commit-Queue: Daniel Bratell <bratell@opera.com>
Cr-Commit-Position: refs/heads/master@{#601328}
[modify] https://crrev.com/8eba1b948f0755a88bd9682bb1b1d98ce2bc10cf/chrome/browser/BUILD.gn

Sign in to add a comment