[ninjalog_uploader] add path for httplib2

This is to let httplib2 import its sock.py in __init__.py correctly.
This is pointed out in
https://groups.google.com/a/chromium.org/d/msg/chromium-dev/8BF_cywS9JY/8g-HHmuqEQAJ

Also removed an unnecessary httplib2 import.

Change-Id: Iad0377ad282acd9e1e222890f522e4e62086dcaf
Reviewed-on: https://chromium-review.googlesource.com/c/1475255
Reviewed-by: Yoshisato Yanagisawa <yyanagisawa@google.com>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
changes/55/1475255/3
Takuto Ikuta 7 years ago committed by Commit Bot
parent 4debfe4555
commit 5c00a22f22

@ -28,7 +28,11 @@ import subprocess
import sys
import time
from third_party import httplib2
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.join(ROOT_DIR, 'third_party'))
import httplib2
# These build configs affect build performance a lot.
# TODO(tikuta): Add 'blink_symbol_level', 'closure_compile' and

@ -8,8 +8,6 @@ import subprocess
import json
import sys
from third_party import httplib2
import ninjalog_uploader
THIS_DIR = os.path.dirname(__file__)

Loading…
Cancel
Save