summaryrefslogtreecommitdiffstats
path: root/extensions/extensions.gni
blob: 05f11085834141468ed9ec44bf46f11b9b60dc0c (plain)
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
# Copyright 2014 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.

# This file defines the extension gypi values. This file is read once and
# cached, which is a performance optimization that allows us to share the
# results of parsing the .gypi file between all extensions BUILD.gn files.
# It also saves us from duplicating this exec_script call.
extensions_gypi_values =
    exec_script("//build/gypi_to_gn.py",
                [
                  rebase_path("extensions.gypi"),
                  "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir",
                ],
                "scope",
                [ "extensions.gypi" ])

extensions_tests_gypi_values =
    exec_script("//build/gypi_to_gn.py",
                [
                  rebase_path("extensions_tests.gypi"),
                  "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir",
                ],
                "scope",
                [ "extensions_tests.gypi" ])