cmake.jinja (609B)
1 {# Copyright 2018 The Chromium Authors #} 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 6 cmake_minimum_required(VERSION 3.4.1) 7 8 project(chrome C CXX) 9 10 {% if native.includes is defined %} 11 include_directories( 12 {% for path in native.includes %} 13 {{ path }} 14 {% endfor %} 15 ) 16 {% endif %} 17 18 # Android studio will index faster when adding all sources into one library. 19 {% if native.sources is defined %} 20 add_library("chromium" 21 {% for path in native.sources %} 22 {{ path }} 23 {% endfor %} 24 ) 25 {% endif %}