1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25

build / android / gradle / cmake.jinja [blame]

{# Copyright 2018 The Chromium Authors #}
{# 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 %}

# Android studio will index faster when adding all sources into one library.
{% if native.sources is defined %}
add_library("chromium"
{% for path in native.sources %}
    {{ path }}
{% endfor %}
)
{% endif %}