4 Commits

Author SHA1 Message Date
Henrik Kjellander
f363d147d7 Roll chromium_revision f86fb54ec3..dd442d4812 (420104:421425)
Add a copy of Chromium's build/common.gypi @ fa8868418ffe9da48614de5bff07b72f97760f51
as webrtc/build/chromium_common.gypi to preserve GYP behavior.
Update webrtc/build/gyp_webrtc.py to include it during GYP invocation.

Change log: f86fb54ec3..dd442d4812
Full diff: f86fb54ec3..dd442d4812

Changed dependencies:
* src/buildtools: 57649e5e20..86f7e41d94
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/ed6c5d3910..0d81373f91
* src/third_party/libsrtp: 48bdd208dc..b17c065a8a
* src/third_party/libvpx/source/libvpx: 4282d29355..99ef84c65a
DEPS diff: f86fb54ec3..dd442d4812/DEPS

Clang version changed 280836:282487
Details: f86fb54ec3..dd442d4812/tools/clang/scripts/update.py

TBR=marpan@webrtc.org,
BUG=None
NOTRY=True

Review URL: https://codereview.webrtc.org/2380533002 .

Cr-Commit-Position: refs/heads/master@{#14409}
2016-09-28 07:45:12 +00:00
kjellander@webrtc.org
0026dd85de Fix bug in gyp_webrtc.py when DEPOT_TOOLS_WIN_TOOLCHAIN=0
In https://codereview.webrtc.org/1895713002 a bug was introduced
in order to satisfy the PyLint check.

BUG=webrtc:5911
NOTRY=True
R=phoglund@webrtc.org

Review URL: https://codereview.webrtc.org/1992813006 .

Cr-Commit-Position: refs/heads/master@{#12810}
2016-05-19 11:30:14 +00:00
kjellander@webrtc.org
001c20dd47 Move logic of gyp_webrtc into gyp_webrtc.py
For historical reasons gyp_webrtc.py was launcher script
for gyp_webrtc and the python logic lived in the
gyp_webrtc.  This change moves python code into the
.py file makes the extension-free gyp_webrtc a launcher
for gyp_webrtc.py.

Other changes:
* Move the code into a main() function.
* Add call to disable GC to save some processing time.
* Set executable permission on gyp_webrtc.py and remove it from
  gyp_webrtc.

Similar Chromium CL: https://codereview.chromium.org/1216863010

Motivation for this change:
* Gets checked with PyLint
* Easy to add unit tests if we add our own functionality.

R=phoglund@webrtc.org
TBR=tkchin@webrtc.org

Review URL: https://codereview.webrtc.org/1895713002 .

Cr-Commit-Position: refs/heads/master@{#12410}
2016-04-18 14:33:04 +00:00
kjellander@webrtc.org
7d7f08957c Add gyp_webrtc script to generate projects.
The reason for this is that http://crrev.com/245412
introduces a dependency of Chrome's src/build/gyp_chromium
to src/tools/find_depot_tools.py, which we don't have
synced in WebRTC (src/tools is very big).

Offline discussions shows that we cannot rely on syncing
individual subdirectories from Chrome in the future, but
maintaining our own gyp_webrtc file will at least buy us
some time for now, so we can roll past that chromium_revision
in WebRTC DEPS.

Overview of differences between gyp_webrtc and gyp_chromium
(and how we previously used gyp_chromium):
* No .gyp file needs to be passed (defaults to all.gyp)
* CHROMIUM_GYP_FILE is ignored (i.e. cannot be used to
  specify an alternate .gyp file to process)
* Ninja is used by default on all platforms unless GYP_GENERATORS
  is set.
* Gyp syntax check is always on
* Gyp circular dependency check is always on
* No support for automatic toolchain detection on Windows.
* --depth argument is no longer needed since calculated by
  the script.
* Support for a webrtc.gyp_env file sitting next to the
  .gclient file in the top dir of checkout, which can be
  used to override Gyp variables similar to chromium.gyp_env.
* SKIP_WEBRTC_GYP_ENV can be set to skip reading webrtc.gyp_env.

BUG=2863
TEST=Ran and verified behavior on Linux with:
gclient runhooks
webrtc/build/gyp_webrtc
webrtc/build/gyp_webrtc -Dextra_gyp_flag=0
. build/android/envsetup.sh && gclient runhooks
SKIP_WEBRTC_GYP_ENV=1 webrtc/build/gyp_webrtc
GYP_GENERATORS=make webrtc/build/gyp_webrtc

The patch also passes runhooks and compile step on all trybots.

R=andrew@webrtc.org, fischman@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/7759004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5467 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-31 09:34:51 +00:00