Fix NPE in isHidingTopControlsEnabled where WebContents is null.
[chromium-blink-merge.git] / extensions / extensions.gni
blob05f11085834141468ed9ec44bf46f11b9b60dc0c
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",
11                 [
12                   rebase_path("extensions.gypi"),
13                   "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir",
14                 ],
15                 "scope",
16                 [ "extensions.gypi" ])
18 extensions_tests_gypi_values =
19     exec_script("//build/gypi_to_gn.py",
20                 [
21                   rebase_path("extensions_tests.gypi"),
22                   "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir",
23                 ],
24                 "scope",
25                 [ "extensions_tests.gypi" ])