OLD | NEW |
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 test("flatbuffers_unittest") { | 71 test("flatbuffers_unittest") { |
72 sources = [ | 72 sources = [ |
73 # The following files are not included in :flatbuffers | 73 # The following files are not included in :flatbuffers |
74 # but are listed here because test.cpp tests more than what will | 74 # but are listed here because test.cpp tests more than what will |
75 # get included into Chrome (reflection and generation). | 75 # get included into Chrome (reflection and generation). |
76 "src/include/reflection.h", | 76 "src/include/reflection.h", |
77 "src/include/reflection_generated.h", | 77 "src/include/reflection_generated.h", |
78 | 78 |
79 # This is the actual test. | 79 # This is the actual test. |
80 "src/tests/test.cpp", | 80 "src/tests/test.cpp", |
| 81 "src/tests/test.h", |
81 ] | 82 ] |
82 deps = [ | 83 deps = [ |
83 ":compiler_files", | 84 ":compiler_files", |
84 ":flatbuffers", | 85 ":flatbuffers", |
85 ":flatbuffers_samplebuffer", | 86 ":flatbuffers_samplebuffer", |
86 ] | 87 ] |
87 data = [ | 88 data = [ |
88 "src/tests/", | 89 "src/tests/", |
89 ] | 90 ] |
90 } | 91 } |
OLD | NEW |