1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 # This file defines the extension gypi values. This file is read once and
6 # cached, which is a performance optimization that allows us to share the
7 # results of parsing the .gypi file between all extensions BUILD.gn files.
8 # It also saves us from duplicating this exec_script call.
9 extensions_gypi_values =
10 exec_script("//build/gypi_to_gn.py",
12 rebase_path("extensions.gypi"),
13 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir",
16 [ "extensions.gypi" ])
18 extensions_tests_gypi_values =
19 exec_script("//build/gypi_to_gn.py",
21 rebase_path("extensions_tests.gypi"),
22 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir",
25 [ "extensions_tests.gypi" ])