Commit Graph

17 Commits

Author SHA1 Message Date
David L. Jones
dc14b4be42
Change update_file_lists.sh to work based on Bazel-generated file lists (#10091)
This commit changes update_file_lists.sh to use Bazel as the source of truth. Currently, only the cmake build is actually affected, but Automake should be fairly straightforward to convert.

The file lists were originally factored out in PR#10027. This commit actually switches over to the Bazel-generated lists.
2022-06-01 18:23:05 -07:00
Arfrever Frehtes Taifersar Arahesis
5dab09408c
Enable GeneratedDescriptorTest.EnormousDescriptor test for GCC/Clang CMake builds (#9617) 2022-03-10 16:40:07 -08:00
Arfrever Frehtes Taifersar Arahesis
426866285b cmake: Replace protobuf_source_dir variable with protobuf_SOURCE_DIR variable (#9596)
protobuf_source_dir variable is no longer needed and has the same value
as protobuf_SOURCE_DIR variable, which is instance of CMake-standard
<PROJECT-NAME>_SOURCE_DIR variable:
https://cmake.org/cmake/help/latest/variable/PROJECT-NAME_SOURCE_DIR.html
2022-03-09 14:55:55 -08:00
David L. Jones
96d983a02e
Tweak update_file_lists.sh to handle changes to Makefile.am. (#8965) 2021-09-10 19:32:15 -07:00
Yannic Bonenberger
4979489451 Add test to verify BUILD- and cmake-files are in sync with src/Makefile.am 2019-07-24 10:23:55 -07:00
Corentin Le Molgat
2bd7f516e5 fix duplicate mkdir in update_file_lists.sh
- merge loop for .h and .proto includes
- fix shellcheck errors
2018-04-25 08:22:30 +02:00
Mizux
3ad8efc75b Add .proto files to extract_includes.bat
For google/or-tools, on windows, we need to use `import "google/protobuf/wrappers.proto";` since we want "optional" int64 and in version3 POD get default value...
-> so we use "google.protobuf.Int64Value" since 0 is a valid value and different from "not set" for our use case.
2018-04-24 13:55:54 +02:00
Feng Xiao
d5a0024171 Remove javanano. 2018-03-26 12:59:28 -07:00
John Millikin
2e4c52a096 update_file_lists.sh depends on Bash features, thus needs Bash sebang.
I noticed that running this script as `./update_file_lists.sh` on MacOS
was corrupting `cmake/extract_includes.bat.in`. Forcing the shell to
Bash fixes the generated file output.
2018-02-24 11:30:10 -08:00
Feng Xiao
32d7830e4b Fix C++ build for down-integration. 2017-03-29 14:52:33 -07:00
Bo Yang
ff7bdad231 Fix bugs on windows 2015-08-25 17:58:48 -07:00
Feng Xiao
b17ec3ca11 Down-integrate from internal code base. 2015-08-23 17:50:38 -07:00
Jisi Liu
b0f661181d Down-integrate from internal branch.
Change-Id: Ieb7a2c2fbf35bc2a8fa65b915a5ecb68c83863e4
2015-08-21 11:18:45 -07:00
Jisi Liu
7a0c431c8f Enable tests for bazel build.
Change-Id: I63ed5fb58a45e098f2fd1fa457a219148de030bd
2015-06-18 16:45:27 -07:00
Jisi Liu
94062398dc Remove OUTS constants in BUILD
Induce those from the input proto file names instead to reduce the
lenght of the BUILD file.

Change-Id: I1dda57dedac547f4bd0cc3a7d08fb611d72acd13
2015-06-18 14:06:26 -07:00
Jisi Liu
d19604fac5 Add Bazel BUILD for the project.
Change-Id: I5a299d969ff96d7d2f80aadc7e8987d461d24b8f
2015-06-17 17:37:58 -07:00
Jisi Liu
1c42a8b336 Move cmake/update_file_lists.sh preparing for bazel support.
Change-Id: Idecb2e3a5169f7b40d832242c9c10b0eb4325654
2015-06-17 13:31:26 -07:00