| 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/chromecast_build.gni") | 5 import("//build/config/chromecast_build.gni") | 
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") | 
| 7 import("//content/common/common.gni") | 7 import("//content/common/common.gni") | 
| 8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") | 
| 9 | 9 | 
| 10 # See //content/BUILD.gn for how this works. | 10 # See //content/BUILD.gn for how this works. | 
| 11 group("common") { | 11 group("common") { | 
| 12   if (is_component_build) { | 12   if (is_component_build) { | 
| 13     public_deps = [ | 13     public_deps = [ | 
|  | 14       ":mojo_bindings", | 
| 14       "//content", | 15       "//content", | 
| 15     ] | 16     ] | 
| 16   } else { | 17   } else { | 
| 17     public_deps = [ | 18     public_deps = [ | 
| 18       ":common_sources", | 19       ":common_sources", | 
| 19     ] | 20     ] | 
| 20   } | 21   } | 
| 21 } | 22 } | 
| 22 | 23 | 
| 23 # This target allows other targets to depend on result_codes.h which is a | 24 # This target allows other targets to depend on result_codes.h which is a | 
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 111   } | 112   } | 
| 112 } | 113 } | 
| 113 | 114 | 
| 114 mojom("mojo_bindings") { | 115 mojom("mojo_bindings") { | 
| 115   sources = [ | 116   sources = [ | 
| 116     "background_sync.mojom", | 117     "background_sync.mojom", | 
| 117     "mojo_geoposition.mojom", | 118     "mojo_geoposition.mojom", | 
| 118     "permission_status.mojom", | 119     "permission_status.mojom", | 
| 119     "service_worker_event_status.mojom", | 120     "service_worker_event_status.mojom", | 
| 120   ] | 121   ] | 
|  | 122   if (!is_ios) { | 
|  | 123     sources += [ "web_usb_permission_request.mojom" ] | 
|  | 124     deps = [ | 
|  | 125       "//device/devices_app/usb/public/interfaces", | 
|  | 126     ] | 
|  | 127   } | 
| 121 } | 128 } | 
| OLD | NEW | 
|---|