summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authormef@chromium.org <mef@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-14 16:45:32 +0000
committermef@chromium.org <mef@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-14 16:45:32 +0000
commit9105e26d8c16fff1c13a436507909fb89e566138 (patch)
tree51af8faf87ec4f7db6ca8f4a213e2db7c5be0e67 /build
parentc619b7b234fea23dd06a4fc6b86f156f4d27be02 (diff)
downloadchromium_src-9105e26d8c16fff1c13a436507909fb89e566138.zip
chromium_src-9105e26d8c16fff1c13a436507909fb89e566138.tar.gz
chromium_src-9105e26d8c16fff1c13a436507909fb89e566138.tar.bz2
- Copied existing C++ and Java JNI implementation.
- Fixed compilation errors, added custom cflags and ldflags. - Added cronet_package target to build libcronet.so and cronet.jar. - Added cronet_sample_apk target to build CronetSample.apk sample app. Review URL: https://codereview.chromium.org/145213003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257131 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-xbuild/android/adb_gdb_cronet_sample16
1 files changed, 16 insertions, 0 deletions
diff --git a/build/android/adb_gdb_cronet_sample b/build/android/adb_gdb_cronet_sample
new file mode 100755
index 0000000..8d0c864
--- /dev/null
+++ b/build/android/adb_gdb_cronet_sample
@@ -0,0 +1,16 @@
+#!/bin/bash
+#
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+#
+# Attach to or start a ContentShell process and debug it.
+# See --help for details.
+#
+PROGDIR=$(dirname "$0")
+export ADB_GDB_PROGNAME=$(basename "$0")
+export ADB_GDB_ACTIVITY=.CronetSampleActivity
+"$PROGDIR"/adb_gdb \
+ --program-name=CronetSample \
+ --package-name=org.chromium.cronet_sample_apk \
+ "$@"