Revert "Move httplib2 import above third_party."

This reverts commit cd1331ea69.

Reason for revert:
Original CL was reverted.

Original change's description:
> Move httplib2 import above third_party.
> 
> 7fd6347be3 removed the third_party/httplib2 files, but left the pyc files. This is breaking CQ for nest.
> 
> move httplib2 import above adding third_party to the path in ninjalog_uploader_wrapper to fix.
> 
> Change-Id: Id28f68ce7e3eb94783bdd5ee7ce15ae5930fde7e
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1988690
> Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
> Commit-Queue: Mark Orchard <morchard@google.com>

TBR=ehmaldonado@webrtc.org,ehmaldonado@chromium.org,morchard@google.com,apolito@google.com

Change-Id: Ic7775cdb4abae1855358711335349fc39eb37dfb
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1988739
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
changes/39/1988739/2
Edward Lesmes 6 years ago committed by Commit Bot
parent fa40bfa39b
commit 1961043388

@ -18,7 +18,6 @@ The log will be used to analyze user side build performance.
import argparse import argparse
import cStringIO import cStringIO
import gzip import gzip
import httplib2
import json import json
import logging import logging
import multiprocessing import multiprocessing
@ -28,9 +27,11 @@ import subprocess
import sys import sys
import time import time
ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.join(ROOT_DIR, 'third_party')) sys.path.insert(0, os.path.join(ROOT_DIR, 'third_party'))
import httplib2
# These build configs affect build performance a lot. # These build configs affect build performance a lot.
# TODO(tikuta): Add 'blink_symbol_level', 'closure_compile' and # TODO(tikuta): Add 'blink_symbol_level', 'closure_compile' and

Loading…
Cancel
Save