GN bootstrap fixes:

- add missing file to compile
- fix final build directory (and make --output work)

BUG=none
R=dpranke@chromium.org,tfarina@chromium.org

Review URL: https://codereview.chromium.org/1411303008

Cr-Original-Commit-Position: refs/heads/master@{#356999}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6a5bdd901706d4c8e8e66478336d5f4ed72aa356
diff --git a/tools/gn/bootstrap/bootstrap.py b/tools/gn/bootstrap/bootstrap.py
index 53845c2..c17c84f 100755
--- a/tools/gn/bootstrap/bootstrap.py
+++ b/tools/gn/bootstrap/bootstrap.py
@@ -65,7 +65,7 @@
     shutil.copy2(temp_gn, out_gn)
   else:
     print 'Building gn using itself to %s...' % build_rel
-    build_gn_with_gn(temp_gn, build_rel, options)
+    build_gn_with_gn(temp_gn, build_root, options)
 
   if options.output:
     # Preserve the executable permission bit.
@@ -156,6 +156,7 @@
       'base/third_party/superfasthash/superfasthash.c',
   ])
   static_libraries['base']['sources'].extend([
+      'base/allocator/allocator_extension_thunks.cc',
       'base/at_exit.cc',
       'base/base_paths.cc',
       'base/base_switches.cc',