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

Issue 9148084: Remove hand-rolled cases of protobufs generations/compilation (Closed)

Created:
8 years, 11 months ago by KushalP
Modified:
8 years, 10 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Remove hand-rolled cases of protobufs generations/compilation using src/build/protoc.gypi to offer consistency between the other compilation steps, as well as ensuring that important variables (such as hard_dependency) are always properly set. BUG=109955 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120063

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix type and source location #

Patch Set 3 : generates, but doesn't compile #

Total comments: 3

Patch Set 4 : show latest #

Patch Set 5 : using gyp vars #

Patch Set 6 : Update python load path #

Total comments: 1

Patch Set 7 : use GYP var instead of str literal #

Total comments: 1

Patch Set 8 : update copyright year #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -57 lines) Patch
M chrome/app/policy/cloud_policy_codegen.gyp View 1 2 3 4 5 6 2 chunks +13 lines, -55 lines 0 comments Download
M net/test/test_server.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
KushalP
This is my first attempt at fixing the GYP file. Generation appears to work fine ...
8 years, 11 months ago (2012-01-13 00:14:10 UTC) #1
Ryan Sleevi
http://codereview.chromium.org/9148084/diff/1/chrome/app/policy/cloud_policy_codegen.gyp File chrome/app/policy/cloud_policy_codegen.gyp (right): http://codereview.chromium.org/9148084/diff/1/chrome/app/policy/cloud_policy_codegen.gyp#newcode66 chrome/app/policy/cloud_policy_codegen.gyp:66: 'type': 'static_library', We don't want this. It should still ...
8 years, 11 months ago (2012-01-13 01:21:52 UTC) #2
KushalP
http://codereview.chromium.org/9148084/diff/1/chrome/app/policy/cloud_policy_codegen.gyp File chrome/app/policy/cloud_policy_codegen.gyp (right): http://codereview.chromium.org/9148084/diff/1/chrome/app/policy/cloud_policy_codegen.gyp#newcode66 chrome/app/policy/cloud_policy_codegen.gyp:66: 'type': 'static_library', That makes sense. I got the impression ...
8 years, 11 months ago (2012-01-13 12:47:48 UTC) #3
KushalP
Finally getting somewhere. It now generates "something" and compiling fails with the following: CXX(target) out/Debug/obj.target/browser/chrome/browser/policy/user_policy_cache.o ...
8 years, 11 months ago (2012-01-16 23:28:13 UTC) #4
KushalP
After some fiddling I've figured out how to reproduce the fails after I've done a ...
8 years, 11 months ago (2012-01-20 01:00:03 UTC) #5
Ryan Sleevi
As I mentioned on the bug, care needs to be taken about the paths here. ...
8 years, 11 months ago (2012-01-22 01:04:03 UTC) #6
KushalP
I couldn't get GYPD to work. Instead I'm diffing the generated makefiles. You can see ...
8 years, 11 months ago (2012-01-26 12:06:22 UTC) #7
KushalP
The biggest issue is the different file paths for the the Python files. They reside ...
8 years, 11 months ago (2012-01-26 12:18:06 UTC) #8
KushalP
It appears to be building and finding the relevant files that it needs. I'm not ...
8 years, 10 months ago (2012-01-31 13:29:34 UTC) #9
KushalP
...and it's passed for mac_rel. That's interesting. Maybe the errors are occurring due to clobber ...
8 years, 10 months ago (2012-01-31 13:59:58 UTC) #10
KushalP
On 2012/01/31 13:59:58, KushalP wrote: > ...and it's passed for mac_rel. That's interesting. Maybe the ...
8 years, 10 months ago (2012-01-31 14:00:59 UTC) #11
Ryan Sleevi
LGTM, mod nit below https://chromiumcodereview.appspot.com/9148084/diff/24001/chrome/app/policy/cloud_policy_codegen.gyp File chrome/app/policy/cloud_policy_codegen.gyp (right): https://chromiumcodereview.appspot.com/9148084/diff/24001/chrome/app/policy/cloud_policy_codegen.gyp#newcode86 chrome/app/policy/cloud_policy_codegen.gyp:86: 'proto_out_dir': 'chrome/browser/policy/proto', <(proto_path_substr) here as ...
8 years, 10 months ago (2012-01-31 19:55:40 UTC) #12
KushalP
Adding Joao as they're an OWNER for chrome/app/policy. Summary of status: Patch Set #6 has ...
8 years, 10 months ago (2012-01-31 22:32:04 UTC) #13
Joao da Silva
lgtm http://codereview.chromium.org/9148084/diff/26003/net/test/test_server.cc File net/test/test_server.cc (right): http://codereview.chromium.org/9148084/diff/26003/net/test/test_server.cc#newcode1 net/test/test_server.cc:1: // Copyright (c) 2011 The Chromium Authors. All ...
8 years, 10 months ago (2012-02-01 10:09:05 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kushi.p@gmail.com/9148084/32001
8 years, 10 months ago (2012-02-01 12:32:53 UTC) #15
commit-bot: I haz the power
8 years, 10 months ago (2012-02-01 14:09:53 UTC) #16
Change committed as 120063

Powered by Google App Engine
This is Rietveld 408576698