| {# 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 %} |
| |
| # 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 %} |