Skip to content

Commit 81e09eb

Browse files
author
David J. Kordsmeier
committedSep 20, 2012
refs #100823 Move android build to using target 'with-bcp' rather than
'honeycomb'
1 parent 3f2e92c commit 81e09eb

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed
 

‎android/CCNx-Android-Services/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ TARGET = $(BIN)/$(APK_NAME)
3636

3737
default all: $(TARGET)
3838

39-
honeycomb: clean bcprov default
39+
with-bcp: clean bcprov default
4040

4141
bcprov:
4242
./download.sh libs http://repo2.maven.org/maven2/org/bouncycastle/bcprov-jdk16/1.43 bcprov-jdk16-1.43.jar

‎android/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ install uninstall:
5050
(cd CCNx-Android-Services && $(MAKE) $@)
5151
(cd apps && $(MAKE) $@)
5252

53-
honeycomb:
53+
with-bcp:
5454
(cd external && $(MAKE) -j 1)
5555
(cd CCNx-Android-Lib && $(MAKE))
5656
(cd CCNx-Android-Services && $(MAKE) $@)

‎android/README

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Building
33

44
* First 'make' the top level ccn project
55
* cd android
6-
* make (or make honeycomb)
6+
* make (or make with-bcp)
77
* make install
88

99
(Please see "Android Build System Notes" below for extended details on building CCN for Android.)
@@ -132,7 +132,7 @@ Honeycomb and Ice Cream Sandwich
132132
================================
133133
Android 3.x & 4.x devices (and possibly some 2.x) devices the crypto support includes a subset of the Bouncy Castle library. See: http://redmine.ccnx.org/issues/100589 for details. As a result, the 3.x & 4.x devices we tested failed with ClassNotFoundException trying to resolve the BouncyCastleProvider. To work around this, we include the Bouncy Castle provider jar file if you specify in the top level of the android project directory:
134134

135-
make honeycomb
135+
make with-bcp
136136

137137
This change affects CCNx-Android-Services, CCNx-Android-Chat, and CCNx-Android-StartupExamples. Because of the size of the jar file (around 1.5mb) we are interested in a better solution long term, though there is no indication Google has changed their approach, except to enhance the android crypto library to rely upon functionality delivered through OpenSSL.
138138

‎android/apps/CCNx-Android-Chat/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ SRC = ./src/org/ccnx/android/apps/chat/CcnxChatMain.java \
4040

4141
default all: $(TARGET)
4242

43-
honeycomb: clean bcprov default
43+
with-bcp: clean bcprov default
4444

4545
bcprov:
4646
./download.sh libs http://repo2.maven.org/maven2/org/bouncycastle/bcprov-jdk16/1.43 bcprov-jdk16-1.43.jar

‎android/apps/CCNx-Android-StartupExamples/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ SRC = ./src/org/ccnx/android/examples/startup/BlockingStartup.java \
4040

4141
default all: $(TARGET)
4242

43-
honeycomb: clean bcprov default
43+
with-bcp: clean bcprov default
4444

4545
bcprov:
4646
./download.sh libs http://repo2.maven.org/maven2/org/bouncycastle/bcprov-jdk16/1.43 bcprov-jdk16-1.43.jar

‎android/apps/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ install uninstall:
2929
(cd "$$f" && pwd && $(MAKE) $@) || exit 1; \
3030
done
3131

32-
honeycomb:
32+
with-bcp:
3333
for f in $(SUBDIRS); do \
34-
(cd "$$f" && pwd && $(MAKE) honeycomb $@) || exit 1; \
34+
(cd "$$f" && pwd && $(MAKE) with-bcp $@) || exit 1; \
3535
done
3636

3737
clean distclean:

0 commit comments

Comments
 (0)
Please sign in to comment.