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

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

Issue 2086213003: Data structures for Safe Browsing subresource filtering rules. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Data structures for Subresource Filter. Created 4 years, 5 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
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 executable("flatc") { 46 executable("flatc") {
47 sources = [ 47 sources = [
48 "src/src/flatc.cpp", 48 "src/src/flatc.cpp",
49 ] 49 ]
50 deps = [ 50 deps = [
51 ":compiler_files", 51 ":compiler_files",
52 ":flatbuffers", 52 ":flatbuffers",
53 "//build/config/sanitizers:deps", 53 "//build/config/sanitizers:deps",
54 ] 54 ]
55 ldflags = [
56 "-pie",
57 ]
55 } 58 }
56 59
57 # The following is just for testing. 60 # The following is just for testing.
58 61
59 flatbuffer("flatbuffers_samplebuffer") { 62 flatbuffer("flatbuffers_samplebuffer") {
60 testonly = true 63 testonly = true
61 sources = [ 64 sources = [
62 # Disabled as workaround for crbug.com/611351 65 # Disabled as workaround for crbug.com/611351
63 # "src/tests/include_test1.fbs", 66 # "src/tests/include_test1.fbs",
64 # "src/tests/include_test2.fbs", 67 # "src/tests/include_test2.fbs",
(...skipping 16 matching lines...) Expand all
81 ] 84 ]
82 deps = [ 85 deps = [
83 ":compiler_files", 86 ":compiler_files",
84 ":flatbuffers", 87 ":flatbuffers",
85 ":flatbuffers_samplebuffer", 88 ":flatbuffers_samplebuffer",
86 ] 89 ]
87 data = [ 90 data = [
88 "src/tests/", 91 "src/tests/",
89 ] 92 ]
90 } 93 }
OLDNEW
« no previous file with comments | « components/subresource_filter/core/common/proto/rules.proto ('k') | third_party/flatbuffers/flatbuffers.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698