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

Issue 2082453003: 🎅 Use GN's dependency info for native libraries in write_build_config.py (Closed)

Created:
4 years, 6 months ago by agrieve
Modified:
4 years, 6 months ago
Reviewers:
jbudorick, brettw
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, nyquist+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, ben+mojo_chromium.org, shaktisahu+watch-blimp_chromium.org, cbentzel+watch_chromium.org, maniscalco+watch-blimp_chromium.org, chromoting-reviews_chromium.org, jam, abarth-chromium, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, darin-cc_chromium.org, khushalsagar+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, jbudorick+watch_chromium.org, mlamouri+watch-content_chromium.org, Peter Beverloo, mkwst+moarreviews-shell_chromium.org, jochen+watch_chromium.org, anandc+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, android-webview-reviews_chromium.org, Aaron Boodman, mikecase+watch_chromium.org, darin (slow to review), dtrainor+watch-blimp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use GN's dependency info for native libraries in write_build_config.py This is in place of readelf / write_ordered_libaries.py. Main motivation is to be able to write .build_config files quickly, so that they can be used for generating build.gradle files for Android Studio without first needing to build a bunch of native libraries. BUG=620034 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/48bd27ea3fd3b86e352d6a7a8e4e70b0c711ae78 Cr-Commit-Position: refs/heads/master@{#401398}

Patch Set 1 #

Patch Set 2 : remove osmesa from cc #

Patch Set 3 : Use GN's dependency info for native libraries in write_build_config.py #

Patch Set 4 : fix osmesa on non-android #

Total comments: 12

Patch Set 5 : remove unused import #

Patch Set 6 : remove dependent patchset (ugh) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -143 lines) Patch
M android_webview/system_webview_apk_tmpl.gni View 2 chunks +1 line, -2 lines 0 comments Download
M android_webview/test/BUILD.gn View 2 chunks +3 lines, -5 lines 0 comments Download
M blimp/client/BUILD.gn View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M build/android/BUILD.gn View 1 chunk +3 lines, -0 lines 0 comments Download
M build/android/gyp/write_build_config.py View 1 2 3 4 5 chunks +28 lines, -39 lines 0 comments Download
M build/config/android/internal_rules.gni View 1 2 1 chunk +7 lines, -6 lines 0 comments Download
M build/config/android/rules.gni View 1 2 18 chunks +47 lines, -58 lines 0 comments Download
M cc/BUILD.gn View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M chrome/android/BUILD.gn View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M components/cronet/android/BUILD.gn View 3 chunks +3 lines, -6 lines 0 comments Download
M content/shell/android/BUILD.gn View 1 2 4 chunks +2 lines, -4 lines 0 comments Download
M mojo/android/BUILD.gn View 1 chunk +1 line, -2 lines 0 comments Download
M net/android/BUILD.gn View 1 chunk +1 line, -2 lines 0 comments Download
M remoting/android/BUILD.gn View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M remoting/android/remoting_apk_tmpl.gni View 1 chunk +2 lines, -5 lines 0 comments Download
M testing/test.gni View 1 chunk +1 line, -3 lines 0 comments Download
M tools/android/memconsumer/BUILD.gn View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 31 (14 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2082453003/1
4 years, 6 months ago (2016-06-20 20:39:53 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/83943)
4 years, 6 months ago (2016-06-20 21:00:46 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2082453003/20001
4 years, 6 months ago (2016-06-21 02:17:16 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/231378)
4 years, 6 months ago (2016-06-21 02:50:02 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2082453003/20001
4 years, 6 months ago (2016-06-21 16:58:00 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2082453003/60001
4 years, 6 months ago (2016-06-21 17:06:00 UTC) #15
agrieve
On 2016/06/21 16:58:00, commit-bot: I haz the power wrote: > Dry run: CQ is trying ...
4 years, 6 months ago (2016-06-21 17:07:22 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-21 18:26:01 UTC) #18
jbudorick
This looks like it'll break gyp again. We should make sure those webrtc bots have ...
4 years, 6 months ago (2016-06-22 14:20:48 UTC) #19
agrieve
This shouldn't break GYP since GYP doesn't use write_build_config.py https://codereview.chromium.org/2082453003/diff/60001/build/android/gyp/write_build_config.py File build/android/gyp/write_build_config.py (left): https://codereview.chromium.org/2082453003/diff/60001/build/android/gyp/write_build_config.py#oldcode540 build/android/gyp/write_build_config.py:540: ...
4 years, 6 months ago (2016-06-22 14:34:00 UTC) #20
jbudorick
I obviously forgot that gyp doesn't use write_build_config. https://codereview.chromium.org/2082453003/diff/60001/build/android/gyp/write_build_config.py File build/android/gyp/write_build_config.py (left): https://codereview.chromium.org/2082453003/diff/60001/build/android/gyp/write_build_config.py#oldcode540 build/android/gyp/write_build_config.py:540: write_ordered_libraries.SetReadelfPath(options.readelf_path) ...
4 years, 6 months ago (2016-06-22 14:52:52 UTC) #21
agrieve
https://codereview.chromium.org/2082453003/diff/60001/build/android/gyp/write_build_config.py File build/android/gyp/write_build_config.py (right): https://codereview.chromium.org/2082453003/diff/60001/build/android/gyp/write_build_config.py#newcode38 build/android/gyp/write_build_config.py:38: import write_ordered_libraries On 2016/06/22 14:52:52, jbudorick (EMEA til June ...
4 years, 6 months ago (2016-06-22 15:39:24 UTC) #22
jbudorick
lgtm https://codereview.chromium.org/2082453003/diff/60001/build/config/android/rules.gni File build/config/android/rules.gni (right): https://codereview.chromium.org/2082453003/diff/60001/build/config/android/rules.gni#newcode1548 build/config/android/rules.gni:1548: deps = _native_libs_deps On 2016/06/22 15:39:23, agrieve wrote: ...
4 years, 6 months ago (2016-06-22 15:44:22 UTC) #23
brettw
lgtm
4 years, 6 months ago (2016-06-22 18:03:01 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2082453003/100001
4 years, 6 months ago (2016-06-22 18:15:55 UTC) #27
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-06-22 21:04:28 UTC) #29
commit-bot: I haz the power
4 years, 6 months ago (2016-06-22 21:09:26 UTC) #31
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/48bd27ea3fd3b86e352d6a7a8e4e70b0c711ae78
Cr-Commit-Position: refs/heads/master@{#401398}

Powered by Google App Engine
This is Rietveld 408576698