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/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//extensions/extensions.gni") | 7 import("//extensions/extensions.gni") |
8 | 8 |
9 # GYP version: extensions/extensions.gyp:extensions_browser | 9 # GYP version: extensions/extensions.gyp:extensions_browser |
10 source_set("browser") { | 10 source_set("browser") { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 "//components/variations", | 57 "//components/variations", |
58 "//crypto:platform", | 58 "//crypto:platform", |
59 "//device/bluetooth", | 59 "//device/bluetooth", |
60 "//device/core", | 60 "//device/core", |
61 "//device/hid", | 61 "//device/hid", |
62 "//device/serial", | 62 "//device/serial", |
63 "//device/usb", | 63 "//device/usb", |
64 "//extensions/common/api/cast_channel:cast_channel_proto", | 64 "//extensions/common/api/cast_channel:cast_channel_proto", |
65 ] | 65 ] |
66 | 66 |
67 if (is_chromeos) { | 67 if (use_cros_fe) { |
68 deps += [ "//chromeos" ] | 68 deps += [ "//chromeos" ] |
69 } | 69 } |
70 | 70 |
71 if (is_chromeos) { | 71 if (use_cros_fe) { |
72 chromeos_sources = rebase_path( | 72 chromeos_sources = rebase_path( |
73 extensions_gypi_values.extensions_browser_sources_chromeos, | 73 extensions_gypi_values.extensions_browser_sources_chromeos, |
74 ".", | 74 ".", |
75 "//extensions") | 75 "//extensions") |
76 sources += chromeos_sources | 76 sources += chromeos_sources |
77 } else { | 77 } else { |
78 nonchromeos_sources = rebase_path( | 78 nonchromeos_sources = rebase_path( |
79 extensions_gypi_values.extensions_browser_sources_nonchromeos, | 79 extensions_gypi_values.extensions_browser_sources_nonchromeos, |
80 ".", | 80 ".", |
81 "//extensions") | 81 "//extensions") |
(...skipping 14 matching lines...) Expand all Loading... |
96 win_or_mac_sources = rebase_path( | 96 win_or_mac_sources = rebase_path( |
97 extensions_gypi_values.extensions_browser_sources_win_or_mac, | 97 extensions_gypi_values.extensions_browser_sources_win_or_mac, |
98 ".", | 98 ".", |
99 "//extensions") | 99 "//extensions") |
100 sources += win_or_mac_sources | 100 sources += win_or_mac_sources |
101 } | 101 } |
102 } | 102 } |
103 } | 103 } |
104 } | 104 } |
105 } | 105 } |
OLD | NEW |