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

Issue 137993002: IDL compiler: Move include path handling to compute_dependencies (Closed)

Created:
6 years, 11 months ago by Nils Barth (inactive)
Modified:
6 years, 11 months ago
Reviewers:
haraken
CC:
blink-reviews, Nils Barth (inactive), kojih, arv+blink, jsbell+bindings_chromium.org, sof, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, Nate Chapin, Inactive, kouhei (in TOK)
Visibility:
Public.

Description

IDL compiler: Move include path handling to compute_dependencies This is a preliminary CL for partial interfaces in the Python IDL compiler. Currently there is code duplication: compute_dependencies.py, idl_compiler, and code_generator_v8.py ...all do path handling. This consolidates it into compute_dependencies.py, so now the compiler doesn't need to know anything about paths. Specifically, this CL means that when we compute and store the full path, we also compute and store the C++ include path for the header. This refactoring will make adding partial interfaces to Python easy: we need include paths of partial interfaces (as this in included in the generated code), and we can store them in the same way. (Currently full path to dependencies is stored.) BUG=239771 R=haraken Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165064

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -19 lines) Patch
M Source/bindings/scripts/compute_dependencies.py View 3 chunks +16 lines, -3 lines 0 comments Download
M Source/bindings/scripts/unstable/code_generator_v8.py View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/scripts/unstable/idl_compiler.py View 4 chunks +1 line, -14 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Nils Barth (inactive)
6 years, 11 months ago (2014-01-14 09:05:54 UTC) #1
haraken
LGTM
6 years, 11 months ago (2014-01-14 09:28:10 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/137993002/1
6 years, 11 months ago (2014-01-14 10:59:04 UTC) #3
commit-bot: I haz the power
6 years, 11 months ago (2014-01-14 12:33:53 UTC) #4
Message was sent while issue was closed.
Change committed as 165064

Powered by Google App Engine
This is Rietveld 408576698