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

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

Issue 1958033002: Remove include_test*.fbs from build files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Balazs' comments Created 4 years, 7 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 | « no previous file | third_party/flatbuffers/flatbuffers.gyp » ('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 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 }
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 ":compiler_files", 50 ":compiler_files",
51 ":flatbuffers", 51 ":flatbuffers",
52 ] 52 ]
53 } 53 }
54 54
55 # The following is just for testing. 55 # The following is just for testing.
56 56
57 flatbuffer("flatbuffers_samplebuffer") { 57 flatbuffer("flatbuffers_samplebuffer") {
58 testonly = true 58 testonly = true
59 sources = [ 59 sources = [
60 "src/tests/include_test1.fbs", 60 # Disabled as workaround for crbug.com/611351
61 "src/tests/include_test2.fbs", 61 # "src/tests/include_test1.fbs",
62 # "src/tests/include_test2.fbs",
62 "src/tests/monster_test.fbs", 63 "src/tests/monster_test.fbs",
63 "src/tests/namespace_test/namespace_test1.fbs", 64 "src/tests/namespace_test/namespace_test1.fbs",
64 "src/tests/namespace_test/namespace_test2.fbs", 65 "src/tests/namespace_test/namespace_test2.fbs",
65 ] 66 ]
66 } 67 }
67 68
68 test("flatbuffers_unittest") { 69 test("flatbuffers_unittest") {
69 sources = [ 70 sources = [
70 # The following files are not included in :flatbuffers 71 # The following files are not included in :flatbuffers
71 # but are listed here because test.cpp tests more than what will 72 # but are listed here because test.cpp tests more than what will
72 # get included into Chrome (reflection and generation). 73 # get included into Chrome (reflection and generation).
73 "src/include/reflection.h", 74 "src/include/reflection.h",
74 "src/include/reflection_generated.h", 75 "src/include/reflection_generated.h",
75 76
76 # This is the actual test. 77 # This is the actual test.
77 "src/tests/test.cpp", 78 "src/tests/test.cpp",
78 ] 79 ]
79 deps = [ 80 deps = [
80 ":compiler_files", 81 ":compiler_files",
81 ":flatbuffers", 82 ":flatbuffers",
82 ":flatbuffers_samplebuffer", 83 ":flatbuffers_samplebuffer",
83 ] 84 ]
84 data = [ 85 data = [
85 "src/tests/", 86 "src/tests/",
86 ] 87 ]
87 } 88 }
OLDNEW
« no previous file with comments | « no previous file | third_party/flatbuffers/flatbuffers.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698