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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 | 7 |
8 # GYP version: extensions/extensions.gyp:extensions_common_constants | 8 # GYP version: extensions/extensions.gyp:extensions_common_constants |
9 source_set("common_constants") { | 9 source_set("common_constants") { |
10 sources = [ | 10 sources = [ |
11 "constants.cc", | 11 "constants.cc", |
12 "constants.h", | 12 "constants.h", |
13 ] | 13 ] |
14 | 14 |
15 if (is_win) { | 15 if (is_win) { |
16 cflags = [ | 16 cflags = [ |
17 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 17 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
18 ] | 18 ] |
19 } | 19 } |
20 } | 20 } |
21 | 21 |
22 if (enable_extensions) { | 22 if (enable_extensions) { |
23 | 23 |
24 mojom("mojo") { | 24 mojom("mojo") { |
25 sources = [ | 25 sources = [ |
26 "mojo/keep_alive.mojom", | 26 "mojo/keep_alive.mojom", |
27 "stash.mojom", | 27 "mojo/stash.mojom", |
28 ] | 28 ] |
29 } | 29 } |
30 | 30 |
31 | 31 |
32 # GYP version: extensions/extensions.gyp:extensions_common | 32 # GYP version: extensions/extensions.gyp:extensions_common |
33 source_set("common") { | 33 source_set("common") { |
34 sources = [ | 34 sources = [ |
35 "api/messaging/message.h", | 35 "api/messaging/message.h", |
36 "api/bluetooth/bluetooth_manifest_data.cc", | 36 "api/bluetooth/bluetooth_manifest_data.cc", |
37 "api/bluetooth/bluetooth_manifest_data.h", | 37 "api/bluetooth/bluetooth_manifest_data.h", |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 } | 252 } |
253 | 253 |
254 if (is_win) { | 254 if (is_win) { |
255 cflags = [ | 255 cflags = [ |
256 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 256 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
257 ] | 257 ] |
258 } | 258 } |
259 } | 259 } |
260 | 260 |
261 } # enable_extensions | 261 } # enable_extensions |
OLD | NEW |