cmake.jinja 631 B

12345678910111213141516171819202122232425
  1. {# Copyright 2018 The Chromium Authors. All rights reserved. #}
  2. {# Use of this source code is governed by a BSD-style license that can be #}
  3. {# found in the LICENSE file. #}
  4. # Generated by //build/android/generate_gradle.py
  5. cmake_minimum_required(VERSION 3.4.1)
  6. project(chrome C CXX)
  7. {% if native.includes is defined %}
  8. include_directories(
  9. {% for path in native.includes %}
  10. {{ path }}
  11. {% endfor %}
  12. )
  13. {% endif %}
  14. # Android studio will index faster when adding all sources into one library.
  15. {% if native.sources is defined %}
  16. add_library("chromium"
  17. {% for path in native.sources %}
  18. {{ path }}
  19. {% endfor %}
  20. )
  21. {% endif %}