Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(713)

Side by Side Diff: extensions/common/BUILD.gn

Issue 638273004: Move stash_backend into extensions/browser/mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/browser/stash_backend_unittest.cc ('k') | extensions/common/mojo/stash.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « extensions/browser/stash_backend_unittest.cc ('k') | extensions/common/mojo/stash.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698