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

Unified Diff: third_party/protobuf/proto_library.gni

Issue 2935953002: Fix protobuf's Python runtime and imports.
Patch Set: debug import path Created 3 years, 6 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 | « third_party/protobuf/README.chromium ('k') | third_party/protobuf/python/google/protobuf/descriptor_pb2.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/protobuf/proto_library.gni
diff --git a/third_party/protobuf/proto_library.gni b/third_party/protobuf/proto_library.gni
index 880a5af48dc927bc260e939fe96a2e4dd8f3479c..76498f0eec3ca257c7951b56a0366f4d02f33a16 100644
--- a/third_party/protobuf/proto_library.gni
+++ b/third_party/protobuf/proto_library.gni
@@ -327,7 +327,7 @@ template("proto_library") {
# use relative paths starting at |cc_out_dir|.
# However there is no necessity to add an additional directory, if all protos
# are located in the same directory which is in the search path by default.
- if (has_nested_dirs) {
+ if (has_nested_dirs && (generate_cc || generate_with_plugin)) {
config_name = "${target_name}_config"
config(config_name) {
include_dirs = [ cc_out_dir ]
« no previous file with comments | « third_party/protobuf/README.chromium ('k') | third_party/protobuf/python/google/protobuf/descriptor_pb2.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698