| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 ] | 42 ] |
| 43 } | 43 } |
| 44 | 44 |
| 45 executable("flatc") { | 45 executable("flatc") { |
| 46 sources = [ | 46 sources = [ |
| 47 "src/src/flatc.cpp", | 47 "src/src/flatc.cpp", |
| 48 ] | 48 ] |
| 49 deps = [ | 49 deps = [ |
| 50 ":compiler_files", | 50 ":compiler_files", |
| 51 ":flatbuffers", | 51 ":flatbuffers", |
| 52 "//build/config/sanitizers:deps", |
| 52 ] | 53 ] |
| 53 } | 54 } |
| 54 | 55 |
| 55 # The following is just for testing. | 56 # The following is just for testing. |
| 56 | 57 |
| 57 flatbuffer("flatbuffers_samplebuffer") { | 58 flatbuffer("flatbuffers_samplebuffer") { |
| 58 testonly = true | 59 testonly = true |
| 59 sources = [ | 60 sources = [ |
| 60 "src/tests/include_test1.fbs", | 61 "src/tests/include_test1.fbs", |
| 61 "src/tests/include_test2.fbs", | 62 "src/tests/include_test2.fbs", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 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 } |
| OLD | NEW |