OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//extensions/generated_extensions_api.gni") | 6 import("//extensions/generated_extensions_api.gni") |
7 | 7 |
8 gypi_values = exec_script( | 8 gypi_values = exec_script( |
9 "//build/gypi_to_gn.py", | 9 "//build/gypi_to_gn.py", |
10 [ rebase_path("api.gyp") ], | 10 [ rebase_path("api.gyp") ], |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 impl_dir = "//chrome/browser/extensions/api" | 37 impl_dir = "//chrome/browser/extensions/api" |
38 root_namespace = "extensions::api" | 38 root_namespace = "extensions::api" |
39 bundle = true | 39 bundle = true |
40 | 40 |
41 deps = [ | 41 deps = [ |
42 # Different APIs include some headers from chrome/common that in turn | 42 # Different APIs include some headers from chrome/common that in turn |
43 # include generated headers from these targets. | 43 # include generated headers from these targets. |
44 # TODO(brettw) this should be made unnecessary if possible. | 44 # TODO(brettw) this should be made unnecessary if possible. |
45 "//components/metrics/proto", | 45 "//components/metrics/proto", |
46 "//device/serial", | |
47 | 46 |
48 "//content/public/browser", | 47 "//content/public/browser", |
49 "//skia", | 48 "//skia", |
50 "//sync", | 49 "//sync", |
51 ] | 50 ] |
52 if (is_chromeos) { | 51 if (is_chromeos) { |
53 # deps += [ "<(DEPTH)/chrome/chrome.gyp:drive_proto" ] TODO)GYP) | 52 # deps += [ "<(DEPTH)/chrome/chrome.gyp:drive_proto" ] TODO)GYP) |
54 } | 53 } |
55 } | 54 } |
OLD | NEW |