naiveproxy/build/android/gradle/cmake.jinja
2018-08-14 22:19:20 +00:00

27 lines
622 B
Django/Jinja

{# Copyright 2018 The Chromium Authors. All rights reserved. #}
{# Use of this source code is governed by a BSD-style license that can be #}
{# found in the LICENSE file. #}
# Generated by //build/android/generate_gradle.py
cmake_minimum_required(VERSION 3.4.1)
project(chrome C CXX)
{% if native.includes is defined %}
include_directories(
{% for path in native.includes %}
{{ path }}
{% endfor %}
)
{% endif %}
{% for name, target in native.targets.iteritems() %}
{% if target.sources is defined %}
add_library("{{ name }}"
{% for path in target.sources %}
{{ path }}
{% endfor %}
)
{% endif %}
{% endfor %}