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

Issue 11416343: Refactored Android samples / embedder. (Closed)

Created:
8 years ago by vsm
Modified:
8 years ago
Reviewers:
iposva, gram, siva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Refactored Android samples / embedder. - Started moving generic embedder code from sample into runtime/embedders/android. I'd like to move more in a later CL. - Removed dependence on vm/bin in sample. Ivan or Siva: can one of you review the changes under runtime? Committed: https://code.google.com/p/dart/source/detail?r=15766

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : Added copyright #

Total comments: 14

Patch Set 4 : Address gram's comments #

Patch Set 5 : Fix type error on playBackground #

Unified diffs Side-by-side diffs Delta from patch set Stats (+396 lines, -512 lines) Patch
M dart.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/dart-runtime.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A + runtime/embedders/android/android_embedder.gypi View 1 2 chunks +12 lines, -17 lines 0 comments Download
A + runtime/embedders/android/support_android.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
M runtime/vm/os_android.cc View 3 chunks +5 lines, -0 lines 0 comments Download
D samples/android_embedder/android_embedder.gyp View 1 chunk +0 lines, -56 lines 0 comments Download
D samples/android_embedder/builtin_nolib.cc View 1 chunk +0 lines, -68 lines 0 comments Download
D samples/android_embedder/support_android.cc View 1 chunk +0 lines, -15 lines 0 comments Download
M samples/android_sample/android_sample.gyp View 1 chunk +1 line, -1 line 0 comments Download
M samples/android_sample/assets/dart/android_extension.dart View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M samples/android_sample/build.xml View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M samples/android_sample/custom_rules.xml View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M samples/android_sample/jni/Android.mk View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M samples/android_sample/jni/AndroidEmbedder.mk View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M samples/android_sample/jni/Application.mk View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M samples/android_sample/jni/DartNDK.mk View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M samples/android_sample/jni/android_extension.h View 1 2 3 4 1 chunk +10 lines, -3 lines 0 comments Download
M samples/android_sample/jni/android_extension.cc View 1 2 3 4 54 chunks +60 lines, -73 lines 0 comments Download
A samples/android_sample/jni/android_extension.h~ View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
M samples/android_sample/jni/dart_host.h View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M samples/android_sample/jni/dart_host.cc View 1 2 3 4 6 chunks +23 lines, -25 lines 0 comments Download
M samples/android_sample/jni/eventloop.cc View 1 7 chunks +10 lines, -7 lines 0 comments Download
M samples/android_sample/jni/graphics.h View 1 2 chunks +5 lines, -2 lines 0 comments Download
M samples/android_sample/jni/graphics.cc View 1 2 3 4 chunks +13 lines, -7 lines 0 comments Download
M samples/android_sample/jni/input_service.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M samples/android_sample/jni/input_service.cc View 1 4 chunks +7 lines, -4 lines 0 comments Download
A samples/android_sample/jni/log.h View 1 1 chunk +16 lines, -0 lines 0 comments Download
M samples/android_sample/jni/main.cc View 1 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M samples/android_sample/jni/resource.h View 1 2 3 4 3 chunks +8 lines, -3 lines 0 comments Download
M samples/android_sample/jni/sound_service.h View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M samples/android_sample/jni/sound_service.cc View 1 2 3 4 7 chunks +26 lines, -23 lines 0 comments Download
M samples/android_sample/jni/timer.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M samples/android_sample/jni/timer.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M samples/android_sample/jni/vm_glue.h View 1 3 chunks +11 lines, -4 lines 0 comments Download
M samples/android_sample/jni/vm_glue.cc View 1 2 3 5 chunks +132 lines, -186 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
vsm
https://chromiumcodereview.appspot.com/11416343/diff/5001/runtime/embedders/android/android_embedder.gypi File runtime/embedders/android/android_embedder.gypi (right): https://chromiumcodereview.appspot.com/11416343/diff/5001/runtime/embedders/android/android_embedder.gypi#newcode15 runtime/embedders/android/android_embedder.gypi:15: 'libdart_lib_withcore', Note: this is almost libdart_export, except with this ...
8 years ago (2012-12-04 21:26:01 UTC) #1
gram
https://chromiumcodereview.appspot.com/11416343/diff/5001/runtime/vm/os_android.cc File runtime/vm/os_android.cc (right): https://chromiumcodereview.appspot.com/11416343/diff/5001/runtime/vm/os_android.cc#newcode157 runtime/vm/os_android.cc:157: __android_log_vprint(ANDROID_LOG_INFO, "DartVM", format, args); Cool! If this is working ...
8 years ago (2012-12-04 22:03:42 UTC) #2
vsm
Thanks, PTAL. https://chromiumcodereview.appspot.com/11416343/diff/5001/runtime/vm/os_android.cc File runtime/vm/os_android.cc (right): https://chromiumcodereview.appspot.com/11416343/diff/5001/runtime/vm/os_android.cc#newcode157 runtime/vm/os_android.cc:157: __android_log_vprint(ANDROID_LOG_INFO, "DartVM", format, args); Dart print() doesn't ...
8 years ago (2012-12-04 23:03:08 UTC) #3
gram
lgtm. https://chromiumcodereview.appspot.com/11416343/diff/5001/runtime/vm/os_android.cc File runtime/vm/os_android.cc (right): https://chromiumcodereview.appspot.com/11416343/diff/5001/runtime/vm/os_android.cc#newcode157 runtime/vm/os_android.cc:157: __android_log_vprint(ANDROID_LOG_INFO, "DartVM", format, args); Bummer, I thought this ...
8 years ago (2012-12-04 23:20:31 UTC) #4
siva
8 years ago (2012-12-05 19:48:31 UTC) #5
lgtm

Powered by Google App Engine
This is Rietveld 408576698