OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//extensions/extensions.gni") | 7 import("//extensions/extensions.gni") |
8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
9 | 9 |
10 # GYP version: extensions/extensions.gyp:extensions_common_constants | 10 # GYP version: extensions/extensions.gyp:extensions_common_constants |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 # GYP version: extensions/extensions.gyp:extensions_common | 28 # GYP version: extensions/extensions.gyp:extensions_common |
29 # This must be a static library because extensions common depends on | 29 # This must be a static library because extensions common depends on |
30 # GetTrustedICAPublicKey in extensions/browser which isn't always linked | 30 # GetTrustedICAPublicKey in extensions/browser which isn't always linked |
31 # in. TODO(brettw): This reverse dependency should be fixed. | 31 # in. TODO(brettw): This reverse dependency should be fixed. |
32 static_library("common") { | 32 static_library("common") { |
33 sources = rebase_path(extensions_gypi_values.extensions_common_sources, | 33 sources = rebase_path(extensions_gypi_values.extensions_common_sources, |
34 ".", | 34 ".", |
35 "//extensions") | 35 "//extensions") |
36 | 36 |
37 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 37 configs += [ |
38 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 38 "//build/config:precompiled_headers", |
| 39 |
| 40 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 41 "//build/config/compiler:no_size_t_to_int_warning", |
| 42 ] |
39 | 43 |
40 deps = [ | 44 deps = [ |
41 ":common_constants", | 45 ":common_constants", |
42 ":mojo", | 46 ":mojo", |
43 | 47 |
44 # TODO(benwells): figure out what to do with the api target and | 48 # TODO(benwells): figure out what to do with the api target and |
45 # api resources compiled into the chrome resource bundle. | 49 # api resources compiled into the chrome resource bundle. |
46 # http://crbug.com/162530 | 50 # http://crbug.com/162530 |
47 "//chrome:resources", | 51 "//chrome:resources", |
48 "//components/crx_file", | 52 "//components/crx_file", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 84 |
81 if (enable_nacl) { | 85 if (enable_nacl) { |
82 nacl_sources = | 86 nacl_sources = |
83 rebase_path(extensions_gypi_values.extensions_common_sources_nacl, | 87 rebase_path(extensions_gypi_values.extensions_common_sources_nacl, |
84 ".", | 88 ".", |
85 "//extensions") | 89 "//extensions") |
86 sources += nacl_sources | 90 sources += nacl_sources |
87 } | 91 } |
88 } | 92 } |
89 } # enable_extensions | 93 } # enable_extensions |
OLD | NEW |