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

Side by Side Diff: third_party/flatbuffers/BUILD.gn

Issue 2881453002: DNR Prototype: With flatbuffers
Patch Set: -- Created 3 years, 6 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/utility/unpacker.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("//testing/test.gni") 5 import("//testing/test.gni")
6 import("//third_party/flatbuffers/flatbuffer.gni") 6 import("//third_party/flatbuffers/flatbuffer.gni")
7 7
8 config("flatbuffers_config") { 8 config("flatbuffers_config") {
9 include_dirs = [ "src/include" ] 9 include_dirs = [ "src/include" ]
10 } 10 }
11 11
12 source_set("flatbuffers") { 12 source_set("flatbuffers") {
13 sources = [ 13 sources = [
14 "src/include/flatbuffers/flatbuffers.h", 14 "src/include/flatbuffers/flatbuffers.h",
15 "src/include/flatbuffers/hash.h", 15 "src/include/flatbuffers/hash.h",
16 ] 16 ]
17 17
18 configs -= [ "//build/config/compiler:chromium_code" ] 18 configs -= [ "//build/config/compiler:chromium_code" ]
19 configs += [ "//build/config/compiler:no_chromium_code" ] 19 configs += [ "//build/config/compiler:no_chromium_code" ]
20 public_configs = [ ":flatbuffers_config" ] 20 all_dependent_configs = [ ":flatbuffers_config" ]
21 } 21 }
22 22
23 source_set("compiler_files") { 23 source_set("compiler_files") {
24 sources = [ 24 sources = [
25 "src/include/flatbuffers/code_generators.h", 25 "src/include/flatbuffers/code_generators.h",
26 "src/include/flatbuffers/idl.h", 26 "src/include/flatbuffers/idl.h",
27 "src/include/flatbuffers/util.h", 27 "src/include/flatbuffers/util.h",
28 "src/src/idl_gen_cpp.cpp", 28 "src/src/idl_gen_cpp.cpp",
29 "src/src/idl_gen_fbs.cpp", 29 "src/src/idl_gen_fbs.cpp",
30 "src/src/idl_gen_general.cpp", 30 "src/src/idl_gen_general.cpp",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 ] 82 ]
83 deps = [ 83 deps = [
84 ":compiler_files", 84 ":compiler_files",
85 ":flatbuffers", 85 ":flatbuffers",
86 ":flatbuffers_samplebuffer", 86 ":flatbuffers_samplebuffer",
87 ] 87 ]
88 data = [ 88 data = [
89 "src/tests/", 89 "src/tests/",
90 ] 90 ]
91 } 91 }
OLDNEW
« no previous file with comments | « extensions/utility/unpacker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698