diff --git a/.gitignore b/.gitignore index aab8f752f..bc2e4787d 100644 --- a/.gitignore +++ b/.gitignore @@ -83,6 +83,7 @@ /tools/android /tools/android-dummy-test /tools/clang +/tools/gn /tools/grit /tools/gritsettings /tools/gyp @@ -94,7 +95,6 @@ /webrtc/modules/audio_device/android/test/bin/ /webrtc/modules/audio_device/android/test/gen/ /webrtc/modules/audio_device/android/test/libs/ -/webrtc/supplement.gypi /webrtc/video_engine/test/android/bin /webrtc/video_engine/test/android/gen /webrtc/video_engine/test/android/libs diff --git a/DEPS b/DEPS index 5138acacc..94d2c8853 100644 --- a/DEPS +++ b/DEPS @@ -253,13 +253,6 @@ hooks = [ "-s", Var("root_dir") + "/tools/gn/bin/linux/gn32.sha1", ], }, - { - # Create a supplement.gypi file under trunk/webrtc. This file will be picked - # up by gyp and used to enable the standalone build. - "pattern": ".", - "action": ["python", Var("root_dir") + "/tools/create_supplement_gypi.py", - Var("root_dir") + "/webrtc/supplement.gypi"], - }, { # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes # zero seconds to run. If something changed, it downloads a prebuilt clang. diff --git a/tools/create_supplement_gypi.py b/tools/create_supplement_gypi.py deleted file mode 100644 index 7f996e747..000000000 --- a/tools/create_supplement_gypi.py +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env python -# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. -# -# Use of this source code is governed by a BSD-style license -# that can be found in the LICENSE file in the root of the source -# tree. An additional intellectual property rights grant can be found -# in the file PATENTS. All contributing project authors may -# be found in the AUTHORS file in the root of the source tree. - -import sys - -supplement_gypi = """#!/usr/bin/env python -# This file is generated by %s. Not for check-in. -# Please see the WebRTC DEPS file for details. -{ - 'variables': { - 'build_with_chromium': 0, - } -} -""" - -def main(argv): - open(argv[1], 'w').write(supplement_gypi % argv[0]) - -if __name__ == '__main__': - sys.exit(main(sys.argv)) diff --git a/webrtc/build/common.gypi b/webrtc/build/common.gypi index b4d6aa15c..dc0847125 100644 --- a/webrtc/build/common.gypi +++ b/webrtc/build/common.gypi @@ -14,8 +14,7 @@ 'variables': { 'variables': { 'variables': { - # This will be set to zero in the supplement.gypi triggered by a - # gclient hook in the standalone build. + # This will already be set to zero by supplement.gypi 'build_with_chromium%': 1, }, 'build_with_chromium%': '<(build_with_chromium)', diff --git a/webrtc/supplement.gypi b/webrtc/supplement.gypi new file mode 100644 index 000000000..7898d4cbd --- /dev/null +++ b/webrtc/supplement.gypi @@ -0,0 +1,5 @@ +{ + 'variables': { + 'build_with_chromium': 0, + } +}