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 | 7 |
8 gypi_values = exec_script("//build/gypi_to_gn.py", | 8 gypi_values = exec_script("//build/gypi_to_gn.py", |
9 [ rebase_path("../chrome_utility.gypi") ], | 9 [ rebase_path("../chrome_utility.gypi") ], |
10 "scope", | 10 "scope", |
(...skipping 22 matching lines...) Expand all Loading... | |
33 if (!is_android) { | 33 if (!is_android) { |
34 sources += | 34 sources += |
35 rebase_path(gypi_values.chrome_utility_importer_sources, ".", "..") | 35 rebase_path(gypi_values.chrome_utility_importer_sources, ".", "..") |
36 } | 36 } |
37 | 37 |
38 if (enable_extensions) { | 38 if (enable_extensions) { |
39 deps += [ | 39 deps += [ |
40 "//chrome/common/extensions/api", | 40 "//chrome/common/extensions/api", |
41 "//extensions/utility", | 41 "//extensions/utility", |
42 | 42 |
43 #"//third_party/libexif", TODO(GYP) | 43 "//third_party/libexif" |
Slava Chigrin
2015/01/18 20:58:27
I've added it in https://codereview.chromium.org/8
| |
44 ] | 44 ] |
45 | 45 |
46 public_deps += [ "//chrome/common/extensions/api" ] | 46 public_deps += [ "//chrome/common/extensions/api" ] |
47 | 47 |
48 sources += | 48 sources += |
49 rebase_path(gypi_values.chrome_utility_extensions_sources, ".", "..") | 49 rebase_path(gypi_values.chrome_utility_extensions_sources, ".", "..") |
50 sources += | 50 sources += |
51 rebase_path(gypi_values.chrome_utility_shared_media_sources, ".", "..") | 51 rebase_path(gypi_values.chrome_utility_shared_media_sources, ".", "..") |
52 | 52 |
53 if (is_win || is_mac) { | 53 if (is_win || is_mac) { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
96 sources -= [ | 96 sources -= [ |
97 "local_discovery/service_discovery_message_handler.cc", | 97 "local_discovery/service_discovery_message_handler.cc", |
98 "local_discovery/service_discovery_message_handler.h", | 98 "local_discovery/service_discovery_message_handler.h", |
99 ] | 99 ] |
100 } | 100 } |
101 | 101 |
102 if (safe_browsing_mode == 1) { | 102 if (safe_browsing_mode == 1) { |
103 defines += [ "FULL_SAFE_BROWSING" ] | 103 defines += [ "FULL_SAFE_BROWSING" ] |
104 } | 104 } |
105 } | 105 } |
OLD | NEW |