| 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 # GYP version: extensions/extensions.gyp:extensions_browser | 8 # GYP version: extensions/extensions.gyp:extensions_browser |
| 9 source_set("browser") { | 9 source_set("browser") { |
| 10 sources = [ | 10 sources = [ |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 "//third_party/leveldatabase", | 25 "//third_party/leveldatabase", |
| 26 ] | 26 ] |
| 27 | 27 |
| 28 if (enable_extensions) { | 28 if (enable_extensions) { |
| 29 # Includes all API implementations and the ExtensionsApiClient | 29 # Includes all API implementations and the ExtensionsApiClient |
| 30 # interface. Moving an API from src/chrome to src/extensions implies | 30 # interface. Moving an API from src/chrome to src/extensions implies |
| 31 # it can be cleanly disabled with enable_extensions=false. | 31 # it can be cleanly disabled with enable_extensions=false. |
| 32 # TODO: Eventually the entire extensions module should not be built | 32 # TODO: Eventually the entire extensions module should not be built |
| 33 # when enable_extensions=false. | 33 # when enable_extensions=false. |
| 34 sources += [ | 34 sources += [ |
| 35 "admin_policy.cc", | |
| 36 "admin_policy.h", | |
| 37 "api/api_resource.cc", | 35 "api/api_resource.cc", |
| 38 "api/api_resource.h", | 36 "api/api_resource.h", |
| 39 "api/api_resource_manager.h", | 37 "api/api_resource_manager.h", |
| 40 "api/app_runtime/app_runtime_api.cc", | 38 "api/app_runtime/app_runtime_api.cc", |
| 41 "api/app_runtime/app_runtime_api.h", | 39 "api/app_runtime/app_runtime_api.h", |
| 42 "api/app_view/app_view_internal_api.cc", | 40 "api/app_view/app_view_internal_api.cc", |
| 43 "api/app_view/app_view_internal_api.h", | 41 "api/app_view/app_view_internal_api.h", |
| 44 "api/app_window/app_window_api.cc", | 42 "api/app_window/app_window_api.cc", |
| 45 "api/app_window/app_window_api.h", | 43 "api/app_window/app_window_api.h", |
| 46 "api/guest_view/guest_view_internal_api.cc", | 44 "api/guest_view/guest_view_internal_api.cc", |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 ] | 367 ] |
| 370 } | 368 } |
| 371 } | 369 } |
| 372 | 370 |
| 373 if (is_win) { | 371 if (is_win) { |
| 374 cflags = [ | 372 cflags = [ |
| 375 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 373 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 376 ] | 374 ] |
| 377 } | 375 } |
| 378 } | 376 } |
| OLD | NEW |