Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
a91e2fc4
Commit
a91e2fc4
authored
Jul 26, 2013
by
Ulas Kirazci
Committed by
Gerrit Code Review
Jul 26, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Add test for passing in proto params."
parents
fffc5f3b
2000cfdc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
1 deletion
+25
-1
Android.mk
Android.mk
+23
-0
README.txt
java/README.txt
+2
-1
No files found.
Android.mk
View file @
a91e2fc4
...
@@ -350,3 +350,26 @@ LOCAL_STATIC_LIBRARIES += libz
...
@@ -350,3 +350,26 @@ LOCAL_STATIC_LIBRARIES += libz
LOCAL_LDLIBS := -lpthread
LOCAL_LDLIBS := -lpthread
include $(BUILD_HOST_EXECUTABLE)
include $(BUILD_HOST_EXECUTABLE)
# To test java proto params build rules.
# =======================================================
include $(CLEAR_VARS)
LOCAL_MODULE := aprotoc-test-nano-params
LOCAL_MODULE_TAGS := tests
LOCAL_SDK_VERSION := current
LOCAL_PROTOC_OPTIMIZE_TYPE := nano
LOCAL_SRC_FILES := \
src/google/protobuf/unittest_import_nano.proto \
src/google/protobuf/unittest_simple_nano.proto \
src/google/protobuf/unittest_stringutf8_nano.proto \
src/google/protobuf/unittest_recursive_nano.proto \
src/google/protobuf/unittest_enum_multiplejava_nano.proto
LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/src
LOCAL_PROTO_JAVA_OUTPUT_PARAMS := java_package=$(LOCAL_PATH)/src/google/protobuf/unittest_import_nano.proto|com.google.protobuf.nano,java_outer_classname=$(LOCAL_PATH)/src/google/protobuf/unittest_import_nano.proto|UnittestImportNano
include $(BUILD_STATIC_JAVA_LIBRARY)
java/README.txt
View file @
a91e2fc4
...
@@ -324,7 +324,8 @@ Please run the following steps to test:
...
@@ -324,7 +324,8 @@ Please run the following steps to test:
- cd ../../..
- cd ../../..
- . build/envsetup.sh
- . build/envsetup.sh
- lunch 1
- lunch 1
- "make -j12 aprotoc libprotobuf-java-2.3.0-nano" and check for build errors.
- "make -j12 aprotoc libprotobuf-java-2.3.0-nano aprotoc-test-nano-params" and
check for build errors.
- repo sync -c -j256
- repo sync -c -j256
- "make -j12" and check for build errors
- "make -j12" and check for build errors
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment