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
8859c07a
Commit
8859c07a
authored
7 years ago
by
Feng Xiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing files to build files.
parent
dd0a2332
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
3 deletions
+8
-3
BUILD
BUILD
+1
-0
extract_includes.bat.in
cmake/extract_includes.bat.in
+2
-0
libprotobuf.cmake
cmake/libprotobuf.cmake
+1
-0
Makefile.am
src/Makefile.am
+1
-0
generated_message_table_driven.cc
src/google/protobuf/generated_message_table_driven.cc
+3
-3
No files found.
BUILD
View file @
8859c07a
...
...
@@ -128,6 +128,7 @@ cc_library(
"src/google/protobuf/extension_set_heavy.cc",
"src/google/protobuf/field_mask.pb.cc",
"src/google/protobuf/generated_message_reflection.cc",
"src/google/protobuf/generated_message_table_driven.cc",
"src/google/protobuf/io/gzip_stream.cc",
"src/google/protobuf/io/printer.cc",
"src/google/protobuf/io/strtod.cc",
...
...
This diff is collapsed.
Click to expand it.
cmake/extract_includes.bat.in
View file @
8859c07a
...
...
@@ -50,6 +50,7 @@ copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\field_mask.pb.h" incl
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\generated_enum_reflection.h" include\google\protobuf\generated_enum_reflection.h
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\generated_enum_util.h" include\google\protobuf\generated_enum_util.h
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\generated_message_reflection.h" include\google\protobuf\generated_message_reflection.h
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\generated_message_table_driven.h" include\google\protobuf\generated_message_table_driven.h
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\generated_message_util.h" include\google\protobuf\generated_message_util.h
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\has_bits.h" include\google\protobuf\has_bits.h
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\io\coded_stream.h" include\google\protobuf\io\coded_stream.h
...
...
@@ -70,6 +71,7 @@ copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\map_type_handler.h" i
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\message.h" include\google\protobuf\message.h
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\message_lite.h" include\google\protobuf\message_lite.h
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\metadata.h" include\google\protobuf\metadata.h
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\metadata_lite.h" include\google\protobuf\metadata_lite.h
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\reflection.h" include\google\protobuf\reflection.h
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\reflection_ops.h" include\google\protobuf\reflection_ops.h
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\repeated_field.h" include\google\protobuf\repeated_field.h
...
...
This diff is collapsed.
Click to expand it.
cmake/libprotobuf.cmake
View file @
8859c07a
...
...
@@ -13,6 +13,7 @@ set(libprotobuf_files
${
protobuf_source_dir
}
/src/google/protobuf/extension_set_heavy.cc
${
protobuf_source_dir
}
/src/google/protobuf/field_mask.pb.cc
${
protobuf_source_dir
}
/src/google/protobuf/generated_message_reflection.cc
${
protobuf_source_dir
}
/src/google/protobuf/generated_message_table_driven.cc
${
protobuf_source_dir
}
/src/google/protobuf/io/gzip_stream.cc
${
protobuf_source_dir
}
/src/google/protobuf/io/printer.cc
${
protobuf_source_dir
}
/src/google/protobuf/io/strtod.cc
...
...
This diff is collapsed.
Click to expand it.
src/Makefile.am
View file @
8859c07a
...
...
@@ -250,6 +250,7 @@ libprotobuf_la_SOURCES = \
google/protobuf/extension_set_heavy.cc
\
google/protobuf/field_mask.pb.cc
\
google/protobuf/generated_message_reflection.cc
\
google/protobuf/generated_message_table_driven.cc
\
google/protobuf/map_field.cc
\
google/protobuf/message.cc
\
google/protobuf/reflection_internal.h
\
...
...
This diff is collapsed.
Click to expand it.
src/google/protobuf/generated_message_table_driven.cc
View file @
8859c07a
...
...
@@ -74,7 +74,7 @@ inline Arena* GetArena(MessageLite* msg, int64 arena_offset) {
template
<
typename
Type
>
inline
Type
*
AddField
(
MessageLite
*
msg
,
int64
offset
)
{
#if LANG_CXX11
static_assert
(
std
::
is_trivially_copy_assignable
<
Type
>::
value
,
static_assert
(
google
::
protobuf
::
internal
::
has_trivial_copy
<
Type
>::
value
,
"Do not assign"
);
#endif
...
...
@@ -94,7 +94,7 @@ inline string* AddField<string>(MessageLite* msg, int64 offset) {
template
<
typename
Type
>
inline
void
AddField
(
MessageLite
*
msg
,
int64
offset
,
Type
value
)
{
#if LANG_CXX11
static_assert
(
std
::
is_trivially_copy_assignable
<
Type
>::
value
,
static_assert
(
google
::
protobuf
::
internal
::
has_trivial_copy
<
Type
>::
value
,
"Do not assign"
);
#endif
*
AddField
<
Type
>
(
msg
,
offset
)
=
value
;
...
...
@@ -118,7 +118,7 @@ template <typename Type>
inline
void
SetField
(
MessageLite
*
msg
,
uint32
*
has_bits
,
uint32
has_bit_index
,
int64
offset
,
Type
value
)
{
#if LANG_CXX11
static_assert
(
std
::
is_trivially_copy_assignable
<
Type
>::
value
,
static_assert
(
google
::
protobuf
::
internal
::
has_trivial_copy
<
Type
>::
value
,
"Do not assign"
);
#endif
*
MutableField
<
Type
>
(
msg
,
has_bits
,
has_bit_index
,
offset
)
=
value
;
...
...
This diff is collapsed.
Click to expand it.
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