| Index: extensions/BUILD.gn
 | 
| diff --git a/extensions/BUILD.gn b/extensions/BUILD.gn
 | 
| index e58246b0983d7aad80f732c58c371f71c862c1b5..ada07339ba47f19224ae194c9bba085497c7b81d 100644
 | 
| --- a/extensions/BUILD.gn
 | 
| +++ b/extensions/BUILD.gn
 | 
| @@ -196,11 +196,21 @@ test("extensions_unittests") {
 | 
|      "//testing/gmock",
 | 
|      "//testing/gtest",
 | 
|      "//third_party/leveldatabase",
 | 
| -    "//third_party/mojo/src/mojo/edk/js",
 | 
| -    "//third_party/mojo/src/mojo/edk/system",
 | 
|      "//third_party/mojo/src/mojo/public/cpp/bindings",
 | 
|    ]
 | 
|  
 | 
| +  if (use_chrome_edk) {
 | 
| +    deps += [
 | 
| +      "//mojo/edk/js",
 | 
| +      "//mojo/edk/system",
 | 
| +    ]
 | 
| +  } else {
 | 
| +    deps += [
 | 
| +      "//third_party/mojo/src/mojo/edk/js",
 | 
| +      "//third_party/mojo/src/mojo/edk/system",
 | 
| +    ]
 | 
| +  }
 | 
| +
 | 
|    data_deps = [ "//third_party/mesa:osmesa" ]
 | 
|  
 | 
|    if (is_win) {
 | 
| @@ -260,11 +270,21 @@ test("extensions_browsertests") {
 | 
|      "//mojo/environment:chromium",
 | 
|      "//testing/gmock",
 | 
|      "//testing/gtest",
 | 
| -    "//third_party/mojo/src/mojo/edk/js",
 | 
| -    "//third_party/mojo/src/mojo/edk/system",
 | 
|      "//third_party/mojo/src/mojo/public/cpp/bindings",
 | 
|    ]
 | 
|  
 | 
| +  if (use_chrome_edk) {
 | 
| +    deps += [
 | 
| +      "//mojo/edk/js",
 | 
| +      "//mojo/edk/system",
 | 
| +    ]
 | 
| +  } else {
 | 
| +    deps += [
 | 
| +      "//third_party/mojo/src/mojo/edk/js",
 | 
| +      "//third_party/mojo/src/mojo/edk/system",
 | 
| +    ]
 | 
| +  }
 | 
| +
 | 
|    data_deps = [ "//third_party/mesa:osmesa" ]
 | 
|  
 | 
|    if (is_win) {
 | 
| 
 |