xref: /aosp_15_r20/external/cronet/build/android/gradle/cmake.jinja (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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
6cmake_minimum_required(VERSION 3.4.1)
7
8project(chrome C CXX)
9
10{% if native.includes is defined %}
11include_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 %}
20add_library("chromium"
21{% for path in native.sources %}
22    {{ path }}
23{% endfor %}
24)
25{% endif %}
26