chrome: update pdf handling
There is no internal_pdf gyp flag anymore. Instead, it's always built,
so drop all the special handling of the internal repo.
We still apply the USE=chrome_pdf flag to binary builds though because
when we turn that off, it'll force a lot of people to needlessly rebuild
their Chrome. Once the flag is dropped from the ebuild, we can drop it
from our config too.
BUG=None
TEST=`cbuildbot lumpy-tot-chrome-pfq-informational` passes
TEST=`./buildbot/run_tests` passes
Change-Id: I2750e253257637122e9c1a74cdc8f7c218774127
Reviewed-on: https://chromium-review.googlesource.com/200552
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
diff --git a/scripts/sync_chrome.py b/scripts/sync_chrome.py
index 7198e6d..43ff629 100644
--- a/scripts/sync_chrome.py
+++ b/scripts/sync_chrome.py
@@ -24,6 +24,7 @@
parser.add_argument('--internal', help='Sync internal version of Chrome',
action='store_true', default=False)
+ # TODO(build): Delete this once all the calls disappear.
parser.add_argument('--pdf', help='Sync PDF source code',
action='store_true', default=False)
parser.add_argument('--reset', help='Revert local changes',
@@ -49,7 +50,7 @@
# Sync new Chrome.
gclient.WriteConfigFile(options.gclient, options.chrome_root,
- options.internal, options.pdf, options.version)
+ options.internal, options.version)
sync_fn = functools.partial(
gclient.Sync, options.gclient, options.chrome_root, reset=options.reset)