Partial CMakeLists to compile the real icing C++ lib.

Limitations:
* Currently using execute_process instead of add_custom_command, which
  causes protobuf compilation to occur during configure. We need to
  build protoc on the host, so trying to use add_custom_command to do it
  during the target build is complicated.
* Invoking protoc directly instead of using FindProtobuf and
  protobuf_generate_cpp. I was able to get FindProtobuf to work with the
  external/protobuf source tree, but I can't get protobuf_generate_cpp
  to put the generated protos in the right place.
* Icing lib is missing utf dependencies, so this does not currently
  compile.
* No work has been done on the link step; we'll have to find a way to
  compile libprotobuf-lite for the target and depend on it.

Test: ./gradlew icing:assemble
Bug: 149853706
Change-Id: I0568efe23f255b1fca463891ebd816aca5979841
4 files changed
tree: 0e988710bc51cd53a7b999eb4213efeb5b3babe7
  1. icing/
  2. .gitignore
  3. Android.bp
  4. AndroidManifest.xml
  5. build.gradle
  6. CMakeLists.txt
  7. CONTRIBUTING.md
  8. jarjar-rules.txt
  9. LICENSE
  10. METADATA
  11. MODULE_LICENSE_APACHE2
  12. README.md
  13. TEST_MAPPING
README.md

Icing Search Library

Icing is a fast, embedded, mobile-friendly full-text-search library written in C++.

This is not an officially supported Google product.