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

Unified Diff: third_party/protobuf/BUILD.gn

Issue 889253004: Add support for extensions_unittests to the GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (gn) rebase Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/extensions_tests.gyp ('k') | third_party/protobuf/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/protobuf/BUILD.gn
diff --git a/third_party/protobuf/BUILD.gn b/third_party/protobuf/BUILD.gn
index 973672b94f7acdd2aa7c4b363d3b2afa53e5dbc0..1367d8a16b7fc8df45be4d1f0c09ad6886f8c713 100644
--- a/third_party/protobuf/BUILD.gn
+++ b/third_party/protobuf/BUILD.gn
@@ -30,10 +30,13 @@ if (component_mode == "shared_library") {
}
}
-# This condif should be applied to targets using generated code from the proto
+# This config should be applied to targets using generated code from the proto
# compiler. It sets up the include directories properly.
config("using_proto") {
- include_dirs = [ "$root_gen_dir/protoc_out" ]
+ include_dirs = [
+ "src",
+ "$root_gen_dir/protoc_out",
+ ]
}
protobuf_lite_sources = [
« no previous file with comments | « extensions/extensions_tests.gyp ('k') | third_party/protobuf/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698