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

Issue 341823003: Add depfile support to android build scripts (Closed)

Created:
6 years, 6 months ago by cjhopman
Modified:
6 years, 6 months ago
Reviewers:
nyquist, Nico, brettw
CC:
chromium-reviews, klundberg+watch_chromium.org, erikwright+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, Nico
Visibility:
Public.

Description

Add depfile support to android build scripts This adds the --depfile option to a bunch of android's build scripts (the ones used by gn). It also adds a simple function in build_utils to calculate the paths of the imported python files. Currently, the written depfiles just contain that list of python files (which is much more accurate than the way this is handled in gyp). BUG=359249 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=279546

Patch Set 1 : #

Total comments: 5

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Fix CHROMIUM_SRC constant #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -6 lines) Patch
M base/android/jni_generator/jni_generator.py View 1 2 3 3 chunks +16 lines, -0 lines 0 comments Download
M build/android/PRESUBMIT.py View 1 chunk +3 lines, -3 lines 0 comments Download
M build/android/gn/zip.py View 3 chunks +10 lines, -0 lines 0 comments Download
M build/android/gyp/gcc_preprocess.py View 2 chunks +7 lines, -0 lines 0 comments Download
M build/android/gyp/jar_toc.py View 2 chunks +7 lines, -0 lines 0 comments Download
M build/android/gyp/javac.py View 2 chunks +7 lines, -0 lines 0 comments Download
M build/android/gyp/util/build_utils.py View 1 2 3 4 chunks +42 lines, -2 lines 0 comments Download
M build/config/android/internal_rules.gni View 1 chunk +3 lines, -1 line 0 comments Download
M build/config/android/rules.gni View 4 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
cjhopman
nyquist: * cced thakis for my comments about ninja depfile handling https://codereview.chromium.org/341823003/diff/20001/build/config/android/internal_rules.gni File build/config/android/internal_rules.gni (right): ...
6 years, 6 months ago (2014-06-23 15:08:21 UTC) #1
Nico
The reason the depfile format is like it is is because it's the same format ...
6 years, 6 months ago (2014-06-23 15:32:00 UTC) #2
cjhopman
On 2014/06/23 15:32:00, Nico (away) wrote: > The reason the depfile format is like it ...
6 years, 6 months ago (2014-06-23 16:07:20 UTC) #3
Nico
On Mon, Jun 23, 2014 at 9:07 AM, <cjhopman@chromium.org> wrote: > On 2014/06/23 15:32:00, Nico ...
6 years, 6 months ago (2014-06-23 16:10:46 UTC) #4
cjhopman
https://codereview.chromium.org/341823003/diff/20001/build/android/gyp/util/build_utils.py File build/android/gyp/util/build_utils.py (right): https://codereview.chromium.org/341823003/diff/20001/build/android/gyp/util/build_utils.py#newcode230 build/android/gyp/util/build_utils.py:230: p for p in abs_module_paths if p.startswith(chromium_src)] On 2014/06/23 ...
6 years, 6 months ago (2014-06-23 17:26:56 UTC) #5
nyquist
base/android and build/android lgtm https://codereview.chromium.org/341823003/diff/50010/build/android/gyp/util/build_utils.py File build/android/gyp/util/build_utils.py (right): https://codereview.chromium.org/341823003/diff/50010/build/android/gyp/util/build_utils.py#newcode244 build/android/gyp/util/build_utils.py:244: help='Path to depfile. This should ...
6 years, 6 months ago (2014-06-23 18:41:58 UTC) #6
cjhopman
brettw: build/config OWNERS https://codereview.chromium.org/341823003/diff/50010/build/android/gyp/util/build_utils.py File build/android/gyp/util/build_utils.py (right): https://codereview.chromium.org/341823003/diff/50010/build/android/gyp/util/build_utils.py#newcode244 build/android/gyp/util/build_utils.py:244: help='Path to depfile. This should be ...
6 years, 6 months ago (2014-06-24 18:12:53 UTC) #7
brettw
build/config LGTM
6 years, 6 months ago (2014-06-24 19:44:27 UTC) #8
cjhopman
The CQ bit was checked by cjhopman@chromium.org
6 years, 6 months ago (2014-06-24 20:15:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/341823003/90001
6 years, 6 months ago (2014-06-24 20:17:05 UTC) #10
commit-bot: I haz the power
6 years, 6 months ago (2014-06-24 23:38:35 UTC) #11
Message was sent while issue was closed.
Change committed as 279546

Powered by Google App Engine
This is Rietveld 408576698