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

Issue 11343027: Make the editor build callable from tools/build.py (Closed)

Created:
8 years, 1 month ago by devoncarew
Modified:
7 years, 11 months ago
Reviewers:
ricow1, ahe, danrubel
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Make the editor build callable from tools/build.py Committed: https://code.google.com/p/dart/source/detail?r=16979

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Patch Set 5 : #

Total comments: 30

Patch Set 6 : #

Patch Set 7 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -50 lines) Patch
M editor/tools/features/com.google.dart.tools.deploy.feature_releng/build-common.xml View 1 2 3 4 5 6 5 chunks +9 lines, -3 lines 0 comments Download
M editor/tools/features/com.google.dart.tools.deploy.feature_releng/build_rcp.xml View 1 2 3 4 5 6 9 chunks +24 lines, -47 lines 0 comments Download
A tools/create_editor.py View 1 2 3 4 5 6 1 chunk +165 lines, -0 lines 2 comments Download

Messages

Total messages: 16 (0 generated)
devoncarew
https://chromiumcodereview.appspot.com/11343027/diff/14/dart.gyp File dart.gyp (right): https://chromiumcodereview.appspot.com/11343027/diff/14/dart.gyp#newcode127 dart.gyp:127: #'<!@(["python", "tools/list_files.py", "\\.java$", "editor/tools/plugins"])', Currently we always run the ...
8 years, 1 month ago (2012-10-31 01:20:17 UTC) #1
ahe
Hi Devon, This is a great start, but please don't submit this until we are ...
8 years, 1 month ago (2012-10-31 04:17:58 UTC) #2
ahe
Found it! This is from deps/all.deps/DEPS: { "pattern": ".", "action": ["python", "dart/tools/generate_projects.py", "compiler"], }, This ...
8 years, 1 month ago (2012-10-31 04:24:31 UTC) #3
devoncarew
> This is a great start, but please don't submit this until we are sure ...
8 years, 1 month ago (2012-10-31 18:48:24 UTC) #4
devoncarew
So, I added an entry to the DEPS file and created an editor/build/generate_sources.py script which ...
8 years, 1 month ago (2012-11-09 19:01:48 UTC) #5
ahe
On 2012/11/09 19:01:48, devoncarew wrote: > So, I added an entry to the DEPS file ...
8 years, 1 month ago (2012-11-12 14:19:02 UTC) #6
devoncarew
> I don't think that would work. Could you upload > editor/build/generate_sources.py and your changes ...
8 years, 1 month ago (2012-11-12 17:57:07 UTC) #7
devoncarew
7 years, 11 months ago (2013-01-03 23:57:25 UTC) #8
danrubel
The Ant and Java changes look good, but I can't comment on the other changes.
7 years, 11 months ago (2013-01-04 15:38:49 UTC) #9
devoncarew
PTAL - this has been reswizzled to not modify the dart.gyp or all.deps/DEPS file. So ...
7 years, 11 months ago (2013-01-07 21:38:49 UTC) #10
danrubel
LGTM with comments... https://codereview.chromium.org/11343027/diff/17001/editor/tools/features/com.google.dart.tools.deploy.feature_releng/build_rcp.xml File editor/tools/features/com.google.dart.tools.deploy.feature_releng/build_rcp.xml (right): https://codereview.chromium.org/11343027/diff/17001/editor/tools/features/com.google.dart.tools.deploy.feature_releng/build_rcp.xml#newcode186 editor/tools/features/com.google.dart.tools.deploy.feature_releng/build_rcp.xml:186: <!-- delete dir="${samples.out.dir}"/ --> Lets leave ...
7 years, 11 months ago (2013-01-07 23:07:54 UTC) #11
devoncarew
https://codereview.chromium.org/11343027/diff/17001/editor/tools/features/com.google.dart.tools.deploy.feature_releng/build_rcp.xml File editor/tools/features/com.google.dart.tools.deploy.feature_releng/build_rcp.xml (right): https://codereview.chromium.org/11343027/diff/17001/editor/tools/features/com.google.dart.tools.deploy.feature_releng/build_rcp.xml#newcode186 editor/tools/features/com.google.dart.tools.deploy.feature_releng/build_rcp.xml:186: <!-- delete dir="${samples.out.dir}"/ --> On 2013/01/07 23:07:54, danrubel wrote: ...
7 years, 11 months ago (2013-01-07 23:21:22 UTC) #12
ricow1
Thanks a lot for getting the ball moving on this. This does not seem to ...
7 years, 11 months ago (2013-01-08 07:08:26 UTC) #13
devoncarew
Hey Rico, I think I addressed or responded to all of your issues. > This ...
7 years, 11 months ago (2013-01-09 21:08:09 UTC) #14
ricow1
LGTM https://codereview.chromium.org/11343027/diff/17001/tools/create_editor.py File tools/create_editor.py (right): https://codereview.chromium.org/11343027/diff/17001/tools/create_editor.py#newcode48 tools/create_editor.py:48: mode = ('release', 'debug')['Debug' in OUTPUT] On 2013/01/09 ...
7 years, 11 months ago (2013-01-10 13:23:12 UTC) #15
devoncarew
7 years, 11 months ago (2013-01-11 17:08:48 UTC) #16
https://codereview.chromium.org/11343027/diff/17001/tools/create_editor.py
File tools/create_editor.py (right):

https://codereview.chromium.org/11343027/diff/17001/tools/create_editor.py#ne...
tools/create_editor.py:48: mode = ('release', 'debug')['Debug' in OUTPUT]
> My only concern here is: when we change the name of the output directory this
is
> going to break (I would really like us to only have to change stuff like that
in
> one place). 

Gotcha, and that makes perfect sense to me. I'll keep the output path name
scrapping, but add --mode and --arch flags which will be used if passed in. I'll
also add a TODO: that we'll want to revisit this when the script is callable
from dart.gyp.

https://codereview.chromium.org/11343027/diff/28001/tools/create_editor.py
File tools/create_editor.py (right):

https://codereview.chromium.org/11343027/diff/28001/tools/create_editor.py#ne...
tools/create_editor.py:72: if os.path.isabs(root):
On 2013/01/10 13:23:12, ricow1 wrote:
> can you just return os.path.abspath(root)
> I assume that will check if it is absolute and just return it in that case

I tried it and this works fine - removed the isabs() check.

Powered by Google App Engine
This is Rietveld 408576698